Hello guy’s in this article we are going to discuss about how to create metasploit persistent payload. We already discuss about how to hack android phone with metasploit payload the problem is that payload not work longer time EX. if the victim restart they phone’s the connection will be disconnected also the victim off their Internet connection the payload connection will be disconnected so in this article we make persistent payload this payload help you to make longer access to victim mobiles.
How to create persistent payload
upload /data/data/com.termux/files/home/storage/(your location)/shell.sh
After 1-2 min(or when the line starts to repeat then) press CTRL+C and then type “y” to terminate the channel.
Now using this persistent payload you can access the victim’s phone it doesn’t matter how many times he restarts the phone in a day. whenever Victim will be connected to the internet you will get meterpreter session. you can use this method just after installing the payload on the victim’s phone so there will be no chance of deletion of the payload