LinPEAS
Description
LinPEAS (Linux Privilege Escalation Awesome Script) is an automated tool that searches for possible paths to escalate privileges on Linux hosts. It checks for misconfigurations, vulnerable software, and sensitive files.
Usage 1: Download LinPEAS
Command:
wget https://raw.githubusercontent.com/carlospolop/PEASS-ng/master/linPEAS/builder/linpeas_parts/linpeas_base.sh
Usage 2: Upload to Target
Mostly, we have write permission on the /tmp directory and we can upload linpeas.sh there. But if we don't have write permission on /tmp then the next target that we can possibly have write permission will be /dev/shm.