Sha256: 05046ab118e3be1998056fc053e0ba58afb7428c6bd327e082c133d30d3e6cda

Contents?: true

Size: 652 Bytes

Versions: 13

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Commands
    module VirusTotal
      def self.included(thor)
        thor.class_eval do
          desc "virustotal [IP|DOMAIN]", "VirusTotal resolutions search by an ip or domain"
          method_option :title, type: :string, desc: "title"
          method_option :description, type: :string, desc: "description"
          method_option :tags, type: :array, desc: "tags"
          def virustotal(indiactor)
            with_error_handling do
              run_analyzer Analyzers::VirusTotal, query: indiactor, options: options
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mihari-3.7.2 lib/mihari/commands/virustotal.rb
mihari-3.7.1 lib/mihari/commands/virustotal.rb
mihari-3.7.0 lib/mihari/commands/virustotal.rb
mihari-3.6.1 lib/mihari/commands/virustotal.rb
mihari-3.6.0 lib/mihari/commands/virustotal.rb
mihari-3.5.0 lib/mihari/commands/virustotal.rb
mihari-3.4.1 lib/mihari/commands/virustotal.rb
mihari-3.4.0 lib/mihari/commands/virustotal.rb
mihari-3.3.0 lib/mihari/commands/virustotal.rb
mihari-3.2.0 lib/mihari/commands/virustotal.rb
mihari-3.1.0 lib/mihari/commands/virustotal.rb
mihari-3.0.1 lib/mihari/commands/virustotal.rb
mihari-3.0.0 lib/mihari/commands/virustotal.rb