Land #10612, store_loot text/xml ctype fixes

GSoC/Meterpreter_Web_Console
William Vu 2018-09-10 15:07:06 -05:00
commit 8b4820004d
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
3 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ class MetasploitModule < Msf::Auxiliary
results.each do |result|
if datastore['STORE']
stored_path = store_loot('windows.gpp.xml', 'text/plain', ip, xml_file[:xml], file_type, xml_file[:path])
stored_path = store_loot('microsoft.windows.gpp', 'text/xml', ip, xml_file[:xml], file_type, xml_file[:path])
print_good("XML file saved to: #{stored_path}")
end

View File

@ -53,7 +53,7 @@ class MetasploitModule < Msf::Post
if exists?(file)
f = read_file(file)
if datastore['STORE_LOOT']
loot_path = store_loot('credentials.xml', 'text/plain', session, f)
loot_path = store_loot('jenkins.credentials', 'text/xml', session, f)
vprint_status("File credentials.xml saved to #{loot_path}")
end
else

View File

@ -246,7 +246,7 @@ class MetasploitModule < Msf::Post
results.each do |result|
if datastore['STORE']
stored_path = store_loot('windows.gpp.xml', 'text/plain', session, xmlfile[:xml], filetype, xmlfile[:path])
stored_path = store_loot('microsoft.windows.gpp', 'text/xml', session, xmlfile[:xml], filetype, xmlfile[:path])
print_good("XML file saved to: #{stored_path}")
print_line
end