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

Skip to content

Commit 441a40e

Browse files
committed
Couple of patches for #3479
1 parent 489390c commit 441a40e

3 files changed

Lines changed: 7 additions & 6 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.3.2.10"
22+
VERSION = "1.3.2.11"
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ d5ef43fe3cdd6c2602d7db45651f9ceb lib/core/readlineng.py
5050
7d8a22c582ad201f65b73225e4456170 lib/core/replication.py
5151
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5252
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
53-
0a6a0426799dcb447311887b30fc498c lib/core/settings.py
53+
cb31ee4773d12d0041a2fabb1bbc9291 lib/core/settings.py
5454
4483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
5555
10fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
5656
43772ea73e9e3d446f782af591cb4eda lib/core/target.py
@@ -473,6 +473,7 @@ ba0fb1e6b815446b9d6f30950900fc80 waf/trafficshield.py
473473
67df54343a85fe053226e2a5483b2c64 waf/wallarm.py
474474
114000c53115fa8f4dd9b1b9122ec32a waf/watchguard.py
475475
a7b8c4c3d1463409e0e204932f0ddff0 waf/webknight.py
476+
053c6b1ea20133bd9f563f1275ddb5a4 waf/webseal.py
476477
ac9e4e3ced77012ed97284634a9ffc74 waf/wordfence.py
477478
e69f77220558564785f0b3c961782a93 waf/yundun.py
478479
a560bee3e948b97af2c88805933dcaad waf/yunsuo.py
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
from lib.core.enums import HTTP_HEADER
1111
from lib.core.settings import WAF_ATTACK_VECTORS
1212

13-
__product__ = "IBM Security Access Manager for Web WebSEAL."
13+
__product__ = "WebSEAL (IBM)"
1414

1515
def detect(get_page):
1616
retval = False
1717

1818
for vector in WAF_ATTACK_VECTORS:
19-
_, headers, _ = get_page(get=vector)
20-
retval = re.search(r"WebSEAL/9.0.5.0", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
21-
retval |= "The Access Manager WebSEAL server received an invalid HTTP request." in (page or "") is not None
19+
page, headers, _ = get_page(get=vector)
20+
retval = re.search(r"WebSEAL", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
21+
retval |= any(_ in (page or "") for _ in ("This is a WebSEAL error message template file", "The Access Manager WebSEAL server received an invalid HTTP request"))
2222
if retval:
2323
break
2424

0 commit comments

Comments
 (0)