Class: Aspisec::Modules::John
- Inherits:
-
Aspisec::Module
- Object
- Aspisec::Module
- Aspisec::Modules::John
- Defined in:
- lib-ruby/aspisec/modules/john.rb
Overview
John (the Ripper) module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.
Instance Attribute Summary collapse
- #logs ⇒ Location readonly
- #potfile ⇒ Location readonly
Attributes inherited from Aspisec::Module
#base, #conf, #locations_list, #name
Instance Method Summary collapse
-
#initialize(conf, logger: nil) ⇒ John
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) ⇒ John
Inherits from Aspisec::Module but has only the conf
argument,
tool_name
is hardcoded for each module.
30 31 32 33 34 35 |
# File 'lib-ruby/aspisec/modules/john.rb', line 30 def initialize(conf, logger: nil) super(conf, 'john', logger:) @logs = Location.new(@conf, 'logs') @potfile = Location.new(@conf, 'potfile') @locations_list = %w[logs potfile] end |