A program to escalate to root privileges with many different capabilities.
Now re-written in rust
- Rust 100%
|
|
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE-GPL | ||
| LICENSE-MIT | ||
| README.md | ||
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