File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.2.9.1 "
22+ VERSION = "1.2.9.2 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
429429# Display hash attack info every mod number of items
430430HASH_MOD_ITEM_DISPLAY = 11
431431
432+ # Display marker for (cracked) empty password
433+ HASH_EMPTY_PASSWORD_MARKER = "<empty>"
434+
432435# Maximum integer value
433436MAX_INT = sys .maxint
434437
Original file line number Diff line number Diff line change 7575from lib .core .settings import COMMON_USER_COLUMNS
7676from lib .core .settings import DEV_EMAIL_ADDRESS
7777from lib .core .settings import DUMMY_USER_PREFIX
78+ from lib .core .settings import HASH_EMPTY_PASSWORD_MARKER
7879from lib .core .settings import HASH_MOD_ITEM_DISPLAY
7980from lib .core .settings import HASH_RECOGNITION_QUIT_THRESHOLD
8081from lib .core .settings import IS_WIN
@@ -684,7 +685,7 @@ def attackDumpedTable():
684685 value = table [column ]['values' ][i ]
685686
686687 if value and value .lower () in lut :
687- table [column ]['values' ][i ] = "%s (%s)" % (getUnicode (table [column ]['values' ][i ]), getUnicode (lut [value .lower ()]))
688+ table [column ]['values' ][i ] = "%s (%s)" % (getUnicode (table [column ]['values' ][i ]), getUnicode (lut [value .lower ()] or HASH_EMPTY_PASSWORD_MARKER ))
688689 table [column ]['length' ] = max (table [column ]['length' ], len (table [column ]['values' ][i ]))
689690
690691def hashRecognition (value ):
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
50500c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5151a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5252fcb74fcc9577523524659ec49e2e964b lib/core/session.py
53- 153ad66f2a6789909f4a4702650397dc lib/core/settings.py
53+ 5e2fea9a1e0cc3d12578dbcf079dba67 lib/core/settings.py
5454dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5555a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5656815d1cf27f0f8738d81531e73149867d lib/core/target.py
@@ -109,7 +109,7 @@ f9867bbfcd6d31916ca73e72e95fd881 lib/utils/deps.py
109109f7af65aa47329d021e2b2cc8521b42a4 lib/utils/getch.py
1101107af29f61302c8693cd6436d4b69e22d3 lib/utils/har.py
111111062e4e8fc43ac54305a75ddd0d482f81 lib/utils/hashdb.py
112- 05dbc49838ca0454ce401ad616acf8c5 lib/utils/hash.py
112+ d0f4d56c5d6a09a4635035e233d4a782 lib/utils/hash.py
113113011d2dbf589e0faa0deca61a651239cc lib/utils/htmlentities.py
1141141e5532ede194ac9c083891c2f02bca93 lib/utils/__init__.py
115115010d8327239d33af4ce9f25683cfc012 lib/utils/pivotdumptable.py
You can’t perform that action at this time.
0 commit comments