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

Method from_tcpsock

scapy/layers/smbclient.py:185–190  ·  view source on GitHub ↗
(cls, sock, **kwargs)

Source from the content-addressed store, hash-verified

183
184 @classmethod
185 def from_tcpsock(cls, sock, **kwargs):
186 return cls.smblink(
187 None,
188 SMBStreamSocket(sock, DirectTCP),
189 **kwargs,
190 )
191
192 @property
193 def session(self):

Callers 3

from_tcpsockMethod · 0.45
__init__Method · 0.45
connectMethod · 0.45

Calls 1

SMBStreamSocketClass · 0.90

Tested by

no test coverage detected