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

Skip to content

Commit 9789d65

Browse files
committed
Fixes #3487
1 parent dfe6fe6 commit 9789d65

3 files changed

Lines changed: 4 additions & 3 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.3.2.20"
22+
VERSION = "1.3.2.21"
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/databases.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@ def _tableGetCount(self, db, table):
910910
else:
911911
query = "SELECT %s FROM %s.%s" % (queries[Backend.getIdentifiedDbms()].count.query % '*', safeSQLIdentificatorNaming(db), safeSQLIdentificatorNaming(table, True))
912912

913+
query = agent.whereQuery(query)
913914
count = inject.getValue(query, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
914915

915916
if isNumPosStrValue(count):

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ d5ef43fe3cdd6c2602d7db45651f9ceb lib/core/readlineng.py
5050
7d8a22c582ad201f65b73225e4456170 lib/core/replication.py
5151
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5252
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
53-
be40d085a10a86d6f324039d76d48afa lib/core/settings.py
53+
7ba3ce7dc1e4c29923c3b72f0a5b5ae2 lib/core/settings.py
5454
4483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
5555
10fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
5656
43772ea73e9e3d446f782af591cb4eda lib/core/target.py
@@ -215,7 +215,7 @@ ec3f406591fc9472f5750bd40993e72e plugins/dbms/sybase/syntax.py
215215
369476221b3059106410de05766227e0 plugins/dbms/sybase/takeover.py
216216
312020bc31ffb0bc6077f62e6fff6e73 plugins/generic/connector.py
217217
d749b7f7b4bcf1f646290dec739f1e6d plugins/generic/custom.py
218-
f5aff26ff1b0664a14e7c5fa17692b69 plugins/generic/databases.py
218+
b5e9bc087d2cc3defcc9e468785a0462 plugins/generic/databases.py
219219
4cf8eb3719c980c54a92f838a999d090 plugins/generic/entries.py
220220
f3624debb8ae6fbcfb5f1b7f1d0743d1 plugins/generic/enumeration.py
221221
cda119b7b0d1afeb60f912009cdb0cf5 plugins/generic/filesystem.py

0 commit comments

Comments
 (0)