-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathconfig.py
43 lines (39 loc) · 1.51 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import time
class define:
GREEN = "\033[32m"
RED = "\033[0;31m"
BLUE = "\033[94m"
ORANGE = "\033[33m"
host = "https://127.0.0.1:3443/" #端口后面一定要加/
api_key = "" #替换此处apikey
api_header = {'X-Auth':api_key,'content-type':'application/json'}
filename = 'out/%s.xlsx' % time.strftime("%Y-%m-%d-%H-%M", time.localtime(time.time()))
awvs_scan_rule = {
"full": "11111111-1111-1111-1111-111111111111",
"highrisk": "11111111-1111-1111-1111-111111111112",
"XSS": "11111111-1111-1111-1111-111111111116",
"SQL": "11111111-1111-1111-1111-111111111113",
"Weakpass": "11111111-1111-1111-1111-111111111115",
"crawlonly": "11111111-1111-1111-1111-111111111117"
}
banner = '''
__..--.._
..... .--~ ..... `.
.": "`-.. . .' ..-'" :". `
` `._ ` _.'`"( `-"'`._ ' _.' '
~~~ `. ~~~
.'
/
(
^---'
[*] Author:dacAIniao@重明安全
[*] Web:chmsec.com
'''
usage = '''
Usage:
python3 Acunitix12-Scan-Agent.py [options]
Options:
-f filename Read the file and add the target to the awvs
-o Output all the vulnerability information to XLSX
-d Delete all targets
'''