Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_tcpsock
Method · 0.45
__init__
Method · 0.45
connect
Method · 0.45
Calls
1
SMBStreamSocket
Class · 0.90
Tested by
no test coverage detected