• Home
  • Raw
  • Download

Lines Matching refs:SMBCommand

535         SMBCommand  = smb.SMBCommand(recvPacket['Data'][0])
536 transParameters= smb.SMBTransaction_Parameters(SMBCommand['Parameters'])
844 def smbTransaction(connId, smbServer, SMBCommand, recvPacket, transCommands): argument
847 respSMBCommand = smb.SMBCommand(recvPacket['Command'])
849 transParameters= smb.SMBTransaction_Parameters(SMBCommand['Parameters'])
864 transData.fromString(SMBCommand['Data'])
867 … transData['Trans_Parameters'] = SMBCommand['Data'][paramOffset:paramOffset+paramCount]
873 transData['Trans_Data'] = SMBCommand['Data'][dataOffset:dataOffset + dataCount]
915 respSMBCommand = smb.SMBCommand(recvPacket['Command'])
987 def smbNTTransact(connId, smbServer, SMBCommand, recvPacket, transCommands): argument
990 respSMBCommand = smb.SMBCommand(recvPacket['Command'])
992 NTTransParameters= smb.SMBNTTransaction_Parameters(SMBCommand['Parameters'])
1009 … NTTransData['NT_Trans_Parameters'] = SMBCommand['Data'][paramOffset:paramOffset+paramCount]
1015 NTTransData['NT_Trans_Data'] = SMBCommand['Data'][dataOffset:dataOffset + dataCount]
1053 respSMBCommand = smb.SMBCommand(recvPacket['Command'])
1124 def smbTransaction2(connId, smbServer, SMBCommand, recvPacket, transCommands): argument
1127 respSMBCommand = smb.SMBCommand(recvPacket['Command'])
1129 trans2Parameters= smb.SMBTransaction2_Parameters(SMBCommand['Parameters'])
1148 … trans2Data['Trans_Parameters'] = SMBCommand['Data'][paramOffset:paramOffset+paramCount]
1154 trans2Data['Trans_Data'] = SMBCommand['Data'][dataOffset:dataOffset + dataCount]
1188 respSMBCommand = smb.SMBCommand(recvPacket['Command'])
1258 def smbComLockingAndX(connId, smbServer, SMBCommand, recvPacket): argument
1261 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_LOCKING_ANDX)
1276 def smbComClose(connId, smbServer, SMBCommand, recvPacket): argument
1279 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_CLOSE)
1283 comClose = smb.SMBClose_Parameters(SMBCommand['Parameters'])
1319 def smbComWrite(connId, smbServer, SMBCommand, recvPacket): argument
1322 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_WRITE)
1326 comWriteParameters = smb.SMBWrite_Parameters(SMBCommand['Parameters'])
1327 comWriteData = smb.SMBWrite_Data(SMBCommand['Data'])
1361 def smbComFlush(connId, smbServer, SMBCommand,recvPacket ): argument
1364 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_FLUSH)
1368 comFlush = smb.SMBFlush_Parameters(SMBCommand['Parameters'])
1393 def smbComCreateDirectory(connId, smbServer, SMBCommand,recvPacket ): argument
1396 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_CREATE_DIRECTORY)
1400 …irectoryData= smb.SMBCreateDirectory_Data(flags = recvPacket['Flags2'], data = SMBCommand['Data'])
1438 def smbComRename(connId, smbServer, SMBCommand, recvPacket ): argument
1441 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_RENAME)
1445 … comRenameData = smb.SMBRename_Data(flags = recvPacket['Flags2'], data = SMBCommand['Data'])
1487 def smbComDelete(connId, smbServer, SMBCommand, recvPacket ): argument
1490 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_DELETE)
1494 …comDeleteData = smb.SMBDelete_Data(flags = recvPacket['Flags2'], data = SMBCommand['Data'…
1531 def smbComDeleteDirectory(connId, smbServer, SMBCommand, recvPacket ): argument
1534 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_DELETE_DIRECTORY)
1538 …irectoryData= smb.SMBDeleteDirectory_Data(flags = recvPacket['Flags2'], data = SMBCommand['Data'])
1578 def smbComWriteAndX(connId, smbServer, SMBCommand, recvPacket): argument
1581 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_WRITE_ANDX)
1585 if SMBCommand['WordCount'] == 0x0C:
1586 writeAndX = smb.SMBWriteAndX_Parameters_Short(SMBCommand['Parameters'])
1589 writeAndX = smb.SMBWriteAndX_Parameters(SMBCommand['Parameters'])
1593 writeAndXData.fromString(SMBCommand['Data'])
1631 def smbComRead(connId, smbServer, SMBCommand, recvPacket): argument
1634 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_READ)
1638 comReadParameters = smb.SMBRead_Parameters(SMBCommand['Parameters'])
1671 def smbComReadAndX(connId, smbServer, SMBCommand, recvPacket): argument
1674 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_READ_ANDX)
1678 if SMBCommand['WordCount'] == 0x0A:
1679 readAndX = smb.SMBReadAndX_Parameters2(SMBCommand['Parameters'])
1681 readAndX = smb.SMBReadAndX_Parameters(SMBCommand['Parameters'])
1718 def smbQueryInformation(connId, smbServer, SMBCommand, recvPacket): argument
1721 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_QUERY_INFORMATION)
1725 …yInformation= smb.SMBQueryInformation_Data(flags = recvPacket['Flags2'], data = SMBCommand['Data'])
1750 def smbQueryInformationDisk(connId, smbServer, SMBCommand, recvPacket): argument
1753 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_QUERY_INFORMATION_DISK)
1781 def smbComEcho(connId, smbServer, SMBCommand, recvPacket): argument
1784 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_ECHO)
1788 echoData = smb.SMBEcho_Data(SMBCommand['Data'])
1801 def smbComTreeDisconnect(connId, smbServer, SMBCommand, recvPacket): argument
1804 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_TREE_DISCONNECT)
1825 def smbComLogOffAndX(connId, smbServer, SMBCommand, recvPacket): argument
1828 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_LOGOFF_ANDX)
1848 def smbComQueryInformation2(connId, smbServer, SMBCommand, recvPacket): argument
1851 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_QUERY_INFORMATION2)
1855 queryInformation2 = smb.SMBQueryInformation2_Parameters(SMBCommand['Parameters'])
1891 def smbComNtCreateAndX(connId, smbServer, SMBCommand, recvPacket): argument
1895 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_NT_CREATE_ANDX)
1899 ntCreateAndXParameters = smb.SMBNtCreateAndX_Parameters(SMBCommand['Parameters'])
1900 …AndXData = smb.SMBNtCreateAndX_Data( flags = recvPacket['Flags2'], data = SMBCommand['Data'])
2066 def smbComOpenAndX(connId, smbServer, SMBCommand, recvPacket): argument
2069 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_OPEN_ANDX)
2073 openAndXParameters = smb.SMBOpenAndX_Parameters(SMBCommand['Parameters'])
2074 …openAndXData = smb.SMBOpenAndX_Data( flags = recvPacket['Flags2'], data = SMBCommand['Data'])
2125 def smbComTreeConnectAndX(connId, smbServer, SMBCommand, recvPacket): argument
2136 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_TREE_CONNECT_ANDX)
2140 treeConnectAndXParameters = smb.SMBTreeConnectAndX_Parameters(SMBCommand['Parameters'])
2147 treeConnectAndXData.fromString(SMBCommand['Data'])
2196 def smbComSessionSetupAndX(connId, smbServer, SMBCommand, recvPacket): argument
2199 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_SESSION_SETUP_ANDX)
2206 if SMBCommand['WordCount'] == 12:
2210 … sessionSetupParameters = smb.SMBSessionSetupAndX_Extended_Parameters(SMBCommand['Parameters'])
2213 sessionSetupData.fromString(SMBCommand['Data'])
2362 sessionSetupParameters = smb.SMBSessionSetupAndX_Parameters(SMBCommand['Parameters'])
2366 sessionSetupData.fromString(SMBCommand['Data'])
2398 def smbComNegotiate(connId, smbServer, SMBCommand, recvPacket ): argument
2402 SMBCommand = smb.SMBCommand(recvPacket['Data'][0])
2403 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_NEGOTIATE)
2412 dialects = SMBCommand['Data'].split('\x02')
2479 def default(connId, smbServer, SMBCommand, recvPacket): argument
2520 SMBCommand = smb.SMBCommand(recvPacket['Data'][0])
2522 dialects = SMBCommand['Data'].split('\x02')
3923 SMBCommand = None
3926 SMBCommand = smb.SMBCommand(packet['Data'][0])
3954 SMBCommand,
3961 SMBCommand,
3968 SMBCommand,
3984 SMBCommand,
3992 SMBCommand,
3998 SMBCommand,
4001 … respCommands, respPackets, errorCode = self.__smbCommands[255](connId, self, SMBCommand, packet)