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

Skip to content

Commit c89f119

Browse files
committed
Minor update
1 parent 25369ca commit c89f119

3 files changed

Lines changed: 4 additions & 3 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.2.6.5"
22+
VERSION = "1.2.6.6"
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
@@ -47,7 +47,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
4747
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4848
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4949
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
50-
ea76ddec1c3e65b63c217aaaf6e15e3c lib/core/settings.py
50+
def1ed8934e08b37d5e6455554cb2be8 lib/core/settings.py
5151
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5252
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5353
6306284edcccc185b2df085438572b0d lib/core/target.py
@@ -444,7 +444,7 @@ dffa9cebad777308714aaf83b71635b4 waf/teros.py
444444
b37210459a13de40bf07722c4d032c33 waf/trafficshield.py
445445
fe01932df9acea7f6d23f03c6b698646 waf/urlscan.py
446446
a687449cd4e45f69e33b13d41e021480 waf/uspses.py
447-
814fcc4ab087fb181ddad5fc12bd3d53 waf/varnish.py
447+
f3a81da13ee098e94edd965ea4b37b04 waf/varnish.py
448448
20840afc269920826deac2b6c00d6b9c waf/wallarm.py
449449
11205abf397ae9072adc3234b656ade9 waf/watchguard.py
450450
9bf34539f382987490d2239d8ef0a651 waf/webappsecure.py

waf/varnish.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def detect(get_page):
2121
retval |= re.search(r"varnish\Z", headers.get(HTTP_HEADER.VIA, ""), re.I) is not None
2222
retval |= re.search(r"varnish", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
2323
retval |= code == 404 and re.search(r"\bXID: \d+", page or "") is not None
24+
retval |= code >= 400 and "Request rejected by xVarnish-WAF" in (page or "")
2425
if retval:
2526
break
2627

0 commit comments

Comments
 (0)