coreb1t / mobile-pentest-toolkit

Other
17 stars 8 forks source link

--setup fails #4

Open epablosensei opened 5 years ago

epablosensei commented 5 years ago

Setup is not working. I'm getting this error when I install the apk.. Both when it is installed and not.

This is what I'm doing:

source mpt_venv/bin/activate
cd [dir containing the apk]
mpt --setup filename1.apk

[17:27:53] [I] Installing apk file: filename1.apk
Traceback (most recent call last):
  File "/home/user/Android/mobile-pentest-toolkit/mpt.py", line 8, in <module>
    mpt.cli()
  File "/home/user/Android/mobile-pentest-toolkit/mpt/mpt.py", line 643, in cli
    setup_pentest(apk=args.setup)  # done
  File "/home/user/Android/mobile-pentest-toolkit/mpt/mpt.py", line 79, in setup_pentest
    package = err.split('to re-install ')[1].split(' without first')[0]
IndexError: list index out of range
epablosensei commented 5 years ago

The same thing happens if I move the apk to the mpt directory.