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
 File "d:\Repo\publisher\test2.py", line 9, in
server = smbserver.SimpleSMBServer()
File "C:\Python27\Lib\site-packages\impacket\smbserver.py", line 4564, in init
self.__server = SMBSERVER((listenAddress,listenPort), config_parser = self.__smbConfig)
File "C:\Python27\Lib\site-packages\impacket\smbserver.py", line 3706, in init
SocketServer.TCPServer.init(self, server_address, handler_class)
File "C:\Python27\Lib\SocketServer.py", line 417, in init
self.server_bind()
File "C:\Python27\Lib\SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "C:\Python27\Lib\socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10013]
The text was updated successfully, but these errors were encountered:
The SMBServer will not work in Windows since port 445/tcp is bound by the Windows kernel. You can bind the impacket SMBServer to a high port and then use a port redirection driver (using WFP) like windivert to redirect port 445 to whatever port the SMBServer is listening on.
 File "d:\Repo\publisher\test2.py", line 9, in
server = smbserver.SimpleSMBServer()
File "C:\Python27\Lib\site-packages\impacket\smbserver.py", line 4564, in init
self.__server = SMBSERVER((listenAddress,listenPort), config_parser = self.__smbConfig)
File "C:\Python27\Lib\site-packages\impacket\smbserver.py", line 3706, in init
SocketServer.TCPServer.init(self, server_address, handler_class)
File "C:\Python27\Lib\SocketServer.py", line 417, in init
self.server_bind()
File "C:\Python27\Lib\SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "C:\Python27\Lib\socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10013]
The text was updated successfully, but these errors were encountered: