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

Skip to content

Commit d1022f3

Browse files
committed
Fixes #3246
1 parent 3984b94 commit d1022f3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ def whereQuery(self, query):
10891089
if conf.dumpWhere and query:
10901090
prefix, suffix = query.split(" ORDER BY ") if " ORDER BY " in query else (query, "")
10911091

1092-
if "%s)" % conf.tbl.upper() in prefix.upper():
1092+
if conf.tbl and "%s)" % conf.tbl.upper() in prefix.upper():
10931093
prefix = re.sub(r"(?i)%s\)" % re.escape(conf.tbl), "%s WHERE %s)" % (conf.tbl, conf.dumpWhere), prefix)
10941094
elif re.search(r"(?i)\bWHERE\b", prefix):
10951095
prefix += " AND %s" % conf.dumpWhere

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.2.10.10"
22+
VERSION = "1.2.10.11"
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)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ c1bccc94522d3425a372dcd57f78418e extra/wafdetectify/wafdetectify.py
2727
c414cecdb0472c92cf50ed5b01e4438c lib/controller/controller.py
2828
c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py
2929
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
30-
8eb0a5dbd79bd58fedac4c0cc344246b lib/core/agent.py
30+
effd6e6a07b13fd8b3803ed4b89b06e2 lib/core/agent.py
3131
c347f085bd561adfa26d3a9512e5f3b9 lib/core/bigarray.py
3232
11448f59efbfdceff2437239e36d9dc5 lib/core/common.py
3333
0d082da16c388b3445e656e0760fb582 lib/core/convert.py
@@ -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-
d6947d662df4d4bc9c33012a98a5fbc8 lib/core/settings.py
52+
0ad6a2aebce990c7d4a1dd717ad3908a lib/core/settings.py
5353
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
62bc180e3e828949ffb342a8f756c183 lib/core/target.py

0 commit comments

Comments
 (0)