Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 416 Bytes

File metadata and controls

15 lines (11 loc) · 416 Bytes

TCP reverse shell with Cosmopolitan Libc

Thanks to the dark magic of Cosmopolitan the resulting binary runs natively on Linux, Windows and MacOS.

Usage

Compile static binary.

git clone --depth 1 https://github.com/jart/cosmopolitan.git
cp ./shell.c ./cosmopolitan/examples/
cd ./cosmopolitan/
make -j$(nproc) -O MODE=tiny
ls ./o/tiny/examples/shell.com