ipsurv.requester package

ipsurv.requester.requester module

class Requester(timeout=None)

Bases: abc.ABC

get_host()

ipsurv.requester.dns_resolver module

class DnsResolveRequester(resolver=None, timeout=4.0)

Bases: ipsurv.requester.requester.Requester

get_resolver()
request_dnstxt(ip)
request_resolve(hostname)
request_reverse(ip)
resolve_ip(hostname, port=None)

ipsurv.requester.http module

class HttpRequester(timeout=None)

Bases: ipsurv.requester.requester.Requester

request(url, encoding='utf-8')
request_alpn_h2(url, port=443)
request_http(url)
set_headers(headers)

ipsurv.requester.ip_info module

class IpInfoRequester(timeout=None, token=None)

Bases: ipsurv.requester.requester.Requester

request(ip)
request_ip(ip)
set_headers(headers)

ipsurv.requester.rdap module

class RdapRequester(country_detector, fill=True, timeout=None)

Bases: ipsurv.requester.requester.Requester

detect_server_from_ip(ip)
request(ip, url=None)
request_http(url, n=1, max_redirect=5)
request_ip(url, ip=None)

ipsurv.requester.server_reactivity module

class ServerReactivity(timeout=4.0)

Bases: ipsurv.requester.requester.Requester

request_icmp(host, count=1)
request_local_ip(ip='8.8.8.8', port=53)
request_tcpport(host, port)
request_udpport(host, port)