a reverse shell written in C without using stdlib or libc
| .gitignore | ||
| bcdshell.c | ||
| LICENSE | ||
| README.md | ||
CShell
a reverse shell in C made without using libc at all
features
1- doesnt use libc at all 2- works on X86 and ARM32 and ARM64 (and untested support for MIPS) 3- can use multiple servers
how to set up
1- from the project root, run
gcc -nostdlib -o bcshell bcdshell.c
for additional debug output, run
gcc -nostdlib -o bcshell bcdshell.c -DDEBUG
to define the DEBUG macro make sure to put -nostdlib as it has no reliance on libc. 2- on the server, use netcat with
nc -lvp 1999
3- on the client, run the binary
./bcshell
and see the shell and run it on the server
notes
1- supports Linux 2- supports an actual interactive, stateful shell to /bin/sh 3- binary size is less than 20KB 4- works on ANY linux device even without libc at all 5- only supports IPs, not domains