Store enumerated data as loot
git-svn-id: file:///home/svn/framework3/trunk@11826 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4c4ae90daf
commit
8c01560ade
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue