Found a bug with retrying.

unstable
sinn3r 2012-08-14 17:04:17 -05:00
parent b3791b1545
commit dc5f8b874d
1 changed files with 3 additions and 3 deletions

View File

@ -135,9 +135,11 @@ class Metasploit3 < Msf::Exploit::Local
if tried
print_error("Unable to start #{svr_name}")
return
else
tried = true
end
case s
case s.message
when 1
# Service already started, restart again
service_stop(svr_name)
@ -147,8 +149,6 @@ class Metasploit3 < Msf::Exploit::Local
service_change_startup(svr_name, 'manual')
retry
end
tried = true
end