0

I have found following link to install mythril through Docker:

Installing Mythril using Docker

The page asks to execute following two commands:

$ docker run mythril/myth -dc "0x6060"

I am getting following error message:

myth: error: argument command: invalid choice: '0x6060' (choose from 'analyze', 'a', 'disassemble', 'd', 'pro', 'p', 'read-storage', 'leveldb-search', 'function-to-hash', 'hash-to-address', 'version', 'truffle', 'help') root@lc2530hz:/home/zulfi# docker run mythril/myth -dc "0x6060" usage: myth [-h] [-v LOG_LEVEL] {analyze,a,disassemble,d,pro,p,read-storage,leveldb-search,function-to-hash,hash-to-address,version,truffle,help}

$ docker run mythril/myth -xc aab

myth: error: argument command: invalid choice: 'aabc' (choose from 'analyze', 'a', 'disassemble', 'd', 'pro', 'p', 'read-storage', 'leveldb-search', 'function-to-hash', 'hash-to-address', 'version', 'truffle', 'help') root@lc2530hz:/home/zulfi#

Also when I am typing 'mythril' from my '$' prompt, mythril is not executing. I am using Ubuntu 18.04 and I have python3 installed on my system.

I also tried the following command:

root@lc2530hz:/home/zulfi# docker run -v $(pwd):/home/self mythril/myth -x /home/self/GuessTheNumberChallenge3.sol a

usage: myth [-h] [-v LOG_LEVEL] {analyze,a,disassemble,d,pro,p,read-storage,leveldb-search,function-to-hash,hash-to-address,version,truffle,help} ... myth: error: argument command: invalid choice: '/home/self/GuessTheNumberChallenge3.sol' (choose from 'analyze', 'a', 'disassemble', 'd', 'pro', 'p', 'read-storage', 'leveldb-search', 'function-to-hash', 'hash-to-address', 'version', 'truffle', 'help')

Kindly see the docker issue at:

https://github.com/ConsenSys/mythril/issues/279

Somebody please guide me.

Zulfi.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.