Quick answer
Download: curl -L …/linpeas.sh -o linpeas.sh. Run: ./linpeas.sh. Fast: -s. Deep: -a. Secrets: -r. Target: -o <section>. Save colour: | tee out. Save plain: -N > out. Help: -h.
Download & run#
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh -o linpeas.sh
chmod +x linpeas.sh
./linpeas.sh | tee linpeas.out
less -r linpeas.outMost-used flags#
| Flag | Does |
|---|---|
-h | Help for your build |
-s | Stealth & fast |
-a | All checks (noisy) |
-e | Extra enumeration |
-r | Secret/API-key regexes |
-o <list> | Only these sections |
-N | No colours |
-q | No banner |
-D | Debug / timing |
-P <pwd> | Password for sudo/su checks |
Sections for -o#
system_information, container, cloud, procs_crons_timers_srvcs_sockets,
network_information, users_information, software_information,
interesting_perms_files, interesting_files, api_keys_regexRecipes#
# Quiet first pass
./linpeas.sh -s
# Focus on privesc-critical areas
./linpeas.sh -o users_information,interesting_perms_files
# Deep lab scan with secrets
./linpeas.sh -a -r | tee linpeas.out
# Clean report file
./linpeas.sh -N > linpeas.txtNote
Build the exact command interactively with the command builder. Verified against 20260908-dffb9496.
Sources & references
- linPEAS README — commands and parameters
- PEASS-ng releases — help text verified against 20260908-dffb9496