File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11import hashlib
22import json
3+ import sys
34
4- from pwn import *
5+ from pwn import remote
56from web3 import Web3
67
78
@@ -160,4 +161,4 @@ def main():
160161
161162
162163if __name__ == "__main__" :
163- main ()
164+ main ()
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: UNLICENSED
22pragma solidity ^ 0.8.13 ;
33
4- import "forge-std/Test.sol " ;
5- import "./Contract.sol " ;
4+ import {Test, console} from "forge-std/Test.sol " ;
5+ import {Contract} from "./Contract.sol " ;
66
7- contract ContractTest is Test {
7+ contract ExploitTest is Test {
88 address instanceAddress = 0x445D0FA7FA12A85b30525568DFD09C3002F2ADe5 ;
99
1010 function _setUp () public {
11- string memory RPC_GOERLI = vm.envString ("RPC_GOERLI " );
12- vm.createSelectFork (RPC_GOERLI, 7335645 );
11+ vm.createSelectFork (vm.envString ("RPC_GOERLI " ), 7335645 );
1312 }
1413
1514 function _test () public {
You can’t perform that action at this time.
0 commit comments