mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Merge branch 'master' of github.com:sqlmapproject/sqlmap
This commit is contained in:
commit
92c2b3bd4c
13 changed files with 65 additions and 26 deletions
|
|
@ -118,7 +118,7 @@ class Agent:
|
|||
retVal = ET.tostring(root)
|
||||
elif place in (PLACE.URI, PLACE.CUSTOM_POST):
|
||||
retVal = paramString.replace("%s%s" % (origValue, CUSTOM_INJECTION_MARK_CHAR), self.addPayloadDelimiters(newValue))
|
||||
elif place in (PLACE.UA, PLACE.REFERER, PLACE.HOST):
|
||||
elif place in (PLACE.USER_AGENT, PLACE.REFERER, PLACE.HOST):
|
||||
retVal = paramString.replace(origValue, self.addPayloadDelimiters(newValue))
|
||||
else:
|
||||
retVal = paramString.replace("%s=%s" % (parameter, origValue),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue