vincentcox / StaCoAn

StaCoAn is a crossplatform tool which aids developers, bugbounty hunters and ethical hackers performing static code analysis on mobile applications.
MIT License
828 stars 131 forks source link

Implement arguments #33

Closed Kevin-De-Koninck closed 6 years ago

Kevin-De-Koninck commented 6 years ago

stacoan.py [-h] [-p PATH [PATH ...]] [--disable-browser] [--log-all | --log-errors | --log-warnings]

This implements the argparser. This allows you to add some more options through the command line in the future. Current implementation allows you to specify the project, if you want to disable that the browser automatically opens, and the log level.

E.g.:

How you used it until now

python3 stacoan.py -p test-apk.apk

disable browser

python3 stacoan.py -p test-apk.apk --disable-browser

only log errors and warnings

python3 stacoan.py -p test-apk.apk --disable-browser --log-warnings

view the help

python3 stacoan.py -h

ToDo: if you implement this, you should update the readme