Sha256: 3dc1f120ea1817102a67f117332e0970aeeae66b300bedb6330a7a4a88dd7260
Contents?: true
Size: 734 Bytes
Versions: 9
Compression:
Stored size: 734 Bytes
Contents
# frozen_string_literal: true module Mihari module Commands module PassiveTotal def self.included(thor) thor.class_eval do desc "passivetotal [IP|DOMAIN|EMAIL|SHA1]", "PassiveTotal search by an ip, domain, email or SHA1 certificate fingerprint" method_option :title, type: :string, desc: "title" method_option :description, type: :string, desc: "description" method_option :tags, type: :array, desc: "tags" def passivetotal(indicator) with_error_handling do run_analyzer Analyzers::PassiveTotal, query: indicator, options: options end end map "pt" => :passivetotal end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems