You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that one year passed, but I got the same error.
I fixed it somehow, maybe by upgrading some packages like: pip install --upgrade --force-reinstall impacket
ljrk0
pushed a commit
to ljrk0/MS17-010
that referenced
this issue
Mar 3, 2023
Traceback (most recent call last):
File "/home/user/ms/zzz_exploit.py", line 1002, in
exploit(target, pipe_name)
File "/home/user/ms/zzz_exploit.py", line 895, in exploit
service_exec(conn, r'cmd /c copy c:\pwned.txt c:\pwned_exec.txt')
File "/home/user/ms/zzz_exploit.py", line 948, in service_exec
rpcsvc.bind(scmr.MSRPC_UUID_SCMR)
File "/usr/lib/python2.7/dist-packages/impacket/dcerpc/v5/rpcrt.py", line 964, in bind
self._transport.send(packet.get_packet())
File "/usr/lib/python2.7/dist-packages/impacket/dcerpc/v5/transport.py", line 389, in send
self.__smb_connection.transactNamedPipe(self.__tid,self.__handle,data, waitAnswer = False)
File "/usr/lib/python2.7/dist-packages/impacket/smbconnection.py", line 410, in transactNamedPipe
return self._SMBConnection.TransactNamedPipe(treeId, fileId, data, waitAnswer = waitAnswer)
File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 3555, in TransactNamedPipe
self.send_trans(tid,pack('<HH', 0x26, fid),'\PIPE\\x00','',data, noAnswer = noAnswer)
TypeError: send_trans() got an unexpected keyword argument 'noAnswer'
The text was updated successfully, but these errors were encountered: