Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

--setup fails  #4

Description

@epablosensei

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions