MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / udp

Method udp

pager_lib/nmap/nmap.py:1085–1095  ·  view source on GitHub ↗

:param port: (int) udp port :returns: info for udp port

(self, port)

Source from the content-addressed store, hash-verified

1083 return False
1084
1085 def udp(self, port):
1086 """
1087 :param port: (int) udp port
1088 :returns: info for udp port
1089
1090 """
1091 assert (
1092 type(port) is int
1093 ), f"Wrong type for [port], should be an int [was {type(port)}]"
1094
1095 return self["udp"][port]
1096
1097 def all_ip(self):
1098 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected