Skip to content

Commit b288bfd

Browse files
committed
Minor update
1 parent 1e50854 commit b288bfd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.12.24"
22+
VERSION = "1.2.12.25"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
@@ -585,7 +585,7 @@
585585
UNENCODED_ORIGINAL_VALUE = "original"
586586

587587
# Common column names containing usernames (used for hash cracking in some cases)
588-
COMMON_USER_COLUMNS = ("login", "user", "username", "user_name", "user_login", "benutzername", "benutzer", "utilisateur", "usager", "consommateur", "utente", "utilizzatore", "usufrutuario", "korisnik", "usuario", "consumidor", "client", "cuser")
588+
COMMON_USER_COLUMNS = ("login", "user", "username", "user_name", "user_login", "benutzername", "benutzer", "utilisateur", "usager", "consommateur", "utente", "utilizzatore", "utilizator", "utilizador", "usufrutuario", "korisnik", "uporabnik", "usuario", "consumidor", "client", "cuser")
589589

590590
# Default delimiter in GET/POST values
591591
DEFAULT_GET_POST_DELIMITER = '&'

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def attackDumpedTable():
623623
col_passwords = set()
624624
attack_dict = {}
625625

626-
for column in columns:
626+
for column in sorted(columns, key=lambda _: len(_), reverse=True):
627627
if column and column.lower() in COMMON_USER_COLUMNS:
628628
col_user = column
629629
break

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
b82a5d34d68888945c51c84810d4d4b3 lib/core/settings.py
52+
3805f9f360e47798a3e6d4da977c83eb lib/core/settings.py
5353
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
1581be48127a3a7a9fd703359b6e7567 lib/core/target.py
@@ -108,7 +108,7 @@ f9867bbfcd6d31916ca73e72e95fd881 lib/utils/deps.py
108108
f7af65aa47329d021e2b2cc8521b42a4 lib/utils/getch.py
109109
7af29f61302c8693cd6436d4b69e22d3 lib/utils/har.py
110110
1205648d55649accafae2cc77d647aa0 lib/utils/hashdb.py
111-
d0f4d56c5d6a09a4635035e233d4a782 lib/utils/hash.py
111+
4b50c02e803c874c1d03873fd29d63ee lib/utils/hash.py
112112
011d2dbf589e0faa0deca61a651239cc lib/utils/htmlentities.py
113113
1e5532ede194ac9c083891c2f02bca93 lib/utils/__init__.py
114114
527409077a094b63c88f3291138b1c81 lib/utils/pivotdumptable.py

0 commit comments

Comments
 (0)