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
Screenshot command for Android is not working with a reverse tcp connection #9112
Comments
Unfortunately this command only works if you injected into an apk and the APK activity is in the foreground. Let me add a more verbose error to avoid confusion. |
Thanks timwr, but that works fine on galaxy s8 |
Same problem here :/ |
If any of you happened to have 'adb logcat' running, you could look at what the error message is and possibly debug it. 'Operation failed: 1' isn't very helpful. |
@ordana the |
Same here. |
Steps to reproduce
Run the command: "screenshot" on a reverse TCP connection, give you the error:
[-] stdapi_ui_desktop_screenshot: Operation failed: 1
Expected behavior
To capture the screen or save it somewhere.
Current behavior
Gets the error: [-] stdapi_ui_desktop_screenshot: Operation failed: 1
System stuff
Tested on : Android 6.0.1 - Linux 3.10.61-8299335 (armv8l) - Samsung J7 dual sim.
Metasploit version
metasploit v4.16.11-dev
I installed Metasploit with:
Kali package via apt
OS
What OS are you running Metasploit on?
Kali Linux 2017.2
The text was updated successfully, but these errors were encountered: