File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.5.122 "
21+ VERSION = "1.3.5.123 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 1+ #!/usr/bin/env python
2+
3+ """
4+ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
5+ See the file 'LICENSE' for copying permission
6+ """
7+
8+ import re
9+
10+ from lib .core .settings import WAF_ATTACK_VECTORS
11+
12+ __product__ = "Nexusguard (Nexusguard Limited)"
13+
14+ def detect (get_page ):
15+ retval = False
16+
17+ for vector in WAF_ATTACK_VECTORS :
18+ page , _ , _ = get_page (get = vector )
19+ retval |= "<p>Powered by Nexusguard</p>" in (page or "" )
20+ retval |= re .search (r"speresources\.nexusguard\.com/wafpage/[^>]*#\d{3};" , page or "" ) is not None
21+ if retval :
22+ break
23+
24+ return retval
You can’t perform that action at this time.
0 commit comments