mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Patches #3887
This commit is contained in:
parent
81289fa7cd
commit
50b8de00bb
2 changed files with 3 additions and 2 deletions
|
|
@ -51,6 +51,7 @@ from lib.core.settings import REPLACEMENT_MARKER
|
|||
from lib.core.settings import SINGLE_QUOTE_MARKER
|
||||
from lib.core.settings import SLEEP_TIME_MARKER
|
||||
from lib.core.unescaper import unescaper
|
||||
from thirdparty import six
|
||||
|
||||
class Agent(object):
|
||||
"""
|
||||
|
|
@ -308,7 +309,7 @@ class Agent(object):
|
|||
return re.sub(r";\W*;", ";", expression) if trimEmpty else expression
|
||||
|
||||
def cleanupPayload(self, payload, origValue=None):
|
||||
if payload is None:
|
||||
if not isinstance(payload, six.string_types):
|
||||
return
|
||||
|
||||
replacements = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue