Kernel Exploits
gcc compiler fix
gcc: error trying to exec 'cc1': execvp: No such file or directory1) Search for cc1
find /usr -name cc1 2>/dev/null /usr/lib/gcc/x86_64-linux-gnu/5/cc12) Set the correct library path
export GCC_EXEC_PREFIX=/usr/lib/gcc/collect2: fatal error: cannot find 'ld'
compilation terminated.3) Check if ld binary exists
4) Export PATH
Resources: ExploitDB: https://www.exploit-db.com/
LinuxCVEs: https://www.linuxkernelcves.com/
Github repository: https://github.com/SecWiki/linux-kernel-exploits/
Steps:
PROTIP:
1: Be too specific about kernel version on Google,ExploitDB,searchsploit.
2: Be sure to understand the exploit BEFORE launch.
3: Some exploits need further interaction once run.
Last updated