Skip to content

Commit

Permalink
add 6.1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
firmianay committed Apr 19, 2018
1 parent c032c0a commit 41440f5
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ GitHub 地址:https://github.com/firmianay/CTF-All-In-One
* [6.1.14 pwn 32C3CTF2015 readme](doc/6.1.14_pwn_32c3ctf2015_readme.md)
* [6.1.15 pwn 34C3CTF2017 SimpleGC](doc/6.1.15_pwn_34c3ctf2017_simplegc.md)
* [6.1.16 pwn HITBGSECCTF2017 1000levels](doc/6.1.16_pwn_hitbgsecctf2017_1000levels.md)
* [6.1.17 pwn SECCONCTF2016 jmper](doc/6.1.17_pwn_secconctf2016_jmper.md)
* re
* [6.2.1 re XHPCTF2017 dont_panic](doc/6.2.1_re_xhpctf2017_dont_panic.md)
* [6.2.2 re ECTF2016 tayy](doc/6.2.2_re_ectf2016_tayy.md)
Expand Down
2 changes: 1 addition & 1 deletion doc/4.4_gcc_sec.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ RELRO(ReLocation Read-Only)设置符号重定向表为只读或在程序启

RELOR 有两种形式:
- Partial RELRO:一些段(包括 `.dynamic`)在初始化后将会被标记为只读。
- Full RELRO:除了Partial RELRO,延迟绑定将被禁止,所有的导入符号将在开始时被解析,`.got.plt` 段会被完全初始化为目标函数的最终地址,并被标记为只读。另外 `link_map``_dl_runtime_resolve` 的地址也不会被装入。
- Full RELRO:除了 Partial RELRO,延迟绑定将被禁止,所有的导入符号将在开始时被解析,`.got.plt` 段会被完全初始化为目标函数的最终地址,并被标记为只读。另外 `link_map``_dl_runtime_resolve` 的地址也不会被装入。


## 编译参数
Expand Down
30 changes: 30 additions & 0 deletions doc/6.1.17_pwn_secconctf2016_jmper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 6.1.17 pwn SECCONCTF2016 jmper

- [题目复现](#题目复现)
- [题目解析](#题目解析)
- [Exploit](#exploit)
- [参考资料](#参考资料)


[下载文件](../src/writeup/6.1.17_pwn_secconctf2016_jmper)

## 题目复现
```
$ file jmper
jmper: 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.24, BuildID[sha1]=9fce8ae11b21c03bf2aade96e1d763be668848fa, not stripped
$ checksec -f jmper
RELRO STACK CANARY NX PIE RPATH RUNPATH FORTIFY Fortified Fortifiable FILE
Full RELRO No canary found NX enabled No PIE No RPATH No RUNPATH No 0 4 jmper
$ strings libc-2.19.so | grep "GNU C"
GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.9) stable release version 2.19, by Roland McGrath et al.
Compiled by GNU CC version 4.8.4.
```
64 位动态链接程序,但 Full RELRO 表示我们不能修改 GOT 表,然后还开启了 NX。


## 题目解析

## Exploit

## 参考资料
- https://ctftime.org/task/3169
1 change: 1 addition & 0 deletions doc/6_writeup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [6.1.14 pwn 32C3CTF2015 readme](6.1.14_pwn_32c3ctf2015_readme.md)
- [6.1.15 pwn 34C3CTF2017 SimpleGC](6.1.15_pwn_34c3ctf2017_simplegc.md)
- [6.1.16 pwn HITBGSECCTF2017 1000levels](6.1.16_pwn_hitbgsecctf2017_1000levels.md)
- [6.1.17 pwn SECCONCTF2016 jmper](6.1.17_pwn_secconctf2016_jmper.md)
- re
- [6.2.1 re XHPCTF2017 dont_panic](6.2.1_re_xhpctf2017_dont_panic.md)
- [6.2.2 re ECTF2016 tayy](6.2.2_re_ectf2016_tayy.md)
Expand Down
Binary file added src/writeup/6.1.17_pwn_secconctf2016_jmper/jmper
Binary file not shown.
Binary file not shown.

0 comments on commit 41440f5

Please sign in to comment.