Minor cosmetics and adjustments

This commit is contained in:
Bernardo Damele 2010-11-07 15:34:52 +00:00
parent afba26a53f
commit 9669dbdae1
4 changed files with 9 additions and 1 deletions

View File

@ -292,7 +292,9 @@ def checkStability():
checkDynamicContent(firstPage, secondPage)
if not Request.queryPage():
errMsg = "target url is too dynamic. unable to continue. consider using other switches (e.g. --longest-common, --string, --text-only, etc.)"
errMsg = "target url is too dynamic. unable to continue. "
errMsg += "consider using other switches (e.g. "
errMsg += "--longest-common, --string, --text-only, etc.)"
logger.error(errMsg)
raise sqlmapSilentQuitException

View File

@ -296,6 +296,7 @@ def start():
if kb.paramMatchRatio:
conf.matchRatio = kb.paramMatchRatio[(kb.injPlace, kb.injParameter)]
setMatchRatio()
checkForParenthesis()
action()

View File

@ -65,6 +65,7 @@ optDict = {
"eRegexp": "string",
"thold": "float",
"textOnly": "boolean",
"longestCommon": "boolean",
"tamper": "string"
},

View File

@ -217,6 +217,10 @@ thold =
# Valid: True or False
textOnly = False
# Compare pages based on their longest common match
# Valid: True or False
longestCommon = False
# Use given script(s) for tampering injection data
tamper =