coreb1t / mobile-pentest-toolkit

Other
17 stars 8 forks source link

virtualenv and mobsf #3

Open epablosensei opened 5 years ago

epablosensei commented 5 years ago

I run mpt inside a virtual env, maybe it should be best to try to detect that before moving on to a new one.

I also think that you should use absolute path in the call:

(mpt_env) [user@host mobile-pentest-toolkit]$ mpt --mobile-sec-framework
..

[17:13:12] [I] Creating new virtual enviroment: /home/epablo/Android/tools/MOBILE/mobSF/mobSF-env
Error: Command '['/home/user/Android/tools/MOBILE/mobSF/mobSF-env/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
/bin/sh: bin/activate: No such file or directory
/bin/sh: bin/activate: No such file or directory
/bin/sh: bin/activate: No such file or directory
[17:13:12] [I] Starting MobSF server at http://127.0.0.1:8000/
/bin/sh: bin/activate: No such file or directory