0xn0ne/weblogicScanner

Connection reset by peer

paradiseduo opened this issue · 0 comments

[*] Start detect weblogic administrator console for 139.196.xxx.xxx:1450.
[-] Target 139.196.xxx.xxx:1450 does not detect weblogic administrator console!
---------------- Heartless Split Line ----------------
[*] Start detect CVE-2014-4210 for 139.196.xxx.xxx:1450.
[-] Target 139.196.xxx.xxx:1450 does not detect CVE-2014-4210!
---------------- Heartless Split Line ----------------
[*] Start detect CVE-2016-0638 for 139.196.xxx.xxx:1450.
Traceback (most recent call last):
  File "ws.py", line 56, in <module>
    res, msg = instance.light_and_msg(m_target[key]['ip'], m_target[key]['port'])
  File "/Volumes/ParadiseDuo/TestTools/weblogicScanner/stars/__init__.py", line 79, in light_and_msg
    res, data = self.light_up(dip, dport, *arg, **kwargs)
  File "/Volumes/ParadiseDuo/TestTools/weblogicScanner/stars/cve_2016_0638.py", line 57, in light_up
    res = sock.recv(4096)
ConnectionResetError: [Errno 54] Connection reset by peer

这里可不可以加一个容错机制,如果报错直接执行下一个?