Open jbdu94 opened 3 years ago
@jbdu94 same here. Have you fixed it?
Python 3 cannot concatenate bytes and strings, so use python2 and it should work.
Use this one https://github.com/3ndG4me/AutoBlue-MS17-010
It supports python3. I tested on my Kali python3.9.9
Is there a version of zzz_exploit.py that works with Python 3? Thank you
Hello
When I try to run zzz_exploit.py (which I renamed 42315.py here), I get the following error: can only concatenate str (not "byte") I am running python3.
Thanks for your help
python3 42315.py 192.168.1.2 netlogon 1 ⨯ Target OS: Windows Server 2012 R2 Standard 9600 Traceback (most recent call last): File "/root/42315.py", line 998, in
exploit(target, pipe_name)
File "/root/42315.py", line 834, in exploit
if not info['method'](conn, pipe_name, info):
File "/root/42315.py", line 489, in exploit_matched_pairs
info.update(leak_frag_size(conn, tid, fid))
File "/root/42315.py", line 333, in leak_frag_size
req1 = conn.create_nt_trans_packet(5, param=pack('<HH', fid, 0), mid=mid, data='A'0x10d0, maxParameterCount=GROOM_TRANS_SIZE-0x10d0-TRANS_NAME_LEN)
File "/root/mysmb.py", line 349, in create_nt_trans_packet
_put_trans_data(transCmd, param, data, noPad)
File "/root/mysmb.py", line 73, in _put_trans_data
transData = ('\x00' padLen) + parameters
TypeError: can only concatenate str (not "bytes") to str