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

Skip to content

Commit 17be4d6

Browse files
committed
Minor update
1 parent d7ba715 commit 17be4d6

3 files changed

Lines changed: 6 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.1.38"
22+
VERSION = "1.3.1.39"
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
@@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
4949
9a7d68d5fa01561500423791f15cc676 lib/core/replication.py
5050
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5151
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
52-
28e6d63edd15884c6f33ecbda6f399c6 lib/core/settings.py
52+
8013b106ba03ae4fbaef343f20a0fa86 lib/core/settings.py
5353
a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py
5454
5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py
5555
eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py
@@ -447,6 +447,7 @@ ac60456fe7af4eb501d448910e98ee4b waf/radware.py
447447
8dae5619edafaaceccf1c4eb051c7d22 waf/rsfirewall.py
448448
d2d9718de217dd07d9e66b2e6ad61380 waf/safe3.py
449449
4382cb217354d816580ee07178d0a8c7 waf/safedog.py
450+
34440ee94fcff88b4158e86635176547 waf/secureentry.py
450451
ac0728ddb7a15b46b0eabd78cd661f8c waf/secureiis.py
451452
ba37e1c37fa0e3688873f74183a9cb9c waf/senginx.py
452453
2602a8baed4da643e606a379e4dc75db waf/shieldsecurity.py
@@ -459,7 +460,6 @@ a840fcd2bb042694f9aab2859e7c9b30 waf/sonicwall.py
459460
ef6f83952ce6b5a7bbb19f9b903af2b6 waf/teros.py
460461
ba0fb1e6b815446b9d6f30950900fc80 waf/trafficshield.py
461462
876c746d96193071271cb8b7e00e1422 waf/urlscan.py
462-
45f28286ffd89200d4c9b6d88a7a518f waf/uspses.py
463463
80314083009c87d32bf32d84e8bbb7be waf/varnish.py
464464
455bb16f552e7943e0a5cf35e83a74ea waf/virusdie.py
465465
67df54343a85fe053226e2a5483b2c64 waf/wallarm.py

waf/uspses.py renamed to waf/secureentry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
from lib.core.enums import HTTP_HEADER
1111
from lib.core.settings import WAF_ATTACK_VECTORS
1212

13-
__product__ = "USP Secure Entry Server (United Security Providers)"
13+
__product__ = "Secure Entry Server (United Security Providers)"
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"Secure Entry Server", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
19+
page, headers, code = get_page(get=vector)
20+
retval = code >= 400 and re.search(r"Secure Entry Server", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
2121
if retval:
2222
break
2323

0 commit comments

Comments
 (0)