mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-29 10:59:03 +00:00
Fix for Issue #43
This commit is contained in:
@@ -185,7 +185,8 @@ optDict = {
|
||||
"checkPayload": "boolean",
|
||||
"cleanup": "boolean",
|
||||
"dependencies": "boolean",
|
||||
"exact": "boolean",
|
||||
"disableCracking": "boolean",
|
||||
"disableLike": "boolean",
|
||||
"googlePage": "integer",
|
||||
"mobile": "boolean",
|
||||
"pageRank": "boolean",
|
||||
|
||||
@@ -590,9 +590,13 @@ def cmdLineParser():
|
||||
action="store_true",
|
||||
help="Check for missing sqlmap dependencies")
|
||||
|
||||
miscellaneous.add_option("--exact", dest="exact",
|
||||
miscellaneous.add_option("--disable-cracking", dest="disableCracking",
|
||||
action="store_true",
|
||||
help="Prefer usage of exactly provided identificator names")
|
||||
help="Disable password hash cracking mechanism")
|
||||
|
||||
miscellaneous.add_option("--disable-like", dest="disableLike",
|
||||
action="store_true",
|
||||
help="Disable LIKE search of identificator names")
|
||||
|
||||
miscellaneous.add_option("--gpage", dest="googlePage", type="int",
|
||||
help="Use Google dork results from specified page number")
|
||||
|
||||
@@ -55,7 +55,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
|
||||
|
||||
if retVal is None:
|
||||
check = "(?P<result>%s.*%s)" % (kb.chars.start, kb.chars.stop)
|
||||
trimcheck = "%s(?P<result>.*?)</" % (kb.chars.start)
|
||||
trimcheck = "%s(?P<result>.*?)<" % (kb.chars.start)
|
||||
|
||||
# Prepare expression with delimiters
|
||||
injExpression = unescaper.unescape(agent.concatQuery(expression, unpack))
|
||||
|
||||
Reference in New Issue
Block a user