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.32 "
20+ VERSION = "1.3.4.33 "
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__ = "Astra (Czar Securities)"
11+
12+ def detect (get_page ):
13+ retval = False
14+
15+ for vector in WAF_ATTACK_VECTORS :
16+ page , headers , code = get_page (get = vector )
17+ retval |= all (_ in (page or "" ) for _ in ("unfortunately our website protection system" , "//www.getastra.com" ))
18+ if retval :
19+ break
20+
21+ return retval
You can’t perform that action at this time.
0 commit comments