Update for Issue #43 (renamed --disable-cracking to --disable-hash)

This commit is contained in:
Miroslav Stampar 2012-06-28 18:53:47 +02:00
parent 18b596ea75
commit e51d3a02f1
4 changed files with 5 additions and 4 deletions

View File

@ -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",

View File

@ -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")

View File

@ -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:

View File

@ -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