Skip to content

Commit 67dcabf

Browse files
authored
Add files via upload
1 parent 06eaf1a commit 67dcabf

17 files changed

Lines changed: 315 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[zoomeye]
2+
username=username
3+
password=password
4+
yufa=service:Weblogic port:7001
5+
page=3
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
192.168.241.131:7001
2+
222.187.111.50:7001
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[+] ����weblogic��������:IP:192.168.241.131 PORT:7001
2+
[+] ����weblogic��������:IP:222.187.111.50 PORT:7001
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
60.247.48.101:7001
2+
60.247.48.123:7001
3+
60.247.48.104:7001
4+
114.250.115.148:7001
5+
114.115.240.29:7001
6+
114.115.184.110:7001
7+
192.168.241.131:7001
8+
222.187.111.50:7001
9+
60.247.48.101:7001
10+
60.247.48.104:7001
11+
60.247.48.123:7001
12+
218.246.120.136:7001
13+
218.30.179.205:7001
14+
218.241.197.133:7001
15+
218.247.21.54:7001
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
60.205.204.169
2+
60.247.48.101
3+
60.205.6.227
4+
60.205.209.203
5+
60.205.185.191
6+
60.205.156.83
7+
60.205.113.119
8+
60.205.160.48
9+
60.247.48.123
10+
60.205.82.129
11+
60.247.48.104
12+
60.205.107.117
13+
60.205.93.9
14+
114.250.115.148
15+
114.67.238.44
16+
114.113.144.233
17+
114.115.240.29
18+
114.115.184.110
19+
114.113.225.250
20+
114.113.154.231
21+
114.242.219.245
22+
114.112.70.135
23+
114.113.144.205
24+
114.116.30.142
25+
114.113.144.204
26+
114.65.0.255
27+
114.113.154.228
28+
60.247.48.101
29+
60.247.48.104
30+
60.247.48.123
31+
218.244.250.22
32+
218.246.120.136
33+
218.106.244.92
34+
218.247.3.211
35+
218.30.179.205
36+
218.241.197.133
37+
218.247.21.54
38+
218.241.236.170
39+
218.247.254.98
40+
210.72.23.96
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
#author:九世
2+
#time:2019/2/6
3+
4+
class Weblogic:
5+
def read(self,files):
6+
dk=open(files,'r')
7+
for r in dk:
8+
sc="".join(r.split('\n'))
9+
yield sc
10+
11+
def jiance(self):
12+
faq=__import__('plugin.jiance',fromlist=True)
13+
faq2=__import__('plugin.filepd',fromlist=True)
14+
daoru=getattr(faq,'reqt')
15+
daoru2=getattr(faq2,'pd')
16+
xz=input('文件或单个(单个输入1/批量检测输入2):')
17+
if xz=='1':
18+
user=input('url:').rstrip('/').strip()
19+
fang=daoru(user)
20+
print(fang)
21+
elif xz=='2':
22+
user=input('file:')
23+
file_pd=daoru2(user)
24+
if file_pd==1:
25+
for v in self.read(user):
26+
fnag=daoru(v)
27+
print(fnag)
28+
elif file_pd==0:
29+
print('[-] 不存在此文件')
30+
else:
31+
print('[-] 没有此选择')
32+
33+
def exp(self):
34+
jq=__import__('plugin.exploit',fromlist=True)
35+
jq2=__import__('plugin.filepd',fromlist=True)
36+
gt=getattr(jq,'exploit')
37+
gt2=getattr(jq2,'pd')
38+
xz=input('文件或单个(单个输入1/批量检测输入2):')
39+
if xz=='1':
40+
users=input('IP:')
41+
prott=input('port:')
42+
gt(users,int(prott),0)
43+
elif xz=='2':
44+
mz=input('file:')
45+
fz=gt2(mz)
46+
if fz==1:
47+
import re
48+
for l in self.read(mz):
49+
host=re.findall('.*:',str(l))
50+
ports=re.findall(':.*',str(l))
51+
hosts=str(host[0]).replace(':','').strip()
52+
port=str(ports[0]).replace(':','').strip()
53+
gt(hosts,int(port),0)
54+
else:
55+
print('[-] 不存在此文件')
56+
else:
57+
print('[-] 不存在此选择')
58+
59+
def zoomeye(self):
60+
ipo=__import__('plugin.search',fromlist=True)
61+
search=getattr(ipo,'zoomeye')
62+
search()
63+
64+
def portscan(self):
65+
jr=__import__('plugin.portscan',fromlist=True)
66+
pd=__import__('plugin.filepd',fromlist=True)
67+
port=getattr(jr,'portscan')
68+
jc=getattr(pd,'pd')
69+
xz=input('单个或批量(单个检测输入1批量检测输入2):')
70+
if xz=='1':
71+
user=input('IP:')
72+
port(user,7001)
73+
74+
elif xz=='2':
75+
user=input('file:')
76+
pds=jc(user)
77+
if pds==1:
78+
for v in self.read(user):
79+
port(v,7001)
80+
else:
81+
print('[-] 不存在此文件')
82+
else:
83+
print('[-] 不存在此选项')
84+
85+
86+
if __name__ == '__main__':
87+
obj=Weblogic()
88+
print('weblogic 反序列化检测 by 九世')
89+
jg=['1.通过网页关键字来判断是否为weblogic','2.检测是否存在weblogic反序列化','3.从zoomeye采集目标','4.7001端口扫描判断是否开放']
90+
jgs={'1':obj.jiance,'2':obj.exp,'3':obj.zoomeye,'4':obj.portscan}
91+
while True:
92+
for j in jg:
93+
print(j)
94+
95+
user=input('选择:')
96+
if user in jgs:
97+
jgs.get(user)()
98+
print('')
99+
else:
100+
print('[-] 不存在这个选择')
101+
continue
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)