mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor bugs fixes
This commit is contained in:
parent
5fdebb5d5b
commit
b19de015c5
5 changed files with 10 additions and 5 deletions
|
|
@ -1498,7 +1498,7 @@ class Enumeration:
|
|||
getOutput = readInput(message, default="Y")
|
||||
|
||||
if not getOutput or getOutput in ("y", "Y"):
|
||||
infoMsg = "fetching %s query output: '%s'" % (sqlType, query)
|
||||
infoMsg = "fetching %s query output: '%s'" % (sqlType if sqlType is not None else "SQL", query)
|
||||
logger.info(infoMsg)
|
||||
|
||||
output = inject.getValue(query, fromUser=True)
|
||||
|
|
@ -1510,11 +1510,11 @@ class Enumeration:
|
|||
if kb.stackedTest is None:
|
||||
stackedTest()
|
||||
|
||||
if not kb.stackedTest:
|
||||
if not kb.stackedTest and not conf.direct:
|
||||
return None
|
||||
else:
|
||||
if sqlType:
|
||||
infoMsg = "executing %s query: '%s'" % (sqlType, query)
|
||||
infoMsg = "executing %s query: '%s'" % (sqlType if sqlType is not None else "SQL", query)
|
||||
else:
|
||||
infoMsg = "executing unknown SQL type query: '%s'" % query
|
||||
logger.info(infoMsg)
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ class Filesystem:
|
|||
commands = (
|
||||
"cd %s" % tmpPath,
|
||||
"debug < %s" % randScr,
|
||||
"del /F %s" % randScr
|
||||
"del /F /Q %s" % randScr
|
||||
)
|
||||
|
||||
complComm = " & ".join(command for command in commands)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue