File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from 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 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ a44d7a4cc6c9a67a72d6af2f25f4ddac lib/core/exception.py
4646d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
484840c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49- a68c970393d16970207aa9799f9772e0 lib/core/settings.py
49+ 234e894c58cebccf21c2217fccf8fd76 lib/core/settings.py
5050d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
51512ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252effc153067a00bd43461bfc1cdec1122 lib/core/target.py
@@ -403,7 +403,7 @@ ab6f6e3169cb43efcf5b6ed84b58252f waf/comodo.py
403403e4b058d759198216d24f8fed6ef97be4 waf/edgecast.py
404404f633953970fb181b9ac5420a47e6a610 waf/expressionengine.py
4054051df78b6ad49259514cb6e4d68371cbcf waf/fortiweb.py
406- a63bc52b39a7fac38a8a3adee1545851 waf/generic.py
406+ f183f0bd0923917f070984caf987d5d7 waf/generic.py
407407d50e17ed49e1a3cb846e652ed98e3b3c waf/hyperguard.py
4084085b5382ccfb82ee6afdc1b47c8a4bce70 waf/incapsula.py
409409310efc965c862cfbd7b0da5150a5ad36 waf/__init__.py
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments