Skip to content

Commit 714ce2f

Browse files
committed
Land rapid7#4198, @trosen-r7's fixes to XML import.
2 parents 5a54537 + 0959ef3 commit 714ce2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/msf/core/db_manager/import.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ def import_filetype_detect(data)
302302
when /MetasploitV4/
303303
@import_filedata[:type] = "Metasploit XML"
304304
return :msf_xml
305+
when /MetasploitV5/
306+
@import_filedata[:type] = "Metasploit XML"
307+
return :msf_xml
305308
when /netsparker/
306309
@import_filedata[:type] = "NetSparker XML"
307310
return :netsparker_xml

0 commit comments

Comments
 (0)