Class: Aspisec::Modules::Mobsf
- Inherits:
-
Aspisec::Module
- Object
- Aspisec::Module
- Aspisec::Modules::Mobsf
- Defined in:
- lib-ruby/aspisec/modules/mobsf.rb
Overview
MobSF module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.
Instance Attribute Summary collapse
- #database ⇒ Location readonly
- #downloads ⇒ Location readonly
- #logs ⇒ Location readonly
- #uploads ⇒ Location readonly
Attributes inherited from Aspisec::Module
#base, #conf, #locations_list, #name
Instance Method Summary collapse
-
#initialize(conf, logger: nil) ⇒ Mobsf
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) ⇒ Mobsf
Inherits from Aspisec::Module but has only the conf
argument,
tool_name
is hardcoded for each module.
39 40 41 42 43 44 45 46 |
# File 'lib-ruby/aspisec/modules/mobsf.rb', line 39 def initialize(conf, logger: nil) super(conf, 'mobsf', logger:) @logs = Location.new(@conf, 'logs') @downloads = Location.new(@conf, 'downloads') @uploads = Location.new(@conf, 'uploads') @database = Location.new(@conf, 'database') @locations_list = %w[logs downloads uploads database] end |
Instance Attribute Details
#database ⇒ Location (readonly)
34 35 36 |
# File 'lib-ruby/aspisec/modules/mobsf.rb', line 34 def database @database end |
#downloads ⇒ Location (readonly)
26 27 28 |
# File 'lib-ruby/aspisec/modules/mobsf.rb', line 26 def downloads @downloads end |
#logs ⇒ Location (readonly)
22 23 24 |
# File 'lib-ruby/aspisec/modules/mobsf.rb', line 22 def logs @logs end |
#uploads ⇒ Location (readonly)
30 31 32 |
# File 'lib-ruby/aspisec/modules/mobsf.rb', line 30 def uploads @uploads end |