We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7090a4a commit 6e8e7a4Copy full SHA for 6e8e7a4
lib/msf/core/db.rb
@@ -4869,7 +4869,7 @@ def import_nmap_noko_stream(args, &block)
4869
# If you have Nokogiri installed, you'll be shunted over to
4870
# that. Otherwise, you'll hit the old NmapXMLStreamParser.
4871
def import_nmap_xml(args={}, &block)
4872
- return nil if args[:data].empty?
+ return nil if args[:data].nil? or args[:data].empty?
4873
wspace = args[:wspace] || workspace
4874
bl = validate_ips(args[:blacklist]) ? args[:blacklist].split : []
4875
0 commit comments