ipsurv.data_collector package

IpSurv’s Module Index

ipsurv.data_collector.data_collector module

class DataCollector(requester, args)

Bases: abc.ABC

Parameters

Description: https://deer-hunt.github.io/ipsurv/pages/ipsurv-cmd/program_architecture_classes.html#datacollector

abstract build_data(target, data, success, response, response_time)
Parameters
  • target (Target) –

  • data (ValueData) –

  • response (dict) –

  • response_time (float) –

fill(data, response, key, key2=None)
Parameters
  • data (ValueData) –

  • response (dict) –

  • key (str) –

  • key2 (str) –

get_cidr(response)
abstract get_name()
abstract get_requires()
initialize(args)
put(data, response, key, key2=None)
request(target, requires)
Parameters
  • target (Target) –

  • requires (list) –

abstract request_data(target, requires)
Parameters
  • target (Target) –

  • requires (list) –

ipsurv.data_collector.basic_collectors module

class DnsReverseCollector(requester, args)

Bases: ipsurv.data_collector.data_collector.DataCollector

Parameters
build_data(target, data, success, response, response_time)
Parameters
  • target (Target) –

  • data (ValueData) –

  • response (dict) –

  • response_time (float) –

get_name()
request_data(target, requires)
Parameters
  • target (Target) –

  • requires (list) –

class DnsTxtCollector(requester, args)

Bases: ipsurv.data_collector.data_collector.DataCollector

Parameters
build_data(target, data, success, response, response_time)
Parameters
  • target (Target) –

  • data (ValueData) –

  • response (dict) –

  • response_time (float) –

get_name()
request_data(target, requires)
Parameters
  • target (Target) –

  • requires (list) –

class IpInfoCollector(requester, args)

Bases: ipsurv.data_collector.data_collector.DataCollector

Parameters
build_data(target, data, success, response, response_time)
Parameters
  • target (Target) –

  • data (ValueData) –

  • response (dict) –

  • response_time (float) –

get_name()
request_data(target, requires)
Parameters
  • target (Target) –

  • requires (list) –

class RdapCollector(requester, args)

Bases: ipsurv.data_collector.data_collector.DataCollector

Parameters
build_data(target, data, success, response, response_time)
Parameters
  • target (Target) –

  • data (ValueData) –

  • response (dict) –

  • response_time (float) –

get_name()
request_data(target, requires)
Parameters
  • target (Target) –

  • requires (list) –