Skip to content

Commit 73253b5

Browse files
committed
Land rapid7#3626, @wchen-r7's storing of text loot as txt
2 parents b3bb20f + e432f3f commit 73253b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def store_loot(ltype, ctype, host, data, filename=nil, info=nil, service=nil)
215215
end
216216

217217
case ctype
218-
when "text/plain"
218+
when /^text\/[\w\.]+$/
219219
ext = "txt"
220220
end
221221
# This method is available even if there is no database, don't bother checking

0 commit comments

Comments
 (0)