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.3.1.11 "
22+ VERSION = "1.3.1.12 "
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 @@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
49499a7d68d5fa01561500423791f15cc676 lib/core/replication.py
50503179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5151d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
52- de869bb9eb40f7f621d766c6560d0c13 lib/core/settings.py
52+ 9c1d73674867a376be098517216c6c05 lib/core/settings.py
5353a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py
54545dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py
5555eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py
@@ -402,11 +402,10 @@ ca3ab78d6ed53b7f2c07ed2530d47efd udf/postgresql/windows/32/8.4/lib_postgresqlud
40240294eec6c5d02357596292d36a8533f08f waf/anquanbao.py
4034037ab1a7cd51a02899592f4f755d36a02e waf/approach.py
404404425f2599f57ab81b4fff67e6b442cccc waf/armor.py
405- fac23fc2e564edaf90a4346f3ee525b0 waf/asm.py
405+ f0aa6abf1f9af78374e58a64cb33c9de waf/asm.py
4064069dbec5d674ed4c762ffc9bc3ab402739 waf/aws.py
40740729b14801171574a3d92a30542a32be54 waf/baidu.py
4084084fd9a8e3aac364fe5509b23e7eb5a448 waf/barracuda.py
409- 2bb132ecea25e947e7e82e32e7dd6b3a waf/bigip.py
410409742f8c9b7f3a858e11dfd2ce3df65c6e waf/binarysec.py
411410ef8c5db49ad9973b59d6b9b65b001714 waf/blockdos.py
4124112608fbe2c80fae99bb09db1f93d80cdd waf/bluedon.py
Original file line number Diff line number Diff line change 55See the file 'LICENSE' for copying permission
66"""
77
8+ import re
9+
810from lib .core .settings import WAF_ATTACK_VECTORS
911
1012__product__ = "Application Security Manager (F5 Networks)"
@@ -13,9 +15,10 @@ def detect(get_page):
1315 retval = False
1416
1517 for vector in WAF_ATTACK_VECTORS :
16- page , _ , _ = get_page (get = vector )
18+ page , headers , code = get_page (get = vector )
1719 retval = "The requested URL was rejected. Please consult with your administrator." in (page or "" )
1820 retval |= all (_ in (page or "" ) for _ in ("This page can't be displayed. Contact support for additional information" , "The incident ID is:" ))
21+ retval |= (code >= 400 ) and "ID" in (page or "" ) and re .search (r"\b\d{19}\b" , page or "" ) is not None
1922 if retval :
2023 break
2124
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments