MCPcopy
hub / github.com/fortra/impacket / getConnectionData

Method getConnectionData

impacket/smbserver.py:4418–4424  ·  view source on GitHub ↗
(self, connId, checkStatus=True)

Source from the content-addressed store, hash-verified

4416 # print self.__activeConnections
4417
4418 def getConnectionData(self, connId, checkStatus=True):
4419 conn = self.__activeConnections[connId]
4420 if checkStatus is True:
4421 if ('Authenticated' in conn) is not True:
4422 # Can't keep going further
4423 raise Exception("User not Authenticated!")
4424 return conn
4425
4426 def getRegisteredNamedPipes(self):
4427 return self.__registeredNamedPipes

Callers 15

processRequestMethod · 0.95
lanManMethod · 0.80
transactNamedPipeMethod · 0.80
setPathInformationMethod · 0.80
setFileInformationMethod · 0.80
queryFileInformationMethod · 0.80
queryPathInformationMethod · 0.80
queryFsInformationMethod · 0.80
findNext2Method · 0.80
findFirst2Method · 0.80
smbTransactionMethod · 0.80
smbNTTransactMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected