Skip to content

Commit e432f3f

Browse files
committed
Support all text-based ctypes
1 parent f3d90ad commit e432f3f

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)