Add CVE-2019-2725
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
import requests
|
||||
import time
|
||||
from random import *
|
||||
import string
|
||||
|
||||
|
||||
|
||||
'''
|
||||
Usage:
|
||||
moon.py -u weblogic http://127.0.0.1:7001
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# 原作者:xxlegend
|
||||
# 原作者: xxlegend
|
||||
import socket
|
||||
import time
|
||||
import re
|
||||
@@ -68,4 +68,7 @@ if __name__=="__main__":
|
||||
dip = sys.argv[1]
|
||||
dport = int(sys.argv[2])
|
||||
print 'Test Address:', dip, dport
|
||||
run(dip,dport,0)
|
||||
try:
|
||||
run(dip,dport,0)
|
||||
except:
|
||||
print(dport,dip,'is not vul.')
|
||||
|
||||
185
weblogic/CVE_2019_2725.py
Normal file
185
weblogic/CVE_2019_2725.py
Normal file
File diff suppressed because one or more lines are too long
@@ -1,4 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import weblogic.CVE_2019_2725
|
||||
import weblogic.CVE_2017_10271
|
||||
import weblogic.ssrf
|
||||
import weblogic.weblogic_weakpasswd
|
||||
@@ -11,6 +12,7 @@ def exec(URL):
|
||||
weblogic.CVE_2017_10271.attack(URL)
|
||||
weblogic.ssrf.attack(URL)
|
||||
weblogic.weblogic_weakpasswd.attack(URL)
|
||||
weblogic.CVE_2019_2725.attack(URL+'/')
|
||||
|
||||
print('[+]开始检测-Weblogic-CVE-2018-2628。[+]')
|
||||
#切换工作路径
|
||||
|
||||
Reference in New Issue
Block a user