Skip to content

Commit

Permalink
chore: fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: guqicun <[email protected]>
  • Loading branch information
guqicun committed Apr 6, 2024
1 parent 2391502 commit b0dd0b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion academy/onchain_debug/03_write_your_own_poc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ uint256 ETH_Price = UniV2_USDC_Reserve / UniV2_ETH_Reserve;
## 手把手撰寫 PoC - 以 EGD Finance 為例

### Step1: Infomation gathering
### Step1: Information gathering

當攻擊發生時,通常 Twitter 會是安全分析師的主戰場,會有各路大佬在 Twitter 上發布自己對於攻擊事件的最新發現。

Expand Down
2 changes: 1 addition & 1 deletion src/test/AkutarNFT_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/test/BUNN_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/Cellframe_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b0dd0b4

Please sign in to comment.