From f5e36876e72042fd6bcab49a668bdb070da11c08 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 16 Jan 2011 19:29:06 +0000 Subject: [PATCH] removing --text-only from that "dynamicity" warning selection (other two are more preferable) and minor cosmetics/consistency --- lib/controller/checks.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 5dac2f19b..4ab8b6ba6 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -664,7 +664,7 @@ def checkStability(): warnMsg += "expression to match on" 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: test = readInput(message, default="C") else: @@ -709,16 +709,6 @@ def checkStability(): errMsg = "Empty value supplied" 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: checkDynamicContent(firstPage, secondPage)