We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca27b8 commit e7cbcd9Copy full SHA for e7cbcd9
source/_posts/jqctf2025/OldWine.md
@@ -1,7 +1,7 @@
1
---
2
title: 京麒CTF 2025 - OldWine
3
date: 2025/05/28 12:05:00
4
-updated: 2025/05/28 12:05:00
+updated: 2025/05/28 12:19:00
5
tags:
6
- rop
7
- hijack callee
@@ -31,7 +31,7 @@ excerpt: 通过修改栈上`[rbp]`为`rbp+0x10`,使`call read@plt`时`rsp`指
31
32
## 解题思路
33
34
-程序禁止了one gadget,可以调整rbp,也可以在栈上向后写。类似的思路其实当时西湖论剑的 **heaven**
+程序禁止了one gadget,可以调整rbp,也可以在栈上向后写。类似的思路其实当时西湖论剑的 **babytrace**
35
就出现过,然而一下没想到,没做出来,还在那里找各种gadget,这下吃一堑吃一堑了。
36
37
原本的栈大小是0x10,加上`[rbp]`和返回地址总共0x20字节,然后索引从`rbp - 0x10`开始算。
0 commit comments