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

checker error #43

Open
gearcapitan opened this issue Mar 23, 2020 · 2 comments
Open

checker error #43

gearcapitan opened this issue Mar 23, 2020 · 2 comments

Comments

@gearcapitan
Copy link

    /home/w/Do/H/N/MS17-010  on   master !18    ✘ INT ▓▒░ python checker.py 10.10.10.178
Traceback (most recent call last):
File "checker.py", line 40, in
conn = MYSMB(target)
File "/home/warmachine/Documentos/HTB/Nest/MS17-010/mysmb.py", line 118, in init
smb.SMB.init(self, remote_host, remote_host, timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/smb.py", line 2427, in init
self.neg_session()
File "/home/warmachine/Documentos/HTB/Nest/MS17-010/mysmb.py", line 147, in neg_session
smb.SMB.neg_session(self, extended_security=self.__use_ntlmv2, negPacket=negPacket)
File "/usr/local/lib/python2.7/dist-packages/impacket/smb.py", line 2642, in neg_session
smb = self.recvSMB()
File "/usr/local/lib/python2.7/dist-packages/impacket/smb.py", line 2506, in recvSMB
r = self._sess.recv_packet(self.__timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/nmb.py", line 914, in recv_packet
data = self.__read(timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/nmb.py", line 996, in __read
data = self.read_function(4, timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/nmb.py", line 983, in non_polling_read
received = self._sock.recv(bytes_left)
socket.error: [Errno 104] Connection reset by peer

@tomovic
Copy link

tomovic commented Apr 8, 2020

I had the same problem,
download an old Kali Linux and don't update it.
I take the Kali Linux from 2018. Then the code goes.

@pwnhun73r
Copy link

In the new version of kali 2020.2 my solution was:
sudo apt-get install python-pip
sudo pip install impacket

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

3 participants