MCPcopy Create free account
hub / github.com/secdev/scapy / whois

Method whois

scapy/layers/inet.py:93–95  ·  view source on GitHub ↗

whois the source and print the output

(self)

Source from the content-addressed store, hash-verified

91 __slots__ = []
92
93 def whois(self):
94 """whois the source and print the output"""
95 print(whois(self.src).decode("utf8", "ignore"))
96
97 def _ttl(self):
98 """Returns ttl or hlim, depending on the IP version"""

Callers

nothing calls this directly

Calls 2

whoisFunction · 0.90
decodeMethod · 0.80

Tested by

no test coverage detected