mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Fix for DNS exfiltration of boolean checks
This commit is contained in:
parent
ac43051df2
commit
75279ea75a
|
@ -71,7 +71,7 @@ def _goInference(payload, expression, charsetType=None, firstChar=None, lastChar
|
|||
|
||||
value = _goDns(payload, expression)
|
||||
|
||||
if value:
|
||||
if value is not None:
|
||||
return value
|
||||
|
||||
timeBasedCompare = (kb.technique in (PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED))
|
||||
|
@ -291,6 +291,12 @@ def _goBooleanProxy(expression):
|
|||
query = agent.prefixQuery(vector)
|
||||
query = agent.suffixQuery(query)
|
||||
payload = agent.payload(newValue=query)
|
||||
|
||||
output = _goDns(payload, expression)
|
||||
|
||||
if output is not None:
|
||||
return output
|
||||
|
||||
timeBasedCompare = kb.technique in (PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED)
|
||||
|
||||
output = hashDBRetrieve(expression, checkConf=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user