diff --git a/academy/onchain_debug/03_write_your_own_poc/readme.md b/academy/onchain_debug/03_write_your_own_poc/readme.md index 73a6df48..77a0009e 100644 --- a/academy/onchain_debug/03_write_your_own_poc/readme.md +++ b/academy/onchain_debug/03_write_your_own_poc/readme.md @@ -90,7 +90,7 @@ uint256 ETH_Price = UniV2_USDC_Reserve / UniV2_ETH_Reserve; ## 手把手撰寫 PoC - 以 EGD Finance 為例 -### Step1: Infomation gathering +### Step1: Information gathering 當攻擊發生時,通常 Twitter 會是安全分析師的主戰場,會有各路大佬在 Twitter 上發布自己對於攻擊事件的最新發現。 diff --git a/src/test/AkutarNFT_exp.sol b/src/test/AkutarNFT_exp.sol index d8c0f503..ca122973 100644 --- a/src/test/AkutarNFT_exp.sol +++ b/src/test/AkutarNFT_exp.sol @@ -11,7 +11,7 @@ There are two serious logic vulnerabilities 1. First can cause a DoS attack due to the missing check if the bidder is a contract. As a result, the attacker can call the revert() and stop the honest bidders from getting back their bid amount. -2. The Second will make the project fund (more than 34M USD) being locked forever due to incorrect check in the require statment. +2. The Second will make the project fund (more than 34M USD) being locked forever due to incorrect check in the require statement. forge test --contracts ./src/test/AkutarNFT_exp.sol -vv */ diff --git a/src/test/BUNN_exp.sol b/src/test/BUNN_exp.sol index 698bf399..0652a338 100644 --- a/src/test/BUNN_exp.sol +++ b/src/test/BUNN_exp.sol @@ -9,7 +9,7 @@ import "./interface.sol"; // @TX // https://bscscan.com/tx/0x24a68d2a4bbb02f398d3601acfd87b09f543d935fc24862c314aaf64c295acdb // @Summary -// Relfection token,call deliver function to decrease pairs token balance,and swap to get the profit. +// Reelection token,call deliver function to decrease pairs token balance,and swap to get the profit. interface Bunn is IERC20 { function deliver(uint256 tAmount) external; diff --git a/src/test/Cellframe_exp.sol b/src/test/Cellframe_exp.sol index b37d61d6..4e8aa124 100644 --- a/src/test/Cellframe_exp.sol +++ b/src/test/Cellframe_exp.sol @@ -123,7 +123,7 @@ contract ContractTest is Test { uint256 lpAmount = CELL9.balanceOf(address(this)) / 10; emit log_named_uint("Amount of liquidity to migrate (for one migrate call)", lpAmount); - // 8 calls to migrate were successfull. Ninth - revert in attack tx. + // 8 calls to migrate were successfully. Ninth - revert in attack tx. for (uint256 i; i < 9; ++i) { LpMigration.migrate(lpAmount); }