mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Minor cosmetics and adjustments
This commit is contained in:
parent
afba26a53f
commit
9669dbdae1
|
@ -292,7 +292,9 @@ def checkStability():
|
||||||
checkDynamicContent(firstPage, secondPage)
|
checkDynamicContent(firstPage, secondPage)
|
||||||
|
|
||||||
if not Request.queryPage():
|
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)
|
logger.error(errMsg)
|
||||||
raise sqlmapSilentQuitException
|
raise sqlmapSilentQuitException
|
||||||
|
|
||||||
|
|
|
@ -296,6 +296,7 @@ def start():
|
||||||
if kb.paramMatchRatio:
|
if kb.paramMatchRatio:
|
||||||
conf.matchRatio = kb.paramMatchRatio[(kb.injPlace, kb.injParameter)]
|
conf.matchRatio = kb.paramMatchRatio[(kb.injPlace, kb.injParameter)]
|
||||||
setMatchRatio()
|
setMatchRatio()
|
||||||
|
|
||||||
checkForParenthesis()
|
checkForParenthesis()
|
||||||
action()
|
action()
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,7 @@ optDict = {
|
||||||
"eRegexp": "string",
|
"eRegexp": "string",
|
||||||
"thold": "float",
|
"thold": "float",
|
||||||
"textOnly": "boolean",
|
"textOnly": "boolean",
|
||||||
|
"longestCommon": "boolean",
|
||||||
"tamper": "string"
|
"tamper": "string"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -217,6 +217,10 @@ thold =
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
textOnly = 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
|
# Use given script(s) for tampering injection data
|
||||||
tamper =
|
tamper =
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user