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.
Skills
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.
npx skilld add capture0x/confirmesc --allUse 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.
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.
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.
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.
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.
After 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.
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.
Exploit a CONFIRMED sudo env_keep setting that preserves LD_PRELOAD or a similar loader variable into a sudo-run command.
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.
Curated skills from @capture0x. Checked GitHub just now