Class: Mihari::Analyzers::DNSTwister
- Includes:
- Mixins::Refang
- Defined in:
- lib/mihari/analyzers/dnstwister.rb
Constant Summary
Constants included from Mixins::Retriable
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary collapse
- #artifacts ⇒ Object
-
#initialize(*args, **kwargs) ⇒ DNSTwister
constructor
A new instance of DNSTwister.
Methods included from Mixins::Refang
Methods inherited from Base
inherited, #normalized_artifacts, #run, #run_emitter, #source
Methods included from Mixins::Retriable
Methods included from Mixins::Configurable
#configuration_keys, #configuration_values, #configured?
Methods included from Mixins::AutonomousSystem
Constructor Details
#initialize(*args, **kwargs) ⇒ DNSTwister
Returns a new instance of DNSTwister.
16 17 18 19 20 21 |
# File 'lib/mihari/analyzers/dnstwister.rb', line 16 def initialize(*args, **kwargs) super @query = refang(query) @type = TypeChecker.type(query) end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
14 15 16 |
# File 'lib/mihari/analyzers/dnstwister.rb', line 14 def type @type end |
Instance Method Details
#artifacts ⇒ Object
23 24 25 |
# File 'lib/mihari/analyzers/dnstwister.rb', line 23 def artifacts search || [] end |