module WPScan::References

References module (which should be included along with the CMSScanner::References) to allow the use of the wpvulndb reference.

Public Instance Methods

references_urls() click to toggle source
Calls superclass method
# File lib/wpscan/references.rb, line 17
def references_urls
  wpvulndb_urls + super
end
wpvulndb_ids() click to toggle source
# File lib/wpscan/references.rb, line 21
def wpvulndb_ids
  references[:wpvulndb] || []
end
wpvulndb_url(id) click to toggle source
# File lib/wpscan/references.rb, line 29
def wpvulndb_url(id)
  "https://wpscan.com/vulnerability/#{id}"
end
wpvulndb_urls() click to toggle source
# File lib/wpscan/references.rb, line 25
def wpvulndb_urls
  wpvulndb_ids.reduce([]) { |acc, elem| acc << wpvulndb_url(elem) }
end