After seeing how to craft a shellcode in Rust and how to execute it, it's time to build a more advanced shellcode, in Rust too, to understand where a high-level language really shines. A reverse TCP shellcode establishes a TCP connection to a server, spawns a shell, and forward STDIN,
![Advanced shellcode in Rust](https://cdn-ak-scissors.b.st-hatena.com/image/square/98a362705815198c58087de7e2e8d642b43016e4/height=288;version=1;width=512/https%3A%2F%2Fkerkour.com%2Ftheme%2Fimages%2Fpirate_flag_256.png)