I use a custom
android/meterpreter/reverse_tcp payload from here. It connects back to the handler at specified time interval. When I use exploit as a job, I get multiple sessions from the same target using different ports.
I want the handler to refuse the session from a target if a session from that target already exits in the jobs. How do I achieve this?