1st launch
docker pull trailofbits/eth-security-toolbox
docker run --name trailofbits -it -v {path_to_repos}:/share trailofbits/eth-security-toolbox
Next launches:
docker start -i trailofbits
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity 0.8.17; | |
interface ICallback { | |
function beforeExecution() external; | |
} | |
/** Exploit Desc: **/ | |
// The GasGriefer is used as a `callbackContract` on a swapOrder |