Rescue staked tokens from a hacked wallet on the BSC network.
Bypass sweeper bots or autowithdraw BNB on a hacked wallet and rescue staked tokens on the BSC Network.
The use case for this multi-transaction setup is to make calls from an account that has a compromised private key. Since transferring in any BNB to this compromised wallet will immediately be swept by bots that monitor that account. Transferring in funds will also give any attacker the ability to withdraw tokens that are held by that account.
- Safe wallet with seed
- Compromised wallet private key
- Unstake contract address
- Node 14.x
- ethers
- ether-sdk
- web3
Contributions to this project are highly appreciated. You can contribute by submitting pull requests or by reporting issues and suggestions for improvement.
MIT License