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 1
1
import hashlib
2
2
import json
3
+ import sys
3
4
4
- from pwn import *
5
+ from pwn import remote
5
6
from web3 import Web3
6
7
7
8
@@ -160,4 +161,4 @@ def main():
160
161
161
162
162
163
if __name__ == "__main__" :
163
- main ()
164
+ main ()
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: UNLICENSED
2
2
pragma solidity ^ 0.8.13 ;
3
3
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 " ;
6
6
7
- contract ContractTest is Test {
7
+ contract ExploitTest is Test {
8
8
address instanceAddress = 0x445D0FA7FA12A85b30525568DFD09C3002F2ADe5 ;
9
9
10
10
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 );
13
12
}
14
13
15
14
function _test () public {
You can’t perform that action at this time.
0 commit comments