Fixed broken link checker, fixed some broken links

This commit is contained in:
ethicalhack3r
2014-03-28 19:06:29 +01:00
parent fd3c4261de
commit 7053a1e42a
3 changed files with 6 additions and 6 deletions

View File

@@ -32,10 +32,12 @@ class CheckerPlugin < Plugin
xml = xml(vuln_ref_file)
urls = []
xml.xpath('//reference').each { |node| urls << node.text }
xml.xpath('//references/url').each { |node| urls << node.text }
urls.uniq!
puts "[!] No URLs found in #{vuln_ref_file}!" if urls.empty?
dead_urls = []
queue_count = 0
request_count = 0