mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
removing --text-only from that "dynamicity" warning selection (other two are more preferable) and minor cosmetics/consistency
This commit is contained in:
parent
a6516798c0
commit
f5e36876e7
|
@ -664,7 +664,7 @@ def checkStability():
|
||||||
warnMsg += "expression to match on"
|
warnMsg += "expression to match on"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
message = "how do you want to proceed? [C(ontinue)/s(tring)/r(egex)/t(ext only)q(uit)] "
|
message = "how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] "
|
||||||
if not conf.realTest:
|
if not conf.realTest:
|
||||||
test = readInput(message, default="C")
|
test = readInput(message, default="C")
|
||||||
else:
|
else:
|
||||||
|
@ -709,16 +709,6 @@ def checkStability():
|
||||||
errMsg = "Empty value supplied"
|
errMsg = "Empty value supplied"
|
||||||
raise sqlmapNoneDataException, errMsg
|
raise sqlmapNoneDataException, errMsg
|
||||||
|
|
||||||
elif test and test[0] in ("t", "T"):
|
|
||||||
conf.textOnly = True
|
|
||||||
|
|
||||||
if kb.nullConnection:
|
|
||||||
debugMsg = "turning off NULL connection "
|
|
||||||
debugMsg += "support because of regex checking"
|
|
||||||
logger.debug(debugMsg)
|
|
||||||
|
|
||||||
kb.nullConnection = None
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
checkDynamicContent(firstPage, secondPage)
|
checkDynamicContent(firstPage, secondPage)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user