Post Exploitation
LinPEAS is a script that searches for possible paths to escalate privileges on Linux hosts. It highlights findings using colors to signal potential misconfigurations or vulnerabilities.
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh -o linpeas.sh
sh linpeas.sh [options]
LinPEAS is the premier privilege escalation enumeration script for Linux systems. It performs hundreds of checks to identify misconfigurations and vulnerabilities that can be exploited to elevate from a low-privileged user to root.
With color-coded output, zero dependencies, and regular updates reflecting the latest privilege escalation techniques, LinPEAS is an essential tool for any Linux post-exploitation assessment.
./linpeas.shRun the default set of local privilege-escalation checkscurl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | shDownload the latest release and run it entirely in memorywget https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh -O linpeas.shDownload the latest linpeas.sh release to diskchmod +x linpeas.sh && ./linpeas.shMake the script executable and run itsh linpeas.sh -hShow the help text and available options./linpeas.sh -aRun all checks including su brute-force and process monitoring (noisy)./linpeas.sh -sStealth/superfast mode: skip slow checks and avoid writing files./linpeas.sh -ePerform extra, more thorough enumeration./linpeas.sh -P '<PASS>'Supply a password for sudo -l and to brute-force other users./linpeas.sh -o SysI,Net,UsrIOnly run the selected comma-separated check groups./linpeas.sh -qSuppress the banner./linpeas.sh -NDisable colored (ANSI) output./linpeas.sh -rSkip the privesc detection regexes to run faster./linpeas.sh -LForce-run the linux-exploit-suggester checks./linpeas.sh -DEnable debug mode for troubleshootingFind paths to escalate to root.
Audit Linux security posture.
Detect container escape vectors.
Find passwords in configs and files.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.