Land #10612, store_loot text/xml ctype fixes
commit
8b4820004d
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue