nescio007 / teether

Apache License 2.0
134 stars 65 forks source link

Quick-start instructions working? #2

Closed sunbeomso closed 5 years ago

sunbeomso commented 5 years ago

In the quick-start, the last (fourth) instruction

python3 bin/gen_exploit.py 0x1234 0x1000 +1000

does not work. Teether currently produces a message:

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

It seems usage instruction described in the page may be changed.

I tested on Ubuntu 18.04.1 .

nescio007 commented 5 years ago

Hi, thanks for reporting!

Yes, gen_exploit.py needs the contract code as the first argument. I have fixed the readme accordingly!