Skip to content

Commit e7cbcd9

Browse files
committed
jqctf2025: not heaven, but babytrace
1 parent 0ca27b8 commit e7cbcd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_posts/jqctf2025/OldWine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 京麒CTF 2025 - OldWine
33
date: 2025/05/28 12:05:00
4-
updated: 2025/05/28 12:05:00
4+
updated: 2025/05/28 12:19:00
55
tags:
66
- rop
77
- hijack callee
@@ -31,7 +31,7 @@ excerpt: 通过修改栈上`[rbp]`为`rbp+0x10`,使`call read@plt`时`rsp`指
3131

3232
## 解题思路
3333

34-
程序禁止了one gadget,可以调整rbp,也可以在栈上向后写。类似的思路其实当时西湖论剑的 **heaven**
34+
程序禁止了one gadget,可以调整rbp,也可以在栈上向后写。类似的思路其实当时西湖论剑的 **babytrace**
3535
就出现过,然而一下没想到,没做出来,还在那里找各种gadget,这下吃一堑吃一堑了。
3636

3737
原本的栈大小是0x10,加上`[rbp]`和返回地址总共0x20字节,然后索引从`rbp - 0x10`开始算。

0 commit comments

Comments
 (0)