net_runtime service_info fixup

bug/bundler_fix
Meatballs 2013-12-15 18:06:32 +00:00
parent 7d7495a5dd
commit bcde06bfc7
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 3 additions and 3 deletions

View File

@ -53,13 +53,13 @@ class Metasploit3 < Msf::Post
service_list.each do |service| service_list.each do |service|
if service[:name] =~ /clr_optimization_.*/ if service[:name] =~ /clr_optimization_.*/
info = service_info(service[:name]) info = service_info(service[:name])
paths << info['Command'] paths << info[:path]
services << service[:name] services << service[:name]
begin begin
service_stop(service[:name]) # temporarily stop the service service_stop(service[:name]) # temporarily stop the service
print_status("Found #{info['Name']} installed") print_status("Found #{service[:name]} installed")
rescue rescue
print_error("We do not appear to have access to stop #{info['Name']}") print_error("We do not appear to have access to stop #{service[:name]}")
end end
else else
next next