ipsurv.data_collector package¶
ipsurv.data_collector.data_collector module¶
- class DataCollector(requester, args)¶
Bases:
abc.ABC
- Parameters
requester (ipsurv.requester.requester.Requester) –
args (argparse.Namespace) –
Description: https://deer-hunt.github.io/ipsurv/pages/ipsurv-cmd/program_architecture_classes.html#datacollector
- abstract build_data(target, data, success, response, response_time)¶
- 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)¶
ipsurv.data_collector.basic_collectors module¶
- class DnsReverseCollector(requester, args)¶
Bases:
ipsurv.data_collector.data_collector.DataCollector
- Parameters
requester (ipsurv.requester.dns_resolver.DnsResolveRequester) –
args (argparse.Namespace) –
- build_data(target, data, success, response, response_time)¶
- get_name()¶
- class DnsTxtCollector(requester, args)¶
Bases:
ipsurv.data_collector.data_collector.DataCollector
- Parameters
requester (ipsurv.requester.dns_resolver.DnsResolveRequester) –
args (argparse.Namespace) –
- build_data(target, data, success, response, response_time)¶
- get_name()¶
- class IpInfoCollector(requester, args)¶
Bases:
ipsurv.data_collector.data_collector.DataCollector
- Parameters
requester (ipsurv.requester.ip_info.IpInfoRequester) –
args (argparse.Namespace) –
- build_data(target, data, success, response, response_time)¶
- get_name()¶
- class RdapCollector(requester, args)¶
Bases:
ipsurv.data_collector.data_collector.DataCollector
- Parameters
requester (ipsurv.requester.rdap.RdapRequester) –
args (argparse.Namespace) –
- build_data(target, data, success, response, response_time)¶
- get_name()¶