Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e51d3a0

Browse files
committed
Update for Issue #43 (renamed --disable-cracking to --disable-hash)
1 parent 18b596e commit e51d3a0

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
"checkPayload": "boolean",
186186
"cleanup": "boolean",
187187
"dependencies": "boolean",
188-
"disableCracking": "boolean",
188+
"disableHash": "boolean",
189189
"disableLike": "boolean",
190190
"googlePage": "integer",
191191
"mobile": "boolean",

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def cmdLineParser():
590590
action="store_true",
591591
help="Check for missing sqlmap dependencies")
592592

593-
miscellaneous.add_option("--disable-cracking", dest="disableCracking",
593+
miscellaneous.add_option("--disable-hash", dest="disableHash",
594594
action="store_true",
595595
help="Disable password hash cracking mechanism")
596596

plugins/generic/enumeration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,8 +1741,9 @@ def dumpTable(self, foundData=None):
17411741
kb.data.dumpedTable["__infos__"] = {"count": entriesCount,
17421742
"table": safeSQLIdentificatorNaming(tbl, True),
17431743
"db": safeSQLIdentificatorNaming(conf.db)}
1744+
if not conf.disableHash:
1745+
attackDumpedTable()
17441746

1745-
attackDumpedTable()
17461747
conf.dumper.dbTableValues(kb.data.dumpedTable)
17471748

17481749
except sqlmapConnectionException, e:

sqlmap.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ dependencies = False
634634

635635
# Disable password hash cracking mechanism.
636636
# Valid: True or False
637-
disableCracking = False
637+
disableHash = False
638638

639639
# Disable LIKE search of identificator names.
640640
# Valid: True or False

0 commit comments

Comments
 (0)