{"id":25549607,"url":"https://github.com/scarlet-oni/buffer-overflow-exploits","last_synced_at":"2025-07-02T07:05:35.349Z","repository":{"id":272437121,"uuid":"916584628","full_name":"scarlet-oni/buffer-overflow-exploits","owner":"scarlet-oni","description":"using a buffer overflow exploit","archived":false,"fork":false,"pushed_at":"2025-02-12T05:48:21.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T17:41:23.303Z","etag":null,"topics":["buffer-overflow","buffer-overflow-attack","buffer-overflow-exploit","c","clang","exploits"],"latest_commit_sha":null,"homepage":"","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/scarlet-oni.png","metadata":{"files":{"readme":"README.txt","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-14T11:39:59.000Z","updated_at":"2025-02-12T05:48:24.000Z","dependencies_parsed_at":"2025-02-12T06:47:30.937Z","dependency_job_id":"e30caea1-ee4a-47ca-8bae-fbb4afd8ec0e","html_url":"https://github.com/scarlet-oni/buffer-overflow-exploits","commit_stats":null,"previous_names":["hellcard/buffer-owerflow-exploits","hellcard/buffer-overflow-exploits","ghostface-cybersecurity/buffer-overflow-exploits","ghostface-engineer/buffer-overflow-exploits","scarlet-oni/buffer-overflow-exploits"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scarlet-oni/buffer-overflow-exploits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarlet-oni%2Fbuffer-overflow-exploits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarlet-oni%2Fbuffer-overflow-exploits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarlet-oni%2Fbuffer-overflow-exploits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarlet-oni%2Fbuffer-overflow-exploits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scarlet-oni","download_url":"https://codeload.github.com/scarlet-oni/buffer-overflow-exploits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarlet-oni%2Fbuffer-overflow-exploits/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263091028,"owners_count":23412343,"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":["buffer-overflow","buffer-overflow-attack","buffer-overflow-exploit","c","clang","exploits"],"created_at":"2025-02-20T10:18:56.946Z","updated_at":"2025-07-02T07:05:35.326Z","avatar_url":"https://github.com/scarlet-oni.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":" #######  ##  ##   ######   ####      #####    ####    ######    #####\n  ##   #  ##  ##    ##  ##   ##      ##   ##    ##     # ## #   ##   ##\n  ## #     ####     ##  ##   ##      ##   ##    ##       ##     #\n  ####      ##      #####    ##      ##   ##    ##       ##      #####\n  ## #     ####     ##       ##   #  ##   ##    ##       ##          ##\n  ##   #  ##  ##    ##       ##  ##  ##   ##    ##       ##     ##   ##\n #######  ##  ##   ####     #######   #####    ####     ####     #####\n\n\n_______________________________________________________________________\n                                 ABOUT\n_______________________________________________________________________\nDescription: Using a buffer overflow exploit\nRepository: Buffer owerflow exploits\nGCC-Compilier: 14.2.0\nTested on: Linux 6.11.2\nAuthor: scarlet-oni\n\n_______________________________________________________________________\n                        #1 EXAMPLE OWERFLOW \n_______________________________________________________________________\ngcc example_owerflow.c\n./a.out \u003carg\u003e\n\n// the variable buffer_1 is located in memory immediately after buffer_2, \n// 5 bytes are allocated for both lines, \n// if we exceed the input of the first buffer, \n// then it will replace other variables and starting from a certain size will cause the program to terminate\n\n// input 8 bytes\n\n./a.out 12345678\n---\n[ BEFORE ] buffer_2 info: 0x7ffc9eb5b4d2 | str2\n[ BEFORE ] buffer_1 info: 0x7ffc9eb5b4d7 | str1\n[ BEFORE ] value info: 0x7ffc9eb5b4dc | 5 (0x00000005)\n[ STRCPY ] buffer_2 was writed 8 bytes\n[ AFTER ] buffer_2 info: 0x7ffc9eb5b4d2 | 12345678\n[ AFTER ] buffer_1 info: 0x7ffc9eb5b4d7 | 678\n[ AFTER ] value info: 0x7ffc9eb5b4dc | 5 (0x00000000)\n\n// input 10 bytes\n\n./a.out 1234567891\n---\n[ BEFORE ] buffer_2 info: 0x7ffe162329c2 | str2\n[ BEFORE ] buffer_1 info: 0x7ffe162329c7 | str1\n[ BEFORE ] value info: 0x7ffe162329cc | 5 (0x00000005)\n[ STRCPY ] buffer_2 was writed 10 bytes\n[ AFTER ] buffer_2 info: 0x7ffe162329c2 | 1234567891\n[ AFTER ] buffer_1 info: 0x7ffe162329c7 | 67891\n[ AFTER ] value info: 0x7ffe162329cc | 0 (0x00000000)\n\n// input 15 bytes \n\n./a.out 123456789123456\n---\n[ BEFORE ] buffer_2 info: 0x7ffd0e05b892 | str2\n[ BEFORE ] buffer_1 info: 0x7ffd0e05b897 | str1\n[ BEFORE ] value info: 0x7ffd0e05b89c | 5 (0x00000005)\n[ STRCPY ] buffer_2 was writed 15 bytes\n[ AFTER ] buffer_2 info: 0x7ffd0e05b892 | 123456789123456\n[ AFTER ] buffer_1 info: 0x7ffd0e05b897 | 6789123456\n[ AFTER ] value info: 0x7ffd0e05b89c | 892613426 (0x00000000)\n\n// input 25 bytes\n\n./a.out 123456789123456123456789\n---\n[ BEFORE ] buffer_2 info: 0x7fff97808d62 | str2\n[ BEFORE ] buffer_1 info: 0x7fff97808d67 | str1\n[ BEFORE ] value info: 0x7fff97808d6c | 5 (0x00000005)\n[ STRCPY ] buffer_2 was writed 24 bytes\n[ AFTER ] buffer_2 info: 0x7fff97808d62 | 123456789123456123456789\n[ AFTER ] buffer_1 info: 0x7fff97808d67 | 6789123456123456789\n[ AFTER ] value info: 0x7fff97808d6c | 892613426 (0x00000000)\nzsh: segmentation fault (core dumped)  ./a.out 123456789123456123456789\n\n_______________________________________________________________________\n                      #2 NOTE SEARCHER EXPLOIT\n_______________________________________________________________________\n// launch\ngcc -o notesearcher.o note_searcher.c\ngcc exploit_notesearcher.c\n./a.out\n\n// You can set the offset yourself\n./a.out \u003cyour offset\u003e\n\n______________________________________________________________________\n                          LEGAL STATEMENT\n______________________________________________________________________\nBy downloading, modifying, redistributing, and/or executing buffer-overflow-exploits, the\nuser agrees to the contained LEGAL.txt statement found in this repository.\n\nI, scarlet-oni, the creator, take no legal responsibility for unlawful actions\ncaused/stemming from this program. \n\nUse responsibly and ethically!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarlet-oni%2Fbuffer-overflow-exploits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscarlet-oni%2Fbuffer-overflow-exploits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarlet-oni%2Fbuffer-overflow-exploits/lists"}