ly4k/SMBGhost

struct.error: unpack requires a buffer of 4 bytes

ratmole opened this issue · 0 comments

xxx@xxx:~/git/SMBGhost$ python3 scanner.py xxx.xxx.xxx.xxx
Traceback (most recent call last):
File "scanner.py", line 23, in
nb, = struct.unpack(">I", sock.recv(4))
struct.error: unpack requires a buffer of 4 bytes