chompie1337 / SMBGhost_RCE_PoC

1.31k stars 346 forks source link

please answer my question #18

Closed hj00494yong closed 3 years ago

hj00494yong commented 3 years ago

when i run python3 exploit.py -ip 192.168.2.89 , 结果报错了 ,

Traceback (most recent call last): File "exploit.py", line 468, in do_rce(args.ip, args.port) File "exploit.py", line 433, in do_rce build_shellcode() File "exploit.py", line 308, in build_shellcode KERNEL_SHELLCODE += USER_PAYLOAD TypeError: can't concat str to bytes

如何处理呢

hj00494yong commented 3 years ago

my question had resolved ,thanks ,i modify exploit.py USER_PAYLOAD 字符 with b