Files
wpscan/lib/common/models/wp_theme/vulnerable.rb
2013-03-19 22:59:20 +01:00

21 lines
255 B
Ruby

# encoding: UTF-8
class WpTheme < WpItem
def vulns_file
unless @vulns_file
@vulns_file = THEMES_VULNS_FILE
end
@vulns_file
end
def vulns_xpath
"//theme[@name='#{@name}']/vulnerability"
end
module Vulnerable
end
end