Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd3c3f commit 8a9d09fCopy full SHA for 8a9d09f
1 file changed
lib/techniques/dns/use.py
@@ -48,7 +48,7 @@ def dnsUse(payload, expression):
48
49
if conf.dnsDomain and Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.ORACLE):
50
output = hashDBRetrieve(expression, checkConf=True)
51
- if PARTIAL_VALUE_MARKER in output:
+ if output and PARTIAL_VALUE_MARKER in output:
52
output = None
53
54
if output is None:
@@ -86,7 +86,8 @@ def dnsUse(payload, expression):
86
if output is not None:
87
retVal = output
88
dataToStdout("[%s] [INFO] %s: %s\r\n" % (time.strftime("%X"), "retrieved" if count > 0 else "resumed", safecharencode(output)))
89
- hashDBWrite(expression, output)
+ if count > 0:
90
+ hashDBWrite(expression, output)
91
92
if not kb.bruteMode:
93
debugMsg = "performed %d queries in %d seconds" % (count, calculateDeltaSeconds(start))
0 commit comments