Skip to content

Commit 42ddfd8

Browse files
committed
Minor bug fix
1 parent 2d4391d commit 42ddfd8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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.12.20"
22+
VERSION = "1.1.12.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
@@ -46,7 +46,7 @@ f872699e948d0692ce11b54781da814c lib/core/log.py
4646
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
4848
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49-
e073bdbcda9622faa1179eb62d9c420e lib/core/settings.py
49+
8876dee2d5d1f9efbb520c78849b9a3a lib/core/settings.py
5050
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252
d93501771b41315f9fb949305b6ed257 lib/core/target.py
@@ -431,7 +431,7 @@ de671bbe9acee86d5e3a66fd4126b4e3 waf/safedog.py
431431
b03fdbf8f427ab614303a03416970927 waf/secureiis.py
432432
877ea097e56abf01868945a00c2afdea waf/senginx.py
433433
90f3c0c895d5d564b6614e25549b6355 waf/sitelock.py
434-
664f73359b87bfb684fb49df1e0b1fa4 waf/sonicwall.py
434+
5a126dfde1b1c6c75b1c19a673a185a2 waf/sonicwall.py
435435
b384581ce833d147690c7c77c9509bdc waf/sophos.py
436436
e9127a67621440fba41e1cd176890851 waf/stingray.py
437437
b9ede1695617c883e4230e6018753ba4 waf/sucuri.py

waf/sonicwall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def detect(get_page):
1818
for vector in WAF_ATTACK_VECTORS:
1919
page, headers, _ = get_page(get=vector)
2020
retval = "This request is blocked by the SonicWALL" in (page or "")
21-
retval |= all(_ in page or "" for _ in ("#shd", "#nsa_banner"))
21+
retval |= all(_ in (page or "") for _ in ("#shd", "#nsa_banner"))
2222
retval |= re.search(r"Web Site Blocked.+\bnsa_banner", page or "", re.I) is not None
2323
retval |= re.search(r"SonicWALL", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
2424
if retval:

0 commit comments

Comments
 (0)