Lines Matching refs:SMB
102 if flags & smb.SMB.FLAGS2_UNICODE:
108 if flags & smb.SMB.FLAGS2_UNICODE:
197 flags = smb.SMB.FLAGS2_UNICODE
252 flags = smb.SMB.FLAGS2_UNICODE
1261 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_LOCKING_ANDX)
1279 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_CLOSE)
1322 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_WRITE)
1364 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_FLUSH)
1396 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_CREATE_DIRECTORY)
1441 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_RENAME)
1490 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_DELETE)
1534 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_DELETE_DIRECTORY)
1581 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_WRITE_ANDX)
1634 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_READ)
1674 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_READ_ANDX)
1721 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_QUERY_INFORMATION)
1753 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_QUERY_INFORMATION_DISK)
1784 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_ECHO)
1804 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_TREE_DISCONNECT)
1828 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_LOGOFF_ANDX)
1851 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_QUERY_INFORMATION2)
1895 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_NT_CREATE_ANDX)
2069 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_OPEN_ANDX)
2129 resp['Flags1'] = smb.SMB.FLAGS1_REPLY
2130 …p['Flags2'] = smb.SMB.FLAGS2_EXTENDED_SECURITY | smb.SMB.FLAGS2_NT_STATUS | smb.SMB.FLAGS2_LONG_NA…
2136 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_TREE_CONNECT_ANDX)
2177 respParameters['OptionalSupport'] = smb.SMB.SMB_SUPPORT_SEARCH_BITS
2199 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_SESSION_SETUP_ANDX)
2403 respSMBCommand = smb.SMBCommand(smb.SMB.SMB_COM_NEGOTIATE)
2406 resp['Flags1'] = smb.SMB.FLAGS1_REPLY
2416 if recvPacket['Flags2'] & smb.SMB.FLAGS2_EXTENDED_SECURITY:
2417 …resp['Flags2'] = smb.SMB.FLAGS2_EXTENDED_SECURITY | smb.SMB.FLAGS2_NT_STATUS | smb.SMB.FLAGS2_UNIC…
2426 …rameters['Capabilities'] = smb.SMB.CAP_EXTENDED_SECURITY | smb.SMB.CAP_USE_NT_ERRORS | smb.SMB.…
2430 resp['Flags2'] = smb.SMB.FLAGS2_NT_STATUS | smb.SMB.FLAGS2_UNICODE
2441 … _dialects_parameters['Capabilities'] = smb.SMB.CAP_USE_NT_ERRORS | smb.SMB.CAP_NT_SMBS
2447 _dialects_parameters['Capabilities'] |= smb.SMB.CAP_RPC_REMOTE_APIS
2450 …_dialects_parameters['SecurityMode'] = smb.SMB.SECURITY_AUTH_ENCRYPTED | smb.SMB.SECURITY_SHARE…
2483 packet['Flags1'] = smb.SMB.FLAGS1_REPLY
2484 packet['Flags2'] = smb.SMB.FLAGS2_NT_STATUS
3612 smb.SMB.TRANS_TRANSACT_NMPIPE :self.__smbTransHandler.transactNamedPipe,
3615 smb.SMB.TRANS2_FIND_FIRST2 :self.__smbTrans2Handler.findFirst2,
3616 smb.SMB.TRANS2_FIND_NEXT2 :self.__smbTrans2Handler.findNext2,
3617 smb.SMB.TRANS2_QUERY_FS_INFORMATION :self.__smbTrans2Handler.queryFsInformation,
3618 smb.SMB.TRANS2_QUERY_PATH_INFORMATION :self.__smbTrans2Handler.queryPathInformation,
3619 smb.SMB.TRANS2_QUERY_FILE_INFORMATION :self.__smbTrans2Handler.queryFileInformation,
3620 smb.SMB.TRANS2_SET_FILE_INFORMATION :self.__smbTrans2Handler.setFileInformation,
3621 smb.SMB.TRANS2_SET_PATH_INFORMATION :self.__smbTrans2Handler.setPathInformation
3626 smb.SMB.SMB_COM_CREATE_DIRECTORY: self.__smbCommandsHandler.smbComCreateDirectory,
3627 smb.SMB.SMB_COM_DELETE_DIRECTORY: self.__smbCommandsHandler.smbComDeleteDirectory,
3628 smb.SMB.SMB_COM_RENAME: self.__smbCommandsHandler.smbComRename,
3629 smb.SMB.SMB_COM_DELETE: self.__smbCommandsHandler.smbComDelete,
3630 smb.SMB.SMB_COM_NEGOTIATE: self.__smbCommandsHandler.smbComNegotiate,
3631 smb.SMB.SMB_COM_SESSION_SETUP_ANDX: self.__smbCommandsHandler.smbComSessionSetupAndX,
3632 smb.SMB.SMB_COM_LOGOFF_ANDX: self.__smbCommandsHandler.smbComLogOffAndX,
3633 smb.SMB.SMB_COM_TREE_CONNECT_ANDX: self.__smbCommandsHandler.smbComTreeConnectAndX,
3634 smb.SMB.SMB_COM_TREE_DISCONNECT: self.__smbCommandsHandler.smbComTreeDisconnect,
3635 smb.SMB.SMB_COM_ECHO: self.__smbCommandsHandler.smbComEcho,
3636 smb.SMB.SMB_COM_QUERY_INFORMATION: self.__smbCommandsHandler.smbQueryInformation,
3637 smb.SMB.SMB_COM_TRANSACTION2: self.__smbCommandsHandler.smbTransaction2,
3638 smb.SMB.SMB_COM_TRANSACTION: self.__smbCommandsHandler.smbTransaction,
3640 smb.SMB.SMB_COM_NT_TRANSACT: self.__smbCommandsHandler.smbNTTransact,
3641 smb.SMB.SMB_COM_QUERY_INFORMATION_DISK: self.__smbCommandsHandler.smbQueryInformationDisk,
3642 smb.SMB.SMB_COM_OPEN_ANDX: self.__smbCommandsHandler.smbComOpenAndX,
3643 smb.SMB.SMB_COM_QUERY_INFORMATION2: self.__smbCommandsHandler.smbComQueryInformation2,
3644 smb.SMB.SMB_COM_READ_ANDX: self.__smbCommandsHandler.smbComReadAndX,
3645 smb.SMB.SMB_COM_READ: self.__smbCommandsHandler.smbComRead,
3646 smb.SMB.SMB_COM_WRITE_ANDX: self.__smbCommandsHandler.smbComWriteAndX,
3647 smb.SMB.SMB_COM_WRITE: self.__smbCommandsHandler.smbComWrite,
3648 smb.SMB.SMB_COM_CLOSE: self.__smbCommandsHandler.smbComClose,
3649 smb.SMB.SMB_COM_LOCKING_ANDX: self.__smbCommandsHandler.smbComLockingAndX,
3650 smb.SMB.SMB_COM_NT_CREATE_ANDX: self.__smbCommandsHandler.smbComNtCreateAndX,
3950 if packet['Command'] == smb.SMB.SMB_COM_TRANSACTION2:
3957 elif packet['Command'] == smb.SMB.SMB_COM_NT_TRANSACT:
3964 elif packet['Command'] == smb.SMB.SMB_COM_TRANSACTION:
3974 if packet['Command'] == smb.SMB.SMB_COM_NEGOTIATE:
4062 respPacket['Flags1'] = smb.SMB.FLAGS1_REPLY
4065 …ket['Flags2'] = smb.SMB.FLAGS2_EXTENDED_SECURITY | smb.SMB.FLAGS2_NT_STATUS | smb.SMB.FLAGS2_LONG_…