Reverse Shell

Reference: https://github.com/LukeDSchenk/rust-backdoors/blob/master/reverse-shell/src/main.rs

We can create a binary or module to reverse shell.

cd /path/to/rust/project/src
vim lib.rs
(In vim editor, insert a reverse shell code into a file)
cargo build