diff --git a/modules/exploits/windows/local/trusted_service_path.rb b/modules/exploits/windows/local/trusted_service_path.rb index e5f83723d9..b8487ad7e9 100644 --- a/modules/exploits/windows/local/trusted_service_path.rb +++ b/modules/exploits/windows/local/trusted_service_path.rb @@ -145,7 +145,7 @@ class Metasploit3 < Msf::Exploit::Local tried = true end - case s.message + case s.message.to_i when 1 # Service already started, restart again service_stop(svr_name)