Class: Aspisec::Modules::Whatwaf
- Inherits:
-
Aspisec::Module
- Object
- Aspisec::Module
- Aspisec::Modules::Whatwaf
- Defined in:
- lib-ruby/aspisec/modules/whatwaf.rb
Overview
WhatWaf module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.
Instance Attribute Summary collapse
- #database ⇒ Location readonly
Attributes inherited from Aspisec::Module
#base, #conf, #locations_list, #name
Instance Method Summary collapse
-
#initialize(conf, logger: nil) ⇒ Whatwaf
constructor
Inherits from Aspisec::Module but has only the
conf
argument,tool_name
is hardcoded for each module.
Methods inherited from Aspisec::Module
#check_config, #enabled?, #locations
Constructor Details
#initialize(conf, logger: nil) ⇒ Whatwaf
Inherits from Aspisec::Module but has only the conf
argument,
tool_name
is hardcoded for each module.
26 27 28 29 30 |
# File 'lib-ruby/aspisec/modules/whatwaf.rb', line 26 def initialize(conf, logger: nil) super(conf, 'whatwaf', logger:) @database = Location.new(@conf, 'database') @locations_list = %w[database] end |
Instance Attribute Details
#database ⇒ Location (readonly)
21 22 23 |
# File 'lib-ruby/aspisec/modules/whatwaf.rb', line 21 def database @database end |