Skip to content

Commit a7c5728

Browse files
authored
Merge pull request #893 from Nikolas-Cao/fix-typo
Fix typo
2 parents bea5409 + 66e1150 commit a7c5728

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Topics/Onchain_debug/05_write_your_own_poc

Topics/Onchain_debug/05_write_your_own_poc/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Author: [gbaleeee](https://twitter.com/gbaleeeee)
181181
withdraw函数执行过程中最后发出的事件对应之前dfx-xidr-v2代币发送给0地址销毁
182182

183183
- 总结
184-
DFX Finance的重入攻击事件是一起典型的cross-function重入攻击,攻击者通过在falsh函数的回调操作中调用deposit函数完成了重入。值得一提的是,这次攻击的手法,正好对应了CTF damnvulnerabledefi中的第四题 [Side Entrance](https://www.damnvulnerabledefi.xyz/challenges/side-entrance/),如果项目的开发人员之前有认真做过,或许这次攻击事件就不会发生🤣。在同年的12月中,[Deforst](https://github.com/SunWeb3Sec/DeFiHackLabs#20221223---defrost---reentrancy) 项目也被同样的手法所攻击。
184+
DFX Finance的重入攻击事件是一起典型的cross-function重入攻击,攻击者通过在flash函数的回调操作中调用deposit函数完成了重入。值得一提的是,这次攻击的手法,正好对应了CTF damnvulnerabledefi中的第四题 [Side Entrance](https://www.damnvulnerabledefi.xyz/challenges/side-entrance/),如果项目的开发人员之前有认真做过,或许这次攻击事件就不会发生🤣。在同年的12月中,[Deforst](https://github.com/SunWeb3Sec/DeFiHackLabs#20221223---defrost---reentrancy) 项目也被同样的手法所攻击。
185185

186186
## 学习资源
187187
[Reentrancy Attacks on Smart Contracts Distilled](https://blog.pessimistic.io/reentrancy-attacks-on-smart-contracts-distilled-7fed3b04f4b6)

0 commit comments

Comments
 (0)