cleanunicorn / mythos

CLI client for the MythX API
https://mythx.io/
20 stars 6 forks source link

Can't run usual analysis with Mythos #27

Closed sjukeshov closed 5 years ago

sjukeshov commented 5 years ago

https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-100 has contract samples which can be analyzed by Mythos plugin but failing now

mythos analyze contracts/visibility_not_set.sol HashForEther --mythxEthAddress='secret_please_put_yours' --mythxPassword='secret_please_put_yours'
 ›   Error: Missing 1 required arg:
 ›   contractName  Contract name
 ›   See more help with --help
cleanunicorn commented 5 years ago

I don't know why this is happening. Will have a look soon.

cleanunicorn commented 5 years ago

I cannot reproduce this issue.

$ mythos --version                 
@cleanunicorn/mythos/0.5.0 linux-x64 node-v11.12.0
$ mythos analyze v.sol HashForEther
Reading contract v.sol... done
Downloading Solidity version v0.4.24+commit.e67f0147
Compiling contract v.sol... ⢿

After some time I got the result list.

Can you try to reinstall the client and see if this still happens?

$ npm uninstall -g @cleanunicorn/mythos
$ npm install -g @cleanunicorn/mythos
sjukeshov commented 5 years ago

reinstall mythos helped and I don't know how to reproduce again. Closed