fixed output issue

unstable
ohdae 2012-03-15 01:00:55 -03:00
parent ffc41bf265
commit 58b2d570c9
1 changed files with 6 additions and 4 deletions

View File

@ -90,10 +90,12 @@ class Metasploit3 < Msf::Post
"rkhunter", "tcpdump", "webmin", "jailkit", "pwgen", "proxychains", "bastille",
"psad", "wireshark", "nagios", "nagios", "apparmor"]
for items in apps
output = which(items)
installed += [output] unless [output] == nil
apps.each do |a|
output = which("#{a}")
if output
found = (output + "\n")
installed << found
end
end
save("Installed applications:", installed) unless installed == nil
end