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

Method ip

pager_lib/nmap/nmap.py:1122–1132  ·  view source on GitHub ↗

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

(self, port)

Source from the content-addressed store, hash-verified

1120 return False
1121
1122 def ip(self, port):
1123 """
1124 :param port: (int) ip port
1125 :returns: info for ip port
1126
1127 """
1128 assert (
1129 type(port) is int
1130 ), f"Wrong type for [port], should be an int [was {type(port)}]"
1131
1132 return self["ip"][port]
1133
1134 def all_sctp(self):
1135 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected