mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
implementation of referer feature
This commit is contained in:
parent
a6ab24e0b5
commit
535eb9f3eb
6 changed files with 31 additions and 7 deletions
|
|
@ -108,7 +108,7 @@ class Agent:
|
|||
retValue = ET.tostring(root)
|
||||
elif place == PLACE.URI:
|
||||
retValue = paramString.replace("%s%s" % (origValue, URI_INJECTION_MARK_CHAR), self.addPayloadDelimiters(newValue))
|
||||
elif place == PLACE.UA:
|
||||
elif place in (PLACE.UA, PLACE.REFERER):
|
||||
retValue = paramString.replace(origValue, self.addPayloadDelimiters(newValue))
|
||||
else:
|
||||
retValue = paramString.replace("%s=%s" % (parameter, origValue),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue