{"id":17948676,"url":"https://github.com/jacoblightning/capscalate","last_synced_at":"2026-05-03T16:31:34.828Z","repository":{"id":258594110,"uuid":"873941661","full_name":"Jacoblightning/capscalate","owner":"Jacoblightning","description":"A program to escalate to root privileges with many different capabilities","archived":false,"fork":false,"pushed_at":"2024-10-17T18:49:14.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T04:17:15.288Z","etag":null,"topics":["c","capabilities","cmake","cpp","linux","linux-capabilities","privilege-escalation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jacoblightning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T01:34:22.000Z","updated_at":"2024-10-17T18:51:22.000Z","dependencies_parsed_at":"2024-10-21T14:02:48.272Z","dependency_job_id":null,"html_url":"https://github.com/Jacoblightning/capscalate","commit_stats":null,"previous_names":["jacoblightning/capscalate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoblightning%2Fcapscalate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoblightning%2Fcapscalate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoblightning%2Fcapscalate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoblightning%2Fcapscalate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jacoblightning","download_url":"https://codeload.github.com/Jacoblightning/capscalate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247026394,"owners_count":20871366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","capabilities","cmake","cpp","linux","linux-capabilities","privilege-escalation"],"created_at":"2024-10-29T09:08:45.960Z","updated_at":"2026-05-03T16:31:34.789Z","avatar_url":"https://github.com/Jacoblightning.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capscalate\nA program to escalate to root privileges with many different capabilities\n# Disclaimer\nA few of these \"exploits\" cat cause temporary or permanat damage to a system if the \"exploit\" fails. Always have a root shell open while running these so you can fix any issues. \n## What can they do?\n- The exploit for CAP_SYS_ADMIN can temporarily render your system unusable until a reboot as it overwrites /usr/lib/libpam with a bind mount. If everything goes successfully, A reboot will not be required.\n- The exploit for CAP_CHOWN could render your system with a corrupted /etc/shadow. Make sure to back it up before running.\n# How do I use these?\n1. Clone the repo: `git clone https://github.com/Jacoblightning/capscalate \u0026\u0026 cd capscalate`'\n\n1.5. At this point in development, there is no autodetect functionality. You will have to edit main.cpp to run the one you want.\n\n2. Build capscalate: `mkdir build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 cmake --build .`\n3. Add the capability you want to exploit: `sudo setcap \u003ccapability\u003e+ep capscalate`\n4. Run capscalate: `./capscalate`\n5. Reap the benefits of a root shell.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblightning%2Fcapscalate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoblightning%2Fcapscalate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblightning%2Fcapscalate/lists"}