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

Skip to content

Commit 0507234

Browse files
committed
Minor update
1 parent c3d9a1c commit 0507234

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

lib/controller/checks.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,10 @@ def checkWaf():
13591359
value = "" if not conf.parameters.get(PLACE.GET) else conf.parameters[PLACE.GET] + DEFAULT_GET_POST_DELIMITER
13601360
value += "%s=%s" % (randomStr(), agent.addPayloadDelimiters(payload))
13611361

1362+
pushValue(kb.redirectChoice)
13621363
pushValue(conf.timeout)
1364+
1365+
kb.redirectChoice = REDIRECTION.YES
13631366
conf.timeout = IDS_WAF_CHECK_TIMEOUT
13641367

13651368
try:
@@ -1368,7 +1371,9 @@ def checkWaf():
13681371
retVal = True
13691372
finally:
13701373
kb.matchRatio = None
1374+
13711375
conf.timeout = popValue()
1376+
kb.redirectChoice = popValue()
13721377

13731378
if retVal:
13741379
warnMsg = "heuristics detected that the target "

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.8.20"
22+
VERSION = "1.2.8.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)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ e4805169a081b834ca51a60a150c7247 extra/shutils/newlines.py
2222
1e5532ede194ac9c083891c2f02bca93 extra/sqlharvest/__init__.py
2323
b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py
2424
3459c562a6abb9b4bdcc36925f751f3e lib/controller/action.py
25-
bc3800ec099df253968b3a7fc1ffce44 lib/controller/checks.py
25+
7493c782345a60f6c00c9281d51a494e lib/controller/checks.py
2626
c414cecdb0472c92cf50ed5b01e4438c lib/controller/controller.py
2727
c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py
2828
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
@@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
7784e72dc2d0a290d2512f970dc7dc0f lib/core/settings.py
51+
8b9c8ae316a1cdf5809b163d7d451ca5 lib/core/settings.py
5252
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
815d1cf27f0f8738d81531e73149867d lib/core/target.py

0 commit comments

Comments
 (0)