{"id":20338975,"url":"https://github.com/pablito2020/bufferoverflow-exploit","last_synced_at":"2025-10-06T00:18:17.685Z","repository":{"id":63238166,"uuid":"556432904","full_name":"Pablito2020/bufferoverflow-exploit","owner":"Pablito2020","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-30T15:47:24.000Z","size":58,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-14T18:04:43.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pablito2020.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-23T20:50:51.000Z","updated_at":"2022-11-15T11:56:34.000Z","dependencies_parsed_at":"2022-11-15T13:19:39.313Z","dependency_job_id":null,"html_url":"https://github.com/Pablito2020/bufferoverflow-exploit","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/Pablito2020%2Fbufferoverflow-exploit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fbufferoverflow-exploit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fbufferoverflow-exploit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fbufferoverflow-exploit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pablito2020","download_url":"https://codeload.github.com/Pablito2020/bufferoverflow-exploit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241863999,"owners_count":20033090,"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-14T21:14:54.754Z","updated_at":"2025-10-06T00:18:12.650Z","avatar_url":"https://github.com/Pablito2020.png","language":"C","readme":"# Buffer Overflow Exploit\n\n## Usage:\nFirst, clone the project (THE DIRECTORY IS IMPORTANT FOR CALCULATING THE RETURN VALUE, SO PLEASE, FOLLOW THIS INSTRUCTIONS):\n\n```bash\n    $ cd /home/user # the username is important, for now only \"user\" is tested\n    $ git clone git@github.com:Pablito2020/bufferoverflow-exploit.git practica\n    $ cd practica\n```\n\nThen, install the binaries and disable some stack protections:\n```bash\n    $ sudo make install\n```\n\nFinally, run the exploit (if 70 isn't enough, try different numbers or create a loop that tries from 20 to 200):\n```bash\n    $ ./exploit 70\n```\n\n## Additional information\nIf you want to see how you can overflow the version that uses puts instead of printf (which was disabled with the *-fno-builtin-printf* flag), you can check out the \"gdb-only\" branch.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablito2020%2Fbufferoverflow-exploit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablito2020%2Fbufferoverflow-exploit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablito2020%2Fbufferoverflow-exploit/lists"}