wbnb/auto套利

用1个BNB在pancake上面换auto

-> 用auto 在Pancake上面闪电贷10ether auto

-> 用借来的auto 去 biswap上面换成wbnb

-> 再到pancake上面将wbnb换成auto

-> 归还pancake上面的利息

输出结果

exploit deployed to: 0x8914E24eCb1900AC4cfe9b06d8d930c3504dCCBA
1)start: WBNB:0 AUTO:1486394323021127190
2)flashloan: WBNB:0 AUTO:2486394323021127190
3)swap tokens to eth: WBNB:660233916191133955 AUTO:1486394323021127190
4)WBNB:0 AUTO:2452682977278877834
1003009027081243732
5)finsh: WBNB:0 AUTO:1449673950197634102

灵感来源: https://bscscan.com/tx/0x7ccc2610eb55b38a5998c4a4fb3c22a1c313ec55e759b986425bb9f85e778eb5

poc:https://github.com/8olidity/DeFiVulhub/tree/main/AUTO

Last updated