Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'msfconsole' is not recognized as an internal or external command #55

Closed
iAladeen opened this issue Nov 30, 2023 · 3 comments
Closed

'msfconsole' is not recognized as an internal or external command #55

iAladeen opened this issue Nov 30, 2023 · 3 comments

Comments

@iAladeen
Copy link

When i try to use the "15. Hack device" function. i get am getting this error. If anyone knows how to make this work

Creating payload APK...

'msfvenom' is not recognized as an internal or external command,
operable program or batch file.

Installing APK to target device...

Performing Streamed Install
adb: failed to install test.apk:
Exception occurred while executing 'install':
java.lang.IllegalArgumentException: Size must be positive
        at com.android.server.pm.PackageManagerShellCommand.makeInstallParams(PackageManagerShellCommand.java:2823)
        at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1261)
        at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:186)
        at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
        at android.os.S
Launching app...

  bash arg: -p
  bash arg: com.metasploit.stage
  bash arg: 1
args: [-p, com.metasploit.stage, 1]
 arg: "-p"
 arg: "com.metasploit.stage"
 arg: "1"
data="com.metasploit.stage"
** No activities found to run, monkey aborted.

Sending keycodes to accept the app permissions


Launching and Setting up Metasploit-Framework

'msfconsole' is not recognized as an internal or external command,
operable program or batch file.
@AzeemIdrisi
Copy link
Owner

You need to install Metasploit Framework first.

@iAladeen
Copy link
Author

iAladeen commented Dec 5, 2023

You need to install Metasploit Framework first.

Its installed, do i need to install it in the same directory as phonesploit pro?

@AzeemIdrisi
Copy link
Owner

If it's not working, then you can copy all the files in metasploit-framework to the root of PhoneSploit-Pro.

@iAladeen iAladeen closed this as completed Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants