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

Skip to content

Commit 24c261d

Browse files
committed
Minor patch
1 parent 6a8ea05 commit 24c261d

3 files changed

Lines changed: 6 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.9.17"
22+
VERSION = "1.1.9.18"
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
@@ -46,7 +46,7 @@ a44d7a4cc6c9a67a72d6af2f25f4ddac lib/core/exception.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
a68c970393d16970207aa9799f9772e0 lib/core/settings.py
49+
234e894c58cebccf21c2217fccf8fd76 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
effc153067a00bd43461bfc1cdec1122 lib/core/target.py
@@ -403,7 +403,7 @@ ab6f6e3169cb43efcf5b6ed84b58252f waf/comodo.py
403403
e4b058d759198216d24f8fed6ef97be4 waf/edgecast.py
404404
f633953970fb181b9ac5420a47e6a610 waf/expressionengine.py
405405
1df78b6ad49259514cb6e4d68371cbcf waf/fortiweb.py
406-
a63bc52b39a7fac38a8a3adee1545851 waf/generic.py
406+
f183f0bd0923917f070984caf987d5d7 waf/generic.py
407407
d50e17ed49e1a3cb846e652ed98e3b3c waf/hyperguard.py
408408
5b5382ccfb82ee6afdc1b47c8a4bce70 waf/incapsula.py
409409
310efc965c862cfbd7b0da5150a5ad36 waf/__init__.py

waf/generic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def detect(get_page):
2222
page, _, code = get_page(get=vector)
2323

2424
if code >= 400 or IDS_WAF_CHECK_PAYLOAD in vector and code is None:
25-
kb.wafSpecificResponse = "HTTP/1.1 %s\n%s\n%s" % (code, "".join(_ for _ in headers.headers or [] if not _.startswith("URI")), page)
25+
if code is not None:
26+
kb.wafSpecificResponse = "HTTP/1.1 %s\n%s\n%s" % (code, "".join(_ for _ in headers.headers or [] if not _.startswith("URI")), page)
27+
2628
retval = True
2729
break
2830

0 commit comments

Comments
 (0)