mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Fixes #1279
This commit is contained in:
parent
b212321c07
commit
97244f5e5e
|
@ -217,6 +217,9 @@ class Agent(object):
|
||||||
if conf.direct:
|
if conf.direct:
|
||||||
return self.payloadDirect(expression)
|
return self.payloadDirect(expression)
|
||||||
|
|
||||||
|
if expression is None:
|
||||||
|
return None
|
||||||
|
|
||||||
expression = self.cleanupPayload(expression)
|
expression = self.cleanupPayload(expression)
|
||||||
expression = unescaper.escape(expression)
|
expression = unescaper.escape(expression)
|
||||||
query = None
|
query = None
|
||||||
|
@ -258,6 +261,9 @@ class Agent(object):
|
||||||
if conf.direct:
|
if conf.direct:
|
||||||
return self.payloadDirect(expression)
|
return self.payloadDirect(expression)
|
||||||
|
|
||||||
|
if expression is None:
|
||||||
|
return None
|
||||||
|
|
||||||
expression = self.cleanupPayload(expression)
|
expression = self.cleanupPayload(expression)
|
||||||
|
|
||||||
# Take default values if None
|
# Take default values if None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user