Shell Spawner


This is a simple C code to spawn a shell with the SUID bit set to 0.

┌──(kali㉿kali)-[~/archive/htb/labs/tartarsauce]
└─$ sudo gcc -m32 suid.c -o ToRoot

It can then be compiled with the -m32 flag to match that of the target system