Class: Mihari::Analyzers::Spyse
- Defined in:
- lib/mihari/analyzers/spyse.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Base
#ignore_old_artifacts, #ignore_threshold
Instance Method Summary collapse
- #artifacts ⇒ Object
-
#initialize(query, title: nil, description: nil, tags: [], type: "domain") ⇒ Spyse
constructor
A new instance of Spyse.
Methods inherited from Base
inherited, #run, #run_emitter, #source
Methods included from Retriable
Methods included from Configurable
#configuration_values, #configured?
Constructor Details
#initialize(query, title: nil, description: nil, tags: [], type: "domain") ⇒ Spyse
Returns a new instance of Spyse.
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/mihari/analyzers/spyse.rb', line 11 def initialize(query, title: nil, description: nil, tags: [], type: "domain") super() @query = query @title = title || "Spyse lookup" @description = description || "query = #{query}" = @type = type end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
9 10 11 |
# File 'lib/mihari/analyzers/spyse.rb', line 9 def description @description end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
9 10 11 |
# File 'lib/mihari/analyzers/spyse.rb', line 9 def query @query end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
9 10 11 |
# File 'lib/mihari/analyzers/spyse.rb', line 9 def end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
9 10 11 |
# File 'lib/mihari/analyzers/spyse.rb', line 9 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'lib/mihari/analyzers/spyse.rb', line 9 def type @type end |
Instance Method Details
#artifacts ⇒ Object
22 23 24 |
# File 'lib/mihari/analyzers/spyse.rb', line 22 def artifacts lookup || [] end |