Skip to content

Commit 8538a00

Browse files
authored
Add files via upload
1 parent e023d9b commit 8538a00

43 files changed

Lines changed: 600414 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

御剑/Error/error.txt

Lines changed: 387 additions & 0 deletions
Large diffs are not rendered by default.

御剑/IP generation.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import time
2+
start = time.time()
3+
4+
xj=open('ip.txt','w')
5+
xj.close()
6+
7+
print('[+]Emptying IP.txt')
8+
def sc():
9+
user=input('Please enter IP, similar to 127.0.0.:')
10+
for x in range(1,256):
11+
a = '{}{}'.format(user,x)
12+
print(a,file=open('ip.txt','a'))
13+
sc()
14+
stop=time.time()
15+
print('[+]time consuming {}'.format(start-stop))

御剑/ip.txt

Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
220.181.57.1
2+
220.181.57.2
3+
220.181.57.3
4+
220.181.57.4
5+
220.181.57.5
6+
220.181.57.6
7+
220.181.57.7
8+
220.181.57.8
9+
220.181.57.9
10+
220.181.57.10
11+
220.181.57.11
12+
220.181.57.12
13+
220.181.57.13
14+
220.181.57.14
15+
220.181.57.15
16+
220.181.57.16
17+
220.181.57.17
18+
220.181.57.18
19+
220.181.57.19
20+
220.181.57.20
21+
220.181.57.21
22+
220.181.57.22
23+
220.181.57.23
24+
220.181.57.24
25+
220.181.57.25
26+
220.181.57.26
27+
220.181.57.27
28+
220.181.57.28
29+
220.181.57.29
30+
220.181.57.30
31+
220.181.57.31
32+
220.181.57.32
33+
220.181.57.33
34+
220.181.57.34
35+
220.181.57.35
36+
220.181.57.36
37+
220.181.57.37
38+
220.181.57.38
39+
220.181.57.39
40+
220.181.57.40
41+
220.181.57.41
42+
220.181.57.42
43+
220.181.57.43
44+
220.181.57.44
45+
220.181.57.45
46+
220.181.57.46
47+
220.181.57.47
48+
220.181.57.48
49+
220.181.57.49
50+
220.181.57.50
51+
220.181.57.51
52+
220.181.57.52
53+
220.181.57.53
54+
220.181.57.54
55+
220.181.57.55
56+
220.181.57.56
57+
220.181.57.57
58+
220.181.57.58
59+
220.181.57.59
60+
220.181.57.60
61+
220.181.57.61
62+
220.181.57.62
63+
220.181.57.63
64+
220.181.57.64
65+
220.181.57.65
66+
220.181.57.66
67+
220.181.57.67
68+
220.181.57.68
69+
220.181.57.69
70+
220.181.57.70
71+
220.181.57.71
72+
220.181.57.72
73+
220.181.57.73
74+
220.181.57.74
75+
220.181.57.75
76+
220.181.57.76
77+
220.181.57.77
78+
220.181.57.78
79+
220.181.57.79
80+
220.181.57.80
81+
220.181.57.81
82+
220.181.57.82
83+
220.181.57.83
84+
220.181.57.84
85+
220.181.57.85
86+
220.181.57.86
87+
220.181.57.87
88+
220.181.57.88
89+
220.181.57.89
90+
220.181.57.90
91+
220.181.57.91
92+
220.181.57.92
93+
220.181.57.93
94+
220.181.57.94
95+
220.181.57.95
96+
220.181.57.96
97+
220.181.57.97
98+
220.181.57.98
99+
220.181.57.99
100+
220.181.57.100
101+
220.181.57.101
102+
220.181.57.102
103+
220.181.57.103
104+
220.181.57.104
105+
220.181.57.105
106+
220.181.57.106
107+
220.181.57.107
108+
220.181.57.108
109+
220.181.57.109
110+
220.181.57.110
111+
220.181.57.111
112+
220.181.57.112
113+
220.181.57.113
114+
220.181.57.114
115+
220.181.57.115
116+
220.181.57.116
117+
220.181.57.117
118+
220.181.57.118
119+
220.181.57.119
120+
220.181.57.120
121+
220.181.57.121
122+
220.181.57.122
123+
220.181.57.123
124+
220.181.57.124
125+
220.181.57.125
126+
220.181.57.126
127+
220.181.57.127
128+
220.181.57.128
129+
220.181.57.129
130+
220.181.57.130
131+
220.181.57.131
132+
220.181.57.132
133+
220.181.57.133
134+
220.181.57.134
135+
220.181.57.135
136+
220.181.57.136
137+
220.181.57.137
138+
220.181.57.138
139+
220.181.57.139
140+
220.181.57.140
141+
220.181.57.141
142+
220.181.57.142
143+
220.181.57.143
144+
220.181.57.144
145+
220.181.57.145
146+
220.181.57.146
147+
220.181.57.147
148+
220.181.57.148
149+
220.181.57.149
150+
220.181.57.150
151+
220.181.57.151
152+
220.181.57.152
153+
220.181.57.153
154+
220.181.57.154
155+
220.181.57.155
156+
220.181.57.156
157+
220.181.57.157
158+
220.181.57.158
159+
220.181.57.159
160+
220.181.57.160
161+
220.181.57.161
162+
220.181.57.162
163+
220.181.57.163
164+
220.181.57.164
165+
220.181.57.165
166+
220.181.57.166
167+
220.181.57.167
168+
220.181.57.168
169+
220.181.57.169
170+
220.181.57.170
171+
220.181.57.171
172+
220.181.57.172
173+
220.181.57.173
174+
220.181.57.174
175+
220.181.57.175
176+
220.181.57.176
177+
220.181.57.177
178+
220.181.57.178
179+
220.181.57.179
180+
220.181.57.180
181+
220.181.57.181
182+
220.181.57.182
183+
220.181.57.183
184+
220.181.57.184
185+
220.181.57.185
186+
220.181.57.186
187+
220.181.57.187
188+
220.181.57.188
189+
220.181.57.189
190+
220.181.57.190
191+
220.181.57.191
192+
220.181.57.192
193+
220.181.57.193
194+
220.181.57.194
195+
220.181.57.195
196+
220.181.57.196
197+
220.181.57.197
198+
220.181.57.198
199+
220.181.57.199
200+
220.181.57.200
201+
220.181.57.201
202+
220.181.57.202
203+
220.181.57.203
204+
220.181.57.204
205+
220.181.57.205
206+
220.181.57.206
207+
220.181.57.207
208+
220.181.57.208
209+
220.181.57.209
210+
220.181.57.210
211+
220.181.57.211
212+
220.181.57.212
213+
220.181.57.213
214+
220.181.57.214
215+
220.181.57.215
216+
220.181.57.216
217+
220.181.57.217
218+
220.181.57.218
219+
220.181.57.219
220+
220.181.57.220
221+
220.181.57.221
222+
220.181.57.222
223+
220.181.57.223
224+
220.181.57.224
225+
220.181.57.225
226+
220.181.57.226
227+
220.181.57.227
228+
220.181.57.228
229+
220.181.57.229
230+
220.181.57.230
231+
220.181.57.231
232+
220.181.57.232
233+
220.181.57.233
234+
220.181.57.234
235+
220.181.57.235
236+
220.181.57.236
237+
220.181.57.237
238+
220.181.57.238
239+
220.181.57.239
240+
220.181.57.240
241+
220.181.57.241
242+
220.181.57.242
243+
220.181.57.243
244+
220.181.57.244
245+
220.181.57.245
246+
220.181.57.246
247+
220.181.57.247
248+
220.181.57.248
249+
220.181.57.249
250+
220.181.57.250
251+
220.181.57.251
252+
220.181.57.252
253+
220.181.57.253
254+
220.181.57.254
255+
220.181.57.255

