scapy.as_resolvers

Resolve Autonomous Systems (AS).

class scapy.as_resolvers.AS_resolver(server=None, port=43, options=None)

Bases: object

options = '-k'
resolve(*ips)
server = None
class scapy.as_resolvers.AS_resolver_cymru(server=None, port=43, options=None)

Bases: scapy.as_resolvers.AS_resolver

options = None
parse(data)

Parse bulk cymru data

resolve(*ips)
server = 'whois.cymru.com'
class scapy.as_resolvers.AS_resolver_multi(*reslist)

Bases: scapy.as_resolvers.AS_resolver

resolve(*ips)
resolvers_list = (<scapy.as_resolvers.AS_resolver_radb object>, <scapy.as_resolvers.AS_resolver_cymru object>)
class scapy.as_resolvers.AS_resolver_radb(server=None, port=43, options=None)

Bases: scapy.as_resolvers.AS_resolver

options = '-k -M'
server = 'whois.ra.net'
class scapy.as_resolvers.AS_resolver_riswhois(server=None, port=43, options=None)

Bases: scapy.as_resolvers.AS_resolver

options = '-k -M -1'
server = 'riswhois.ripe.net'