Class: Aspisec::Modules::Remmina — Documentation by YARD 0.9.36

# Class: Aspisec::Modules::Remmina

Inherits:
  Aspisec::Module
  - Object
  - Aspisec::Module
  - Aspisec::Modules::Remmina
  show all

Defined in:
  lib-ruby/aspisec/modules/remmina.rb

## Overview

Remmina module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.

Examples:

    # Get the global config
    conf = Aspisec::Config.new.conf
    # Create a Remmina module instance
    rem = Aspisec::Modules::Remmina.new(conf)
    # Locations available
    rem.locations_list # => ["configs"]

See Also:

- https://remmina.org
- https://gitlab.com/Remmina/Remmina

## Instance Attribute Summary collapse

- #configs ⇒ Location readonly

  see Config::DEFAULT_CONFIG or call Aspisec::Module::Location#description.

### Attributes inherited from Aspisec::Module

#base, #conf, #locations_list, #name

## Instance Method Summary collapse

- #initialize(conf, logger: nil) ⇒ Remmina 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) ⇒ `Remmina`

Inherits from Aspisec::Module but has only the `conf` argument,
`tool_name` is hardcoded for each module.

Parameters:

- conf (`Aspisec::Config`) —

  an instance of the global configuration

    27
    28
    29
    30
    31
    # File 'lib-ruby/aspisec/modules/remmina.rb', line 27

    def initialize(conf, logger: nil)
      super(conf, 'remmina', logger:)
      @configs = Location.new(@conf, 'configs')
      @locations_list = %w[configs]
    end

## Instance Attribute Details

### #configs ⇒ `Location` (readonly)

see Config::DEFAULT_CONFIG or call Aspisec::Module::Location#description.

Returns:

- (`Location`)

    22
    23
    24
    # File 'lib-ruby/aspisec/modules/remmina.rb', line 22

    def configs
      @configs
    end