File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717from lib .core .enums import OS
1818
1919# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20- VERSION = "1.3.4.5 "
20+ VERSION = "1.3.4.6 "
2121TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2222TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2323VERSION_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 python2
2+
3+ """
4+ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
5+ See the file 'LICENSE' for copying permission
6+ """
7+
8+ from lib .core .settings import WAF_ATTACK_VECTORS
9+
10+ __product__ = "SafeLine (Chaitin Tech)"
11+
12+ def detect (get_page ):
13+ retval = False
14+
15+ for vector in WAF_ATTACK_VECTORS :
16+ page , _ , _ = get_page (get = vector )
17+ retval = all (_ in (page or "" ) for _ in ("SafeLine" , "<!-- event_id:" ))
18+
19+ return retval
You can’t perform that action at this time.
0 commit comments