Store enumerated data as loot

git-svn-id: file:///home/svn/framework3/trunk@11826 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-02-25 21:48:03 +00:00
parent 4c4ae90daf
commit 8c01560ade
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ class Metasploit3 < Msf::Post
end end
print_line("\n" + tbl.to_s + "\n") print_line("\n" + tbl.to_s + "\n")
store_loot("host.applications", "text/plain", session, tbl.to_s, "applications.txt", "Installed Applications")
end end
def run def run

View File

@ -54,6 +54,7 @@ class Metasploit3 < Msf::Post
tbl << [sid,profile_path] tbl << [sid,profile_path]
end end
print_line("\n" + tbl.to_s + "\n") print_line("\n" + tbl.to_s + "\n")
store_loot("host.users.recent", "text/plain", session, tbl.to_s, "recent_users.txt", "Recent Users")
end end
@ -81,6 +82,7 @@ class Metasploit3 < Msf::Post
end end
print_line("\n" + tbl.to_s + "\n") print_line("\n" + tbl.to_s + "\n")
store_loot("host.users.active", "text/plain", session, tbl.to_s, "active_users.txt", "Active Users")
end end
def run def run