{"id":18432166,"url":"https://github.com/dustinspecker/setuid-example","last_synced_at":"2025-10-29T10:08:15.605Z","repository":{"id":66110705,"uuid":"283637769","full_name":"dustinspecker/setuid-example","owner":"dustinspecker","description":"https://dustinspecker.com/posts/setuid-elevating-privileges/","archived":false,"fork":false,"pushed_at":"2020-08-01T16:36:25.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T10:39:13.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dustinspecker.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2020-07-30T01:17:00.000Z","updated_at":"2020-08-02T15:05:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b43086e-4928-4aa8-a952-2ac48cef1416","html_url":"https://github.com/dustinspecker/setuid-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinspecker%2Fsetuid-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinspecker%2Fsetuid-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinspecker%2Fsetuid-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinspecker%2Fsetuid-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustinspecker","download_url":"https://codeload.github.com/dustinspecker/setuid-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248805424,"owners_count":21164327,"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":[],"created_at":"2024-11-06T05:27:44.001Z","updated_at":"2025-10-29T10:08:10.557Z","avatar_url":"https://github.com/dustinspecker.png","language":"Go","readme":"# setuid-example\n\n## Usage\n\n1. Clone this repository and navigate to root of this project\n1. Run `go build main.go`\n1. Run `./main`\n   - You'll be shown a sad face and error message\n1. Run `sudo ./main` to verify everything works.\n1. Run `sudo chown root ./main`\n1. Run `sudo chmod u+s ./main`\n1. Run `./main` and it will run as root now\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinspecker%2Fsetuid-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustinspecker%2Fsetuid-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinspecker%2Fsetuid-example/lists"}