removing --text-only from that "dynamicity" warning selection (other two are more preferable) and minor cosmetics/consistency

This commit is contained in:
Miroslav Stampar 2011-01-16 19:29:06 +00:00
parent a6516798c0
commit f5e36876e7

View File

@ -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)