Class: Mihari::Analyzers::ZoomEye
- Defined in:
- lib/mihari/analyzers/zoomeye.rb
Constant Summary
Constants included from Mixins::Retriable
Instance Attribute Summary collapse
- #api_key ⇒ String? readonly
Attributes inherited from Base
Instance Method Summary collapse
- #artifacts ⇒ Object
-
#initialize(*args, **kwargs) ⇒ ZoomEye
constructor
A new instance of ZoomEye.
Methods inherited from Base
inherited, #normalized_artifacts, #run, #run_emitter, #source
Methods included from Mixins::Retriable
Methods included from Mixins::Configurable
#configuration_values, #configured?
Methods included from Mixins::AutonomousSystem
Constructor Details
Instance Attribute Details
#api_key ⇒ String? (readonly)
15 16 17 |
# File 'lib/mihari/analyzers/zoomeye.rb', line 15 def api_key @api_key end |
Instance Method Details
#artifacts ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/mihari/analyzers/zoomeye.rb', line 23 def artifacts case type when "host" host_search when "web" web_search else raise InvalidInputError, "#{type} type is not supported." unless valid_type? end end |