Run confirmesc on an authorized Linux target, read the report, and prioritize the CONFIRMED privilege-escalation vectors to act on. Use at the start of any Linux post-exploitation or privesc assessment, before trying techniques by hand.
capture0x/confirmesc
Linux privesc enumerator that confirms exploitability and gives you the exact root shell command - no GTFOBins searching. MCP server + AI-agent skills included.
Repository statistics
Indexed skills
14
Skill groups
1
GitHub stars
5
Forks
1
Skills
14 totalAfter a successful privilege escalation, record what was done, keep it reversible, and clean up planted artifacts. Use once a technique skill has achieved root.
Confirm you are authorized before running any privilege-escalation check or exploitation step. Load this first, before confirmesc-triage or any technique skill.
Exploit a CONFIRMED cron wildcard injection where a root script runs tar, rsync, chown, or similar with an unquoted wildcard in a directory you can write to.
Act on a LIKELY kernel, sudo, or polkit CVE match from confirmesc. Use when confirmesc flags a version-based CVE such as Dirty Pipe, PwnKit, or Baron Samedit.
Use CONFIRMED credential-recon findings from confirmesc (readable SSH keys, .env, .netrc, history) to pivot or escalate by reusing another user's secrets.
Escalate via a CONFIRMED writable critical system file such as /etc/passwd, /etc/shadow, or /etc/sudoers.
Exploit a CONFIRMED writable cron, systemd, or $PATH entry that a root scheduler executes. Use when confirmesc reports a root-run file or directory you can write to.
Escalate via a CONFIRMED privileged group membership (docker, lxd, lxc, disk). Use when confirmesc confirms both the group membership and real access to its socket or device.
Turn a CONFIRMED Linux capability finding from confirmesc into a root shell or a protected-file read. Use when confirmesc reports a dangerous file capability such as cap_setuid or cap_setgid on an abusable binary.
Exploit a CONFIRMED NFS export with no_root_squash, where a client root can create root-owned files on the share.
Exploit a CONFIRMED sudo env_keep setting that preserves LD_PRELOAD or a similar loader variable into a sudo-run command.
Turn a CONFIRMED sudo-rule finding from confirmesc into a root shell. Use when confirmesc reports that the current user is authorized to run a GTFOBins-abusable binary through sudo.
Turn a CONFIRMED SUID or SGID finding from confirmesc into a root shell. Use when confirmesc reports an exploitable SUID/SGID binary that is on the curated GTFOBins table.
Add to your README
The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.
<a href="https://skilld.dev/gh/capture0x/confirmesc">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/capture0x/confirmesc?theme=dark">
<source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/capture0x/confirmesc?theme=light">
<img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/capture0x/confirmesc?theme=light">
</picture>
</a>