mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2024-12-25 11:41:16 +07:00
31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
|
# 6.1.31 pwn HITBCTF2018 mutepig
|
||
|
|
||
|
- [题目复现](#题目复现)
|
||
|
- [题目解析](#题目解析)
|
||
|
- [漏洞利用](#漏洞利用)
|
||
|
- [参考资料](#参考资料)
|
||
|
|
||
|
|
||
|
[下载文件](../src/writeup/6.1.31_pwn_hitbctf2018_mutepig)
|
||
|
|
||
|
## 题目复现
|
||
|
```
|
||
|
$ file mutepig
|
||
|
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
|
||
|
[firmy@firmy-pc mutepip]$ checksec -f mutepig
|
||
|
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.
|
||
|
```
|
||
|
64 位程序,开启了 Canary 和 NX。
|
||
|
|
||
|
|
||
|
## 题目解析
|
||
|
|
||
|
## 漏洞利用
|
||
|
|
||
|
## 参考资料
|
||
|
- https://www.xctf.org.cn/library/details/hitb-quals-2018/#mutepig-pwn
|