diff --git a/modules/exploits/multi/handler.rb b/modules/exploits/multi/handler.rb index 9840f84c99..7c5d9a6410 100644 --- a/modules/exploits/multi/handler.rb +++ b/modules/exploits/multi/handler.rb @@ -35,7 +35,8 @@ class Exploits::Multi::Handler < Msf::Exploit::Remote def exploit print_status "Starting the payload handler..." while(true) - sleep(30) + sleep(1) + break if session_created? end end