Class: PassiveDNS::PassiveDB

Inherits:
Object
  • Object
show all
Defined in:
lib/passivedns/client/passivedb.rb

Direct Known Subclasses

BFK, CN360, Circl, DNSDB, Mnemonic, PassiveTotal, TCPIPUtils, VirusTotal

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.config_section_nameObject



7
8
9
# File 'lib/passivedns/client/passivedb.rb', line 7

def self.config_section_name
  name
end

.nameObject



3
4
5
# File 'lib/passivedns/client/passivedb.rb', line 3

def self.name
  raise "You should implement your own version of .name"
end

.option_letterObject



11
12
13
# File 'lib/passivedns/client/passivedb.rb', line 11

def self.option_letter
  raise "You should pick a unique letter to serve as your database option letter for the command line option -d"
end

Instance Method Details

#lookup(label, limit = nil) ⇒ Object



15
16
17
# File 'lib/passivedns/client/passivedb.rb', line 15

def lookup(label, limit=nil)
  raise "You must implement the lookup function"
end