Land #1918, change s.message to s.message.to_i
commit
2a6225cb3f
|
@ -145,7 +145,7 @@ class Metasploit3 < Msf::Exploit::Local
|
||||||
tried = true
|
tried = true
|
||||||
end
|
end
|
||||||
|
|
||||||
case s.message
|
case s.message.to_i
|
||||||
when 1
|
when 1
|
||||||
# Service already started, restart again
|
# Service already started, restart again
|
||||||
service_stop(svr_name)
|
service_stop(svr_name)
|
||||||
|
|
Loading…
Reference in New Issue