mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor bug fix
This commit is contained in:
parent
b03f91437b
commit
e59ace5409
|
@ -62,7 +62,9 @@ def direct(query, content=True):
|
|||
output = timeout(func=conf.dbmsConnector.select, args=(query,), duration=conf.timeout, default=None)
|
||||
threadData.lastQueryDuration = calculateDeltaSeconds(start)
|
||||
|
||||
if output is None or len(output) == 0:
|
||||
if isinstance(output, bool):
|
||||
return output
|
||||
elif output is None or len(output) == 0:
|
||||
return None
|
||||
elif content:
|
||||
if conf.hostname not in kb.resumedQueries or ( conf.hostname in kb.resumedQueries and query not in kb.resumedQueries[conf.hostname] ):
|
||||
|
|
Loading…
Reference in New Issue
Block a user