nescio007 / teether

Apache License 2.0
135 stars 65 forks source link

what is <shellcode-address> ? #5

Open knight2008 opened 5 years ago

knight2008 commented 5 years ago

python bin/gen_exploit.py help Usage: bin/gen_exploit.py [flags] <code> <target-address> <shellcode-address> <target_amount> [savefile] [initial-storage file] [initial-balance]

issue:

Is target-address the receive address? But what is shellcode-address, contract address ? Thanks a lot.

nescio007 commented 5 years ago

Yes, target-address is the address that should receive the funds.

shellcode-address is the address of a contract that will be executed by exploits using CALLCODE or DELEGATECALL in the context of the vulnerable contract.