a reverse shell made in C without using libc
Find a file
2026-04-06 22:12:17 +03:00
.gitignore Initial commit 2026-04-06 18:36:18 +00:00
bcdshell.c fixed a bug where a socket FD wasnt freed and another one 2026-04-06 22:12:17 +03:00
LICENSE Initial commit 2026-04-06 18:36:18 +00:00
README.md Upload files to "/" 2026-04-06 18:38:45 +00:00

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