Fixed double output being saved

git-svn-id: file:///home/svn/framework3/trunk@13243 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Carlos Perez 2011-07-19 21:52:38 +00:00
parent 18b96c6f3b
commit 866d250178
1 changed files with 4 additions and 2 deletions

View File

@ -71,10 +71,12 @@ class Metasploit3 < Msf::Post
end end
t.map{|x| x.join } t.map{|x| x.join }
end end
results = tbl.to_s
print_line("\n" + tbl.to_s + "\n") print_line("\n" + results + "\n")
store_loot("host.applications", "text/plain", session, tbl.to_s, "applications.txt", "Installed Applications") store_loot("host.applications", "text/plain", session, results, "applications.txt", "Installed Applications")
end end
def run def run