Skip to content

Commit a469bfb

Browse files
committed
update(qwb2025): fix some typo
1 parent ebf4fc4 commit a469bfb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

qwb2025/filesys.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
> [!TIP]
1717
> 建议先看[bph writeup](bph.md)再来看这篇writeup,知识点是相通的
18+
>
19+
> 以及感谢 *irontys* 的wp提供的灵感
1820
1921
### 漏洞分析
2022

@@ -48,7 +50,7 @@ struct dirfile {
4850

4951
因此借助`__dso_handle`,我们可以泄露程序基地址以及栈地址。
5052

51-
> [!INFO]
53+
> [!NOTE]
5254
> 构造函数是编译时的一个属性,通过在函数头写上`__attribute__((constructor))`
5355
> 编译器会安排其在运行`main`函数之前运行,之后这个函数通常可以在ELF中的`init_array`中找到,
5456
> libc会在初始化过程中调用它。

0 commit comments

Comments
 (0)