mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor fixes
This commit is contained in:
parent
1cd3c3f7af
commit
8a9d09f79b
|
@ -48,7 +48,7 @@ def dnsUse(payload, expression):
|
||||||
|
|
||||||
if conf.dnsDomain and Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.ORACLE):
|
if conf.dnsDomain and Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.ORACLE):
|
||||||
output = hashDBRetrieve(expression, checkConf=True)
|
output = hashDBRetrieve(expression, checkConf=True)
|
||||||
if PARTIAL_VALUE_MARKER in output:
|
if output and PARTIAL_VALUE_MARKER in output:
|
||||||
output = None
|
output = None
|
||||||
|
|
||||||
if output is None:
|
if output is None:
|
||||||
|
@ -86,7 +86,8 @@ def dnsUse(payload, expression):
|
||||||
if output is not None:
|
if output is not None:
|
||||||
retVal = output
|
retVal = output
|
||||||
dataToStdout("[%s] [INFO] %s: %s\r\n" % (time.strftime("%X"), "retrieved" if count > 0 else "resumed", safecharencode(output)))
|
dataToStdout("[%s] [INFO] %s: %s\r\n" % (time.strftime("%X"), "retrieved" if count > 0 else "resumed", safecharencode(output)))
|
||||||
hashDBWrite(expression, output)
|
if count > 0:
|
||||||
|
hashDBWrite(expression, output)
|
||||||
|
|
||||||
if not kb.bruteMode:
|
if not kb.bruteMode:
|
||||||
debugMsg = "performed %d queries in %d seconds" % (count, calculateDeltaSeconds(start))
|
debugMsg = "performed %d queries in %d seconds" % (count, calculateDeltaSeconds(start))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user