Skip to content

Commit 3307726

Browse files
committed
Land rapid7#3627, @wchen-r7's cleanup of ctypes in smb_enumshares
2 parents 73253b5 + c7090f5 commit 3307726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/smb/smb_enumshares.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,10 @@ def get_files_info(ip, rport, shares, info)
415415
p = store_loot('smb.enumshares', 'text/csv', ip, detailed_tbl.to_csv)
416416
print_good("#{ip} - info saved in: #{p.to_s}")
417417
elsif datastore['LogSpider'] == '2'
418-
p = store_loot('smb.enumshares', 'text', ip, detailed_tbl)
418+
p = store_loot('smb.enumshares', 'text/plain', ip, detailed_tbl)
419419
print_good("#{ip} - info saved in: #{p.to_s}")
420420
elsif datastore['LogSpider'] == '3'
421-
p = store_loot('smb.enumshares', 'text', ip, logdata)
421+
p = store_loot('smb.enumshares', 'text/plain', ip, logdata)
422422
print_good("#{ip} - info saved in: #{p.to_s}")
423423
end
424424
end

0 commit comments

Comments
 (0)