mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
working on issue #12
This commit is contained in:
parent
57f2fccc24
commit
d492291744
36 changed files with 72 additions and 72 deletions
|
|
@ -14,7 +14,7 @@ __priority__ = PRIORITY.NORMAL
|
|||
def dependencies():
|
||||
pass
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Replaces quote character (') with a multi-byte combo %bf%27 together with
|
||||
generic comment at the end (to make it work)
|
||||
|
|
@ -48,4 +48,4 @@ def tamper(payload):
|
|||
retVal = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
|
||||
retVal += "-- "
|
||||
|
||||
return retVal
|
||||
return retVal, headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue