scapy.as_resolvers

Resolve Autonomous Systems (AS).

class scapy.as_resolvers.AS_resolver(server: Optional[str] = None, port: int = 43, options: Optional[str] = None)[source]

Bases: object

options: Optional[str] = '-k'
resolve(*ips: str) List[Tuple[str, Optional[str], str]][source]
server = None
class scapy.as_resolvers.AS_resolver_cymru(server: Optional[str] = None, port: int = 43, options: Optional[str] = None)[source]

Bases: scapy.as_resolvers.AS_resolver

options: Optional[str] = None
parse(data: bytes) List[Tuple[str, Optional[str], str]][source]

Parse bulk cymru data

resolve(*ips: str) List[Tuple[str, Optional[str], str]][source]
server = 'whois.cymru.com'
class scapy.as_resolvers.AS_resolver_multi(*reslist: scapy.as_resolvers.AS_resolver)[source]

Bases: scapy.as_resolvers.AS_resolver

resolve(*ips: Any) List[Tuple[str, Optional[str], str]][source]
class scapy.as_resolvers.AS_resolver_radb(server: Optional[str] = None, port: int = 43, options: Optional[str] = None)[source]

Bases: scapy.as_resolvers.AS_resolver

options: Optional[str] = '-k -M'
server = 'whois.ra.net'
class scapy.as_resolvers.AS_resolver_riswhois(server: Optional[str] = None, port: int = 43, options: Optional[str] = None)[source]

Bases: scapy.as_resolvers.AS_resolver

options: Optional[str] = '-k -M -1'
server = 'riswhois.ripe.net'