Skip to content

Commit

Permalink
Land #10612, store_loot text/xml ctype fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wvu authored and msjenkins-r7 committed Sep 10, 2018
1 parent 5861087 commit 67e1742
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/smb/smb_enum_gpp.rb
Expand Up @@ -129,7 +129,7 @@ def parse_xml(ip, path, xml_file)

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

Expand Down
2 changes: 1 addition & 1 deletion modules/post/multi/gather/jenkins_gather.rb
Expand Up @@ -53,7 +53,7 @@ def parse_credentialsxml(file)
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
Expand Down
2 changes: 1 addition & 1 deletion modules/post/windows/gather/credentials/gpp.rb
Expand Up @@ -246,7 +246,7 @@ def parse_xml(xmlfile)

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
Expand Down

0 comments on commit 67e1742

Please sign in to comment.