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

Method close

scapy/layers/smbclient.py:1249–1251  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1247 return r"smb: \%s> " % self.normalize_path(self.pwd)
1248
1249 def close(self):
1250 print("Connection closed")
1251 self.smbsock.close()
1252
1253 def _require_share(self, silent=False):
1254 if self.current_tree is None:

Callers 2

closeMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected