mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Update for Issue #43 (renamed --disable-cracking to --disable-hash)
This commit is contained in:
parent
18b596ea75
commit
e51d3a02f1
|
@ -185,7 +185,7 @@ optDict = {
|
||||||
"checkPayload": "boolean",
|
"checkPayload": "boolean",
|
||||||
"cleanup": "boolean",
|
"cleanup": "boolean",
|
||||||
"dependencies": "boolean",
|
"dependencies": "boolean",
|
||||||
"disableCracking": "boolean",
|
"disableHash": "boolean",
|
||||||
"disableLike": "boolean",
|
"disableLike": "boolean",
|
||||||
"googlePage": "integer",
|
"googlePage": "integer",
|
||||||
"mobile": "boolean",
|
"mobile": "boolean",
|
||||||
|
|
|
@ -590,7 +590,7 @@ def cmdLineParser():
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Check for missing sqlmap dependencies")
|
help="Check for missing sqlmap dependencies")
|
||||||
|
|
||||||
miscellaneous.add_option("--disable-cracking", dest="disableCracking",
|
miscellaneous.add_option("--disable-hash", dest="disableHash",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Disable password hash cracking mechanism")
|
help="Disable password hash cracking mechanism")
|
||||||
|
|
||||||
|
|
|
@ -1741,8 +1741,9 @@ class Enumeration:
|
||||||
kb.data.dumpedTable["__infos__"] = {"count": entriesCount,
|
kb.data.dumpedTable["__infos__"] = {"count": entriesCount,
|
||||||
"table": safeSQLIdentificatorNaming(tbl, True),
|
"table": safeSQLIdentificatorNaming(tbl, True),
|
||||||
"db": safeSQLIdentificatorNaming(conf.db)}
|
"db": safeSQLIdentificatorNaming(conf.db)}
|
||||||
|
if not conf.disableHash:
|
||||||
|
attackDumpedTable()
|
||||||
|
|
||||||
attackDumpedTable()
|
|
||||||
conf.dumper.dbTableValues(kb.data.dumpedTable)
|
conf.dumper.dbTableValues(kb.data.dumpedTable)
|
||||||
|
|
||||||
except sqlmapConnectionException, e:
|
except sqlmapConnectionException, e:
|
||||||
|
|
|
@ -634,7 +634,7 @@ dependencies = False
|
||||||
|
|
||||||
# Disable password hash cracking mechanism.
|
# Disable password hash cracking mechanism.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
disableCracking = False
|
disableHash = False
|
||||||
|
|
||||||
# Disable LIKE search of identificator names.
|
# Disable LIKE search of identificator names.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user