Files
wpscan/lib/common/models/wp_version/vulnerable.rb
2015-08-14 00:19:22 +02:00

20 lines
334 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 = WORDPRESSES_FILE
end
@vulns_file
end
# @return [ String ]
def identifier
@number
end
end
end