Skip to content

Commit 2e5edce

Browse files
committed
Fixes #3399
1 parent a02662f commit 2e5edce

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/controller/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def start():
505505
infoMsg = "skipping %s parameter '%s'" % (paramType, parameter)
506506
logger.info(infoMsg)
507507

508-
elif re.search(conf.csrfToken, parameter, re.I):
508+
elif conf.csrfToken and re.search(conf.csrfToken, parameter, re.I):
509509
testSqlInj = False
510510

511511
infoMsg = "skipping anti-CSRF token parameter '%s'" % parameter

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.12.12"
22+
VERSION = "1.2.12.13"
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
@@ -24,7 +24,7 @@ b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py
2424
c1bccc94522d3425a372dcd57f78418e extra/wafdetectify/wafdetectify.py
2525
3459c562a6abb9b4bdcc36925f751f3e lib/controller/action.py
2626
0f0feede9750be810d2b8a7ab159b7b0 lib/controller/checks.py
27-
93f7eabf92f3da3d96cbd8266e30414d lib/controller/controller.py
27+
ad968ee04e93f6f850d6b7e5ac0073c5 lib/controller/controller.py
2828
988b548f6578adf9cec17afdeee8291c lib/controller/handler.py
2929
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
3030
e62309b22a59e60b270e62586f169441 lib/core/agent.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-
24f1c46a4530bde2d66a20ae59f745cd lib/core/settings.py
52+
e2d4507e4cb26ae64f94d17772f67d8d lib/core/settings.py
5353
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
d6da5998fea61068a80d9c671db1095f lib/core/target.py

0 commit comments

Comments
 (0)