2018-06-07 16:23:45 +07:00
|
|
|
# 6.1.31 pwn HITBCTF2018 mutepig
|
|
|
|
|
|
|
|
- [题目复现](#题目复现)
|
|
|
|
- [题目解析](#题目解析)
|
|
|
|
- [漏洞利用](#漏洞利用)
|
|
|
|
- [参考资料](#参考资料)
|
|
|
|
|
|
|
|
[下载文件](../src/writeup/6.1.31_pwn_hitbctf2018_mutepig)
|
|
|
|
|
|
|
|
## 题目复现
|
2018-08-05 16:43:10 +07:00
|
|
|
|
|
|
|
```text
|
|
|
|
$ file mutepig
|
2018-06-07 16:23:45 +07:00
|
|
|
mutepig: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=180b126011ab0d74ab49d0c3c52a41e85155a6a9, stripped
|
2018-08-05 16:43:10 +07:00
|
|
|
[firmy@firmy-pc mutepip]$ checksec -f mutepig
|
2018-06-07 16:23:45 +07:00
|
|
|
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 1 mutepig
|
|
|
|
$ strings libc-2.23.so | grep "GNU C"
|
|
|
|
GNU C Library (GNU libc) stable release version 2.23, by Roland McGrath et al.
|
|
|
|
Compiled by GNU CC version 8.1.0.
|
|
|
|
```
|
|
|
|
|
2018-08-05 16:43:10 +07:00
|
|
|
64 位程序,开启了 Canary 和 NX。
|
2018-06-07 16:23:45 +07:00
|
|
|
|
|
|
|
## 题目解析
|
|
|
|
|
|
|
|
## 漏洞利用
|
|
|
|
|
|
|
|
## 参考资料
|
2018-08-05 16:43:10 +07:00
|
|
|
|
|
|
|
- <https://www.xctf.org.cn/library/details/hitb-quals-2018/#mutepig-pwn>
|