Do something for the shut-everything-up event handling practice
parent
8a513058f6
commit
9aa3c75234
|
@ -108,8 +108,12 @@ class Metasploit3 < Msf::Post
|
||||||
vprint_good(msgString)
|
vprint_good(msgString)
|
||||||
lootString << msgString
|
lootString << msgString
|
||||||
end
|
end
|
||||||
rescue
|
rescue ::Exception => e
|
||||||
|
# July 3rd 2014 wchen-r7: Not very sure what exceptions this method is trying to rescue,
|
||||||
|
# probably the typical shut-everything-up coding habit. We'll have to fix this later,
|
||||||
|
# but for now let's at least print the error for debugging purposes
|
||||||
print_error("An error occured enumerating service: #{sname}")
|
print_error("An error occured enumerating service: #{sname}")
|
||||||
|
print_error(e.to_s)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
print_error("Problem enumerating services")
|
print_error("Problem enumerating services")
|
||||||
|
|
Loading…
Reference in New Issue