├── README.md ├── exploit-contract ├── .DS_Store ├── .gitignore ├── README.md ├── artifacts │ ├── build-info │ │ └── 27ffb7e58541d8fe5dbdf53045adde53.json │ └── contracts │ │ └── BrokenContract.sol │ │ ├── BrokenContract.dbg.json │ │ ├── brokenContractABI.json │ │ └── contract_abi.json ├── contracts │ └── BrokenContract.sol ├── hardhat.config.js ├── package-lock.json ├── package.json ├── pics │ ├── exploit-flashbot.png │ ├── hex_data.gif │ └── tmp.md └── scripts │ ├── deploy.js │ └── flashbotWithdraw.js └── nft-sponosored-tx ├── .gitignore ├── README.md ├── abi └── nft.json ├── package-lock.json ├── package.json ├── pics ├── exploit-withdraw.png ├── js_code.png ├── nft-transfer-example.png ├── sponsor_address.png ├── sponsor_rescued.png ├── stuck_NFT.png └── tmp.md └── src └── sponsorTx.js /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/README.md -------------------------------------------------------------------------------- /exploit-contract/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/.DS_Store -------------------------------------------------------------------------------- /exploit-contract/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/.gitignore -------------------------------------------------------------------------------- /exploit-contract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/README.md -------------------------------------------------------------------------------- /exploit-contract/artifacts/build-info/27ffb7e58541d8fe5dbdf53045adde53.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/artifacts/build-info/27ffb7e58541d8fe5dbdf53045adde53.json -------------------------------------------------------------------------------- /exploit-contract/artifacts/contracts/BrokenContract.sol/BrokenContract.dbg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/artifacts/contracts/BrokenContract.sol/BrokenContract.dbg.json -------------------------------------------------------------------------------- /exploit-contract/artifacts/contracts/BrokenContract.sol/brokenContractABI.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/artifacts/contracts/BrokenContract.sol/brokenContractABI.json -------------------------------------------------------------------------------- /exploit-contract/artifacts/contracts/BrokenContract.sol/contract_abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/artifacts/contracts/BrokenContract.sol/contract_abi.json -------------------------------------------------------------------------------- /exploit-contract/contracts/BrokenContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/contracts/BrokenContract.sol -------------------------------------------------------------------------------- /exploit-contract/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/hardhat.config.js -------------------------------------------------------------------------------- /exploit-contract/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/package-lock.json -------------------------------------------------------------------------------- /exploit-contract/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/package.json -------------------------------------------------------------------------------- /exploit-contract/pics/exploit-flashbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/pics/exploit-flashbot.png -------------------------------------------------------------------------------- /exploit-contract/pics/hex_data.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/pics/hex_data.gif -------------------------------------------------------------------------------- /exploit-contract/pics/tmp.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exploit-contract/scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/scripts/deploy.js -------------------------------------------------------------------------------- /exploit-contract/scripts/flashbotWithdraw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/exploit-contract/scripts/flashbotWithdraw.js -------------------------------------------------------------------------------- /nft-sponosored-tx/.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | .DS_Store 3 | node_modules/* -------------------------------------------------------------------------------- /nft-sponosored-tx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/README.md -------------------------------------------------------------------------------- /nft-sponosored-tx/abi/nft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/abi/nft.json -------------------------------------------------------------------------------- /nft-sponosored-tx/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/package-lock.json -------------------------------------------------------------------------------- /nft-sponosored-tx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/package.json -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/exploit-withdraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/pics/exploit-withdraw.png -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/js_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/pics/js_code.png -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/nft-transfer-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/pics/nft-transfer-example.png -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/sponsor_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/pics/sponsor_address.png -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/sponsor_rescued.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/pics/sponsor_rescued.png -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/stuck_NFT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/pics/stuck_NFT.png -------------------------------------------------------------------------------- /nft-sponosored-tx/pics/tmp.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /nft-sponosored-tx/src/sponsorTx.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schepal/flashbots_playground/HEAD/nft-sponosored-tx/src/sponsorTx.js --------------------------------------------------------------------------------