mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2024-10-19 01:12:52 +07:00
31 lines
1.0 KiB
Markdown
31 lines
1.0 KiB
Markdown
|
# 6.1.20 pwn 33C3CTF2016 babyfengshui
|
||
|
|
||
|
- [题目复现](#题目复现)
|
||
|
- [题目解析](#题目解析)
|
||
|
- [Exploit](#exploit)
|
||
|
- [参考资料](#参考资料)
|
||
|
|
||
|
|
||
|
[下载文件](../src/writeup/6.1.20_pwn_33c3ctf2016_babyfengshui)
|
||
|
|
||
|
## 题目复现
|
||
|
```
|
||
|
$ file babyfengshui
|
||
|
babyfengshui: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=cecdaee24200fe5bbd3d34b30404961ca49067c6, stripped
|
||
|
$ checksec -f babyfengshui
|
||
|
RELRO STACK CANARY NX PIE RPATH RUNPATH FORTIFY Fortified Fortifiable FILE
|
||
|
Partial RELRO Canary found NX enabled No PIE No RPATH No RUNPATH Yes 0 3 babyfengshui
|
||
|
$ strings libc-2.19.so | grep "GNU C"
|
||
|
GNU C Library (Debian GLIBC 2.19-18+deb8u6) stable release version 2.19, by Roland McGrath et al.
|
||
|
Compiled by GNU CC version 4.8.4.
|
||
|
```
|
||
|
|
||
|
|
||
|
## 题目解析
|
||
|
|
||
|
## Exploit
|
||
|
|
||
|
## 参考资料
|
||
|
- https://ctftime.org/task/3282
|
||
|
- https://github.com/bkth/babyfengshui
|