https://github.com/littlenewton/base-rop
基本 ROB 的 EXP 及其 binary 程序
https://github.com/littlenewton/base-rop
ctf return-oriented-programming rop
Last synced: 8 months ago
JSON representation
基本 ROB 的 EXP 及其 binary 程序
- Host: GitHub
- URL: https://github.com/littlenewton/base-rop
- Owner: LittleNewton
- Created: 2022-04-11T07:45:34.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-16T06:23:44.000Z (almost 4 years ago)
- Last Synced: 2025-01-30T06:42:14.409Z (about 1 year ago)
- Topics: ctf, return-oriented-programming, rop
- Language: Python
- Homepage:
- Size: 1.13 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ROP 利用
有些不错的 exp,在 kali linux + pwntools 环境下运行成功。
Note. ret2libc3 需要与本机的 libc.so 版本一致,否则 exp 不起作用。
## 经过修改的 ret2shellcode
CTF-wiki.org 网站上的 ret2shellcode 是有问题的,其 bss 段没有可执行权限。
经用 010editor 对该 elf 文件的 `struct program_header_table` 的 `[3]` 号 loadable 条目进行权限修改,得到 `src/ret2shellcode` elf 文件。有问题的原文件是 `src/ret2shellcode_NX`