Sha256: 0c9e3114788bf11645cc0205d5f74dc2a283d74363b2c4daed9e2e8165cf0d57
Contents?: true
Size: 575 Bytes
Versions: 20
Compression:
Stored size: 575 Bytes
Contents
module Dradis module Plugins module Wpscan class FieldProcessor < Dradis::Plugins::Upload::FieldProcessor # No need to implement anything here # def post_initialize(args={}) # end def value(args={}) field = args[:field] # fields in the template are of the form <foo>.<field>, where <foo> # is common across all fields for a given template (and meaningless). type, name, attribute = field.split('.') @data.key?(name) ? @data[name] : 'n/a' end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems