{"id":20784260,"url":"https://github.com/sohnryang/hacking-book","last_synced_at":"2025-07-21T06:32:33.032Z","repository":{"id":92290222,"uuid":"153869651","full_name":"sohnryang/hacking-book","owner":"sohnryang","description":"My source repo for the book \"Hacking: The Art of Exploitation\"","archived":false,"fork":false,"pushed_at":"2018-10-29T14:40:17.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T23:17:48.194Z","etag":null,"topics":["c","exploit","hacking"],"latest_commit_sha":null,"homepage":null,"language":"C","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/sohnryang.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":"2018-10-20T04:30:28.000Z","updated_at":"2018-10-29T14:40:18.000Z","dependencies_parsed_at":"2023-05-16T19:00:18.869Z","dependency_job_id":null,"html_url":"https://github.com/sohnryang/hacking-book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sohnryang/hacking-book","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohnryang%2Fhacking-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohnryang%2Fhacking-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohnryang%2Fhacking-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohnryang%2Fhacking-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sohnryang","download_url":"https://codeload.github.com/sohnryang/hacking-book/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sohnryang%2Fhacking-book/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253614,"owners_count":23900053,"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","exploit","hacking"],"created_at":"2024-11-17T14:27:26.267Z","updated_at":"2025-07-21T06:32:32.993Z","avatar_url":"https://github.com/sohnryang.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hacking-book\nMy source repo for the book \"Hacking: The Art of Exploitation\"\n\n## Patches\nSince the second edition of the book was published in 2008, there are many inconsistencies between the book and my computer's Arch Linux.\n\n### Critical\n- `char_array2.c`: Changed the size of `str_a` to 20.\n\n### Architecture-Dependent\n- `pointer_types5.c`: The type of `hacky_nonpointer` should be `unsigned long long` when compiled to 64-bit binary. The code is patched in `pointer_types5_x64.c`. If it's compiled to 32-bit binary, the original code works fine.\n- `scope3.c`: The original code used `0x%08x` in format string to print address of variables, but the code doesn't work properly in x64; I changed it to `%p` to show addresses properly in 64-bit systems.\n\n### Coding Style\n1. There are spaces in front and back of operators. (example: `i = 0;` instead of `i=0;`)\n2. In for statements, use pre-increment operator rather than post-increment operator.\n\n### Misc\n- All code: I modified the book's original code to return 0 if ended successfully.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohnryang%2Fhacking-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsohnryang%2Fhacking-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsohnryang%2Fhacking-book/lists"}