Sha256: e64ef72f371a278c65e44e13d914357f81f4e3847e8ce6efda7dd4db15d6fc27
Contents?: true
Size: 724 Bytes
Versions: 6
Compression:
Stored size: 724 Bytes
Contents
# frozen_string_literal: true module Mihari module Commands module Censys def self.included(thor) thor.class_eval do desc "censys [QUERY]", "Censys IPv4 search by a query" method_option :title, type: :string, desc: "title" method_option :description, type: :string, desc: "description" method_option :tags, type: :array, desc: "tags" method_option :type, type: :string, desc: "type to search (ipv4 / websites / certificates)", default: "ipv4" def censys(query) with_error_handling do run_analyzer Analyzers::Censys, query: query, options: options end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems