MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / remote_addr

Method remote_addr

windows/winobject/network.py:40–46  ·  view source on GitHub ↗

remote address IP (x.x.x.x) :type: :class:`str`

(self)

Source from the content-addressed store, hash-verified

38
39 @property
40 def remote_addr(self):
41 """remote address IP (x.x.x.x)
42
43 :type: :class:`str`"""
44 if not self.established:
45 return None
46 return socket.inet_ntoa(struct.pack("<I", self.dwRemoteAddr))
47
48 @property
49 def remote_proto(self):

Callers

nothing calls this directly

Calls 1

packMethod · 0.45

Tested by

no test coverage detected