Skip to content

Commit 7995576

Browse files
updated config
1 parent c5258e0 commit 7995576

File tree

1 file changed

+96
-16
lines changed

1 file changed

+96
-16
lines changed

Ingram/config.py

Lines changed: 96 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,104 @@
66

77

88
_config = {
9-
'users': ['admin'],
10-
'passwords': ['admin', 'admin12345', 'asdf1234', 'abc12345', '12345admin', '12345abc'],
11-
'user_agent': net.get_user_agent(), # to save time, we only get user agent once.
12-
'ports': [80, 81, 82, 83, 84, 85, 88, 8000, 8001, 8080, 8081, 8085, 8086, 8088, 8090, 8181, 2051, 9000, 37777, 49152, 55555],
13-
9+
"users": [
10+
"admin",
11+
"",
12+
"Admin",
13+
"manager",
14+
"hikvision",
15+
"user",
16+
"urgenon",
17+
"system",
18+
"Admin",
19+
"Morok",
20+
"User",
21+
"config",
22+
"TheJoker",
23+
"@MrRobotCorp3",
24+
"service",
25+
"router",
26+
"log",
27+
],
28+
"passwords": [
29+
"admin",
30+
"admin12345",
31+
"asdf1234",
32+
"abc12345",
33+
"12345admin",
34+
"12345abc",
35+
"",
36+
"manager",
37+
"abcd1234",
38+
"admin123",
39+
"hd543211",
40+
"admin12345",
41+
"Admin123",
42+
"hik12345",
43+
"Admin@123",
44+
"hd5432123",
45+
"Admin12345",
46+
"admin1234",
47+
"Hik12345",
48+
"user12345",
49+
"admin@123",
50+
"abc12345",
51+
"12345",
52+
"hd5432111",
53+
"12345abc",
54+
"a1234567",
55+
"Admin1234",
56+
"Thejoker307",
57+
"Carl1tos",
58+
"hvi12345",
59+
"Password1",
60+
"@MrRobotCorp3",
61+
],
62+
"user_agent": net.get_user_agent(), # to save time, we only get user agent once.
63+
"ports": [
64+
80,
65+
81,
66+
82,
67+
83,
68+
84,
69+
85,
70+
88,
71+
8000,
72+
8001,
73+
8002,
74+
8003,
75+
8005,
76+
8008,
77+
8009,
78+
8080,
79+
8081,
80+
8085,
81+
8086,
82+
8088,
83+
8090,
84+
8100,
85+
8181,
86+
8300,
87+
8500,
88+
8686,
89+
8888,
90+
2051,
91+
9000,
92+
37777,
93+
49152,
94+
55555,
95+
],
1496
# rules
15-
'product': {},
16-
'rules': set(),
17-
97+
"product": {},
98+
"rules": set(),
1899
# file & dir
19-
'log': 'log.txt',
20-
'not_vulnerable': 'not_vulnerable.csv',
21-
'vulnerable': 'results.csv',
22-
'snapshots': 'snapshots',
23-
100+
"log": "log.txt",
101+
"not_vulnerable": "not_vulnerable.csv",
102+
"vulnerable": "results.csv",
103+
"snapshots": "snapshots",
24104
# wechat
25-
'wxuid': '',
26-
'wxtoken': '',
105+
"wxuid": "",
106+
"wxtoken": "",
27107
}
28108

29109

@@ -44,4 +124,4 @@ def get_config(args=None):
44124
_config[arg] = args[arg]
45125

46126
Config = namedtuple('config', _config.keys())
47-
return Config(**_config)
127+
return Config(**_config)

0 commit comments

Comments
 (0)