Class: Aspisec::Modules::Crackmapexec
- Inherits:
-
Aspisec::Module
- Object
- Aspisec::Module
- Aspisec::Modules::Crackmapexec
- Defined in:
- lib-ruby/aspisec/modules/crackmapexec.rb
Overview
CrackMapExec module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.
Instance Attribute Summary collapse
- #logs ⇒ Location readonly
- #screenshots ⇒ Location readonly
- #workspaces ⇒ Location readonly
Attributes inherited from Aspisec::Module
#base, #conf, #locations_list, #name
Instance Method Summary collapse
-
#initialize(conf, logger: nil) ⇒ Crackmapexec
constructor
Inherits from Aspisec::Module but without the
tool_name
argument because it is hardcoded for each module.
Methods inherited from Aspisec::Module
#check_config, #enabled?, #locations
Constructor Details
#initialize(conf, logger: nil) ⇒ Crackmapexec
Inherits from Aspisec::Module but without the tool_name
argument
because it is hardcoded for each module.
34 35 36 37 38 39 40 |
# File 'lib-ruby/aspisec/modules/crackmapexec.rb', line 34 def initialize(conf, logger: nil) super(conf, 'crackmapexec', logger:) @logs = Location.new(@conf, 'logs') @screenshots = Location.new(@conf, 'screenshots') @workspaces = Location.new(@conf, 'workspaces') @locations_list = %w[logs screenshots workspaces] end |
Instance Attribute Details
#logs ⇒ Location (readonly)
21 22 23 |
# File 'lib-ruby/aspisec/modules/crackmapexec.rb', line 21 def logs @logs end |
#screenshots ⇒ Location (readonly)
25 26 27 |
# File 'lib-ruby/aspisec/modules/crackmapexec.rb', line 25 def screenshots @screenshots end |
#workspaces ⇒ Location (readonly)
29 30 31 |
# File 'lib-ruby/aspisec/modules/crackmapexec.rb', line 29 def workspaces @workspaces end |