A program to escalate to root privileges with many different capabilities. Now re-written in rust
Find a file
Jacob Freeman 90a5528e20 new-ui (#1)
Nice selection ui

Reviewed-on: #1
2026-05-31 23:47:03 -04:00
src new-ui (#1) 2026-05-31 23:47:03 -04:00
.gitignore chore: update gitignore 2026-05-19 00:06:34 -04:00
Cargo.lock new-ui (#1) 2026-05-31 23:47:03 -04:00
Cargo.toml new-ui (#1) 2026-05-31 23:47:03 -04:00
LICENSE-GPL feat: License & Readme 2026-05-18 10:00:54 -04:00
LICENSE-MIT feat: License & Readme 2026-05-18 10:00:54 -04:00
README.md chore: Add info about previous version 2026-05-18 23:45:07 -04:00

Recap

Recap is a program demoing using linux cababilities to escalate to root privileges.

Currently Supported Capabilities:

  • cap_chown
  • cap_sys_admin
  • cap_fowner
  • cap_setfcap
  • cap_setuid
  • cap_dac_override

Soon to be supported:

  • cap_sys_ptrace
  • cap_sys_module

Inspiration

This project was inspired by this post on the grsecurity forums (archived)

There is also a previous (unfinished) version written in C++ Available here

License

This project is dual-licensed under MIT and GPL-v3.0 This is so that a kernel module may later be added and be compatable with the kernel licensing