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

Skip to content

Commit dfe4261

Browse files
committed
Fixes #2549
1 parent a0202f7 commit dfe4261

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
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.1.5.15"
22+
VERSION = "1.1.5.16"
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)

plugins/generic/users.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ def getPrivileges(self, query2=False):
424424

425425
# In Firebird we get one letter for each privilege
426426
elif Backend.isDbms(DBMS.FIREBIRD):
427-
privileges.add(FIREBIRD_PRIVS[privilege.strip()])
427+
if privilege.strip() in FIREBIRD_PRIVS:
428+
privileges.add(FIREBIRD_PRIVS[privilege.strip()])
428429

429430
# In DB2 we get Y or G if the privilege is
430431
# True, N otherwise

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ d85f2f63ffcb6135400339f9a7595a7b lib/core/option.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
61702ed8a1974c3fa575efde25a21c97 lib/core/settings.py
49+
8c82b503090da324c876065bc1b7338c lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
8136241fdbdb99a5dc0e51ba72918f6e lib/core/target.py
@@ -212,7 +212,7 @@ be7481a96214220bcd8f51ca00239bed plugins/generic/connector.py
212212
070f58c52e2a04e7a9896b42b2d17dc2 plugins/generic/search.py
213213
562cfa80a15d5f7f1d52e10c5736d7e2 plugins/generic/syntax.py
214214
fca9946e960942cc9b22ef26e12b8b3a plugins/generic/takeover.py
215-
156ea264f3f1c7fc18faa251cc1f1a4b plugins/generic/users.py
215+
bc0b47ced3db9f6746966d8dfc423b56 plugins/generic/users.py
216216
310efc965c862cfbd7b0da5150a5ad36 plugins/__init__.py
217217
b04db3e861edde1f9dd0a3850d5b96c8 shell/backdoor.asp_
218218
158bfa168128393dde8d6ed11fe9a1b8 shell/backdoor.aspx_

0 commit comments

Comments
 (0)