mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2024-10-19 01:12:52 +07:00
30 lines
993 B
Markdown
30 lines
993 B
Markdown
|
# 6.1.19 pwn HITBCTF2018 gundam
|
||
|
|
||
|
- [题目复现](#题目复现)
|
||
|
- [题目解析](#题目解析)
|
||
|
- [Exploit](#exploit)
|
||
|
- [参考资料](#参考资料)
|
||
|
|
||
|
|
||
|
[下载文件](../src/writeup/6.1.19_pwn_hitbctf2018_gundam)
|
||
|
|
||
|
## 题目复现
|
||
|
```
|
||
|
$ file gundam
|
||
|
gundam: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=5643cd77b84ace35448d38fc49e4d3668ef45fea, stripped
|
||
|
$ checksec -f gundam
|
||
|
RELRO STACK CANARY NX PIE RPATH RUNPATH FORTIFY Fortified Fortifiable FILE
|
||
|
Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH Yes 0 4 gundam
|
||
|
$ strings libc.so.6 | grep "GNU C"
|
||
|
GNU C Library (Ubuntu GLIBC 2.26-0ubuntu2.1) stable release version 2.26, by Roland McGrath et al.
|
||
|
Compiled by GNU CC version 6.4.0 20171010.
|
||
|
```
|
||
|
|
||
|
|
||
|
## 题目解析
|
||
|
|
||
|
## Exploit
|
||
|
|
||
|
## 参考资料
|
||
|
- https://ctftime.org/task/5924
|