Files
wpscan/lib/common/models/wp_version/vulnerable.rb
2015-06-24 11:46:06 +01:00

20 lines
331 B
Ruby

# encoding: UTF-8
class WpVersion < WpItem
module Vulnerable
# @return [ String ] The path to the file containing vulnerabilities
def vulns_file
unless @vulns_file
@vulns_file = WP_VULNS_FILE
end
@vulns_file
end
# @return [ String ]
def identifier
@number
end
end
end