{"id":13576999,"url":"https://github.com/jmpews/pwn2exploit","last_synced_at":"2025-12-29T23:51:04.669Z","repository":{"id":87909757,"uuid":"78218936","full_name":"jmpews/pwn2exploit","owner":"jmpews","description":"all mine papers, pwn \u0026 exploit","archived":false,"fork":false,"pushed_at":"2017-03-29T15:19:47.000Z","size":19175,"stargazers_count":392,"open_issues_count":0,"forks_count":154,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-11-05T13:44:00.131Z","etag":null,"topics":["binary","exploit","pwn"],"latest_commit_sha":null,"homepage":"","language":null,"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/jmpews.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-01-06T16:03:23.000Z","updated_at":"2024-10-29T06:33:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"13cdee61-909e-4724-a43e-14ef64705b5f","html_url":"https://github.com/jmpews/pwn2exploit","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/jmpews%2Fpwn2exploit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmpews%2Fpwn2exploit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmpews%2Fpwn2exploit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmpews%2Fpwn2exploit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmpews","download_url":"https://codeload.github.com/jmpews/pwn2exploit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247317952,"owners_count":20919444,"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":["binary","exploit","pwn"],"created_at":"2024-08-01T15:01:16.765Z","updated_at":"2025-12-29T23:51:04.663Z","avatar_url":"https://github.com/jmpews.png","language":null,"funding_links":[],"categories":["Others","Others (1002)"],"sub_categories":[],"readme":"# pwn \u0026 exploit\n\n这是些前段时间研究二进制的一些心得 Paper. 本来是希望能够从底层原理到全局把控的层次去整理. 这里只完成了部分的Paper, 还有很多的Paper只写了概要点.\n\n个人有几篇 paper 还是很有参考价值的\n\n**[linux进程动态so注入.md]()**\n\n这篇文章介绍了如何在目前的ELF下进行动态so注入, 介绍 gnu.hash 的结构和相关算法, 具体的代码可以参考[evilELF](), 代码设计规范.\n\n**[PWN之堆内存管理.md]()**\n\n这篇文章是我在阅读了很多参考资料和glibc后写的, 其中对于glibc分配算法中的各种缓存的设计有比较好的讲述以及对分配和释放算法有比价好的阐述.\n\n**PWN之栈触发.md**\n\n这篇文章是在 **PWN之堆内存管理.md** 之后, 对其中各种关于堆触发的利用方式有比较的总结, 建议看看 **堆利用综述** 这一开头总结, 这里只介绍了部分堆漏洞的原理、利用等, 未完待续.\n\n**PWN之ELF系列**\n\n这是文章是在仔细研究了ELF文件结构后写的一些总结记录文章\n\n**OSX.IOS**\n\n这些是最近的关于macOS和IOS的研究, 有几篇文章是关于 macho 文件, 这里写了一个 dumpRuntimeMacho 可以在运行对 macho 文件进行解析.\n\n**evilELF**\n\n对于ELF文件的相关利用\n\n**evilMACHO**\n\n对于Macho文件的相关利用\n\n**evilHEAP**\n\n对于各种 heap 的利用方式的实例\n\n\n```\n.\n├── OSX.IOS\n│   ├── PWN之OSX.md\n│   ├── PWN之macho解析.md\n│   ├── PWN之macho加载过程.md\n│   └── osx和ios的交叉编译.md\n├── PWN之ELF解析.md\n├── PWN之ELF以及so的加载和dlopen的过程.md\n├── PWN之ELF符号动态解析过程.md\n├── PWN之堆触发.md\n├── PWN之栈触发.md\n├── PWN之保护机制.md\n├── PWN之逆向技巧.md\n├── PWN之堆内存管理.md\n├── PWN之漏洞触发点.md\n├── PWN之利用方法总结.md\n├── PWN之绕过保护机制.md\n├── PwnableWriteup.md\n├── README.md\n├── assets\n├── evilELF\n│   ├── InjectRuntimeELF\n│   │   ├── __libc_dlopen_mode.o\n│   │   ├── evil.so\n│   │   └── example\n│   ├── LICENSE\n│   ├── README.md\n│   └── injectso\n│       ├── __libc_dlopen_mode.asm\n│       ├── __libc_dlopen_mode.o\n│       ├── evil.c\n│       ├── evil.so\n│       ├── inject\n│       ├── inject.c\n│       ├── utils.c\n│       └── utils.h\n├── evilHEAP\n│   ├── LICENSE\n│   ├── README.md\n│   ├── house_of_force\n│   │   ├── README.md\n│   │   └── vul.c\n│   └── house_of_mind\n│       ├── README.md\n│       ├── exp.c\n│       └── vul.c\n├── evilMACHO\n│   ├── LICENSE\n│   ├── README.md\n│   └── dumpRuntimeMacho\n│       ├── Build\n│       ├── README.md\n│       ├── dumpRuntimeMacho\n│       └── dumpRuntimeMacho.xcodeproj\n├── linux进程动态so注入.md\n├── refs\n│   ├── 2002.gera_.About_Exploits_Writing.pdf\n│   ├── 2015-1029-yangkun-Gold-Mining-CTF.pdf\n│   ├── Linux_Interactive_Exploit_Development_with_GDB_and_PEDA_Slides.pdf\n│   ├── ROP_course_lecture_jonathan_salwan_2014.pdf\n│   ├── elf\n│   │   ├── 001_1 程序的链接和装入及Linux下动态链接的实现(修订版).doc\n│   │   ├── 001_2 Linux 动态链接机制研究及应用.pdf\n│   │   ├── 001_3 elf动态解析符号过程(修订版).rtf\n│   │   ├── 001_4 Linux下的动态连接库及其实现机制(修订版).rtf\n│   │   ├── ELF-berlinsides-0x3.pdf\n│   │   ├── Understanding_ELF.pdf\n│   │   ├── bh-us-02-clowes-binaries.ppt\n│   │   ├── elf.pdf\n│   │   ├── 漫谈兼容内核之八 ELF 映像的装入 ( 一 ).doc\n│   │   └── 《链接器和加载器》中译本.pdf\n│   ├── formatstring-1.2.pdf\n│   ├── gcc.pdf\n│   ├── heap\n│   │   ├── Bugtraq_The Malloc Maleficarum.pdf\n│   │   ├── Glibc_Adventures-The_Forgotten_Chunks.pdf\n│   │   ├── Heap overflow using Malloc Maleficarum _ sploitF-U-N.pdf\n│   │   ├── Project Zero_ The poisoned NUL byte, 2014 edition.pdf\n│   │   ├── [Phrack]Advanced Doug lea's malloc exploits.pdf\n│   │   ├── [Phrack]Vudo malloc tricks.pdf\n│   │   ├── bh-usa-07-ferguson-WP.pdf\n│   │   ├── glibc内存管理ptmalloc源代码分析.pdf\n│   │   ├── heap-hacking-by-0xbadc0de.be.pdf\n│   │   └── x86 Exploitation 101_ this is the first witchy house – gb_master's _dev_null.pdf\n│   ├── ltrace_internals.pdf\n│   └── pwntools.pdf\n└── tools\n    └── Pwngdb\n        ├── LICENSE\n        ├── README.md\n        ├── angelheap\n        └── pwngdb.py\n\n20 directories, 71 files\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmpews%2Fpwn2exploit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmpews%2Fpwn2exploit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmpews%2Fpwn2exploit/lists"}