御剑/mitsurugi.exe

7.43 MB
Binary file not shown.

御剑/mitsurugi.py

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
import requests
2+
import random
3+
import os
4+
file=[]
5+
url=[]
6+
error=[]
7+
bc=[]
8+
ip=[]
9+
headers={}
10+
user=input('Import TXT:')
11+
banner='''
12+
____ _
13+
| _ \ ___ ___| |_ _ __ ___ _ _ ___ _ __
14+
| | | |/ _ \/ __| __| '__/ _ \| | | |/ _ \ '__|
15+
| |_| | __/\__ \ |_| | | (_) | |_| | __/ |
16+
|____/ \___||___/\__|_| \___/ \__, |\___|_|
17+
|___/
18+
19+
Producer:Nine world
20+
'''
21+
useragent=[]
22+
twoo=[]
23+
print(banner)
24+
25+
def urls():
26+
dk=open('{}'.format(user),'r')
27+
for k in dk.readlines():
28+
qcs="".join(k.split('\n'))
29+
url.append(qcs)
30+
print('[+]url.txt Load completion')
31+
print(' ')
32+
print(' ')
33+
urls()
34+
35+
def judge():
36+
pd=os.listdir('御剑配置文件')
37+
for name in pd:
38+
file.append(name)
39+
40+
for f in file:
41+
print('[+]existence {}'.format(f))
42+
43+
print(' ')
44+
print(' ')
45+
46+
dk=open('user-agent.txt','r')
47+
for d in dk.readlines():
48+
qc="".join(d.split('\n'))
49+
useragent.append(qc)
50+
print('[+]user-agent Load completion')
51+
print(' ')
52+
print(' ')
53+
judge()
54+
55+
def errors():
56+
lv=open('Error/error.txt','r',encoding='utf-8')
57+
for e in lv.readlines():
58+
qcsw="".join(e.split('\n'))
59+
error.append(qcsw)
60+
print('[+]The filter file is loaded')
61+
print(' ')
62+
print(' ')
63+
errors()
64+
65+
def forge():
66+
sj=[]
67+
dkw=open('ip.txt','r')
68+
for i in dkw.readlines():
69+
k="".join(i.split('\n'))
70+
ip.append(k)
71+
72+
for g in range(0,len(useragent)):
73+
u='User-Agent='
74+
x='X-Forwarded-For='
75+
c='Client-IP='
76+
sj.append(u+useragent[g]+'&'+x+ip[g]+'&'+c+ip[g])
77+
kc=list(set(sj))
78+
su=random.choice(kc)
79+
qc=str(su)
80+
for v in qc.split('&'):
81+
key,value=v.split('=',1)
82+
headers[key]=value
83+
forge()
84+
85+
def exploit():
86+
wi=os.listdir('御剑配置文件')
87+
for w in wi:
88+
dp=open('{}'.format('御剑配置文件/'+w),'r',encoding='gbk')
89+
for s in dp.readlines():
90+
we="".join(s.split('\n'))
91+
for u in url:
92+
up='{}'.format(u).rstrip('/')+we
93+
try:
94+
requet=requests.get(url=up,headers=headers,timeout=3,allow_redirects=False)
95+
for e in error:
96+
if requet.status_code==200 and not e in requet.text:
97+
ok='[+]code:{} url:{}'.format(requet.status_code,requet.url)
98+
if ok in twoo:continue
99+
twoo.append(ok)
100+
print(ok)
101+
else:
102+
no='[x]Not url :{}'.format(requet.url)
103+
if no in bc:continue
104+
bc.append(no)
105+
print(no)
106+
except Exception as u:
107+
print('[-]Error {}'.format(u))
108+
109+
if len(twoo)>0:
110+
od=open('save.txt','w')
111+
od.close()
112+
113+
xr=open('save.txt','r')
114+
for c in twoo:
115+
print(c,file=open('save.txt','a'))
116+
117+
118+
exploit()

0 commit comments

Comments
 (0)