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

21 lines
328 B
Ruby

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