Meterpreter: How to invoke commands in a loop for each new connection
I want to execute commands like
screenshoton a regular interval (e.g. each 5min) for each incoming connection to Meterpreter using the
reverse_tcppayload until the connection gets closed by the Windows clients.
Is there any straightforward way to realize dynamic handling of incoming connections?
Demir last edited by
<ruby> while true run_single("screenshot") run_single("sleep 300s") end </ruby>