worawit / MS17-010

MS17-010
2.13k stars 1.1k forks source link

Mysmb error #39

Closed ozaik closed 5 years ago

ozaik commented 5 years ago

Hi, i have this error :+1: root@kali:~/Documents/exploitation/win/autoBlue/AutoBlue-MS17-010# python eternalblue_checker.py 192.168.255.118 Traceback (most recent call last): File "eternalblue_checker.py", line 40, in <module> conn = MYSMB(target) File "/root/Documents/exploitation/win/autoBlue/AutoBlue-MS17-010/mysmb.py", line 118, in __init__ smb.SMB.__init__(self, remote_host, remote_host, timeout=timeout) File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2423, in __init__ self._sess = nmb.NetBIOSTCPSession(my_name, remote_name, remote_host, host_type, sess_port, self.__timeout) File "/usr/lib/python2.7/dist-packages/impacket/nmb.py", line 878, in __init__ timeout=timeout, local_type=local_type, sock=sock) File "/usr/lib/python2.7/dist-packages/impacket/nmb.py", line 738, in __init__ self._sock = self._setup_connection((remote_host, sess_port), timeout) File "/usr/lib/python2.7/dist-packages/impacket/nmb.py", line 889, in _setup_connection raise socket.error("Connection error (%s:%s)" % (peer[0], peer[1]), e) socket.error: [Errno Connection error (192.168.255.118:445)] [Errno 111] Connection refused If you have any idea where the error from, you save my day :)

ozaik commented 5 years ago

Auto_Answers : It's because the port 445 it's close on the target :) thanks you for this tools