SUID Shell script
If your able to run a executable to escalate privilege, you can use the following code to gain root privileges:
code:
Building the SUID Shell binary:
gcc -o suid suid.c
For 32 bit:
gcc -m32 -o suid suid.c
Last updated
If your able to run a executable to escalate privilege, you can use the following code to gain root privileges:
code:
Building the SUID Shell binary:
gcc -o suid suid.c
For 32 bit:
gcc -m32 -o suid suid.c
Last updated