Commit graph

601 commits

Author SHA1 Message Date
Tal Aloni
2f78339fc8 TransactionRequest: Improved GetBytes implementation 2017-02-04 12:11:18 +02:00
Tal Aloni
ac4fcae871 Added copyright notice 2017-02-04 01:26:14 +02:00
Tal Aloni
0241d5c055 Improved NetBIOS name server implementation 2017-02-04 01:23:49 +02:00
Tal Aloni
dd8e867693 NetBIOS name service packets implementation refactoring 2017-02-03 23:50:19 +02:00
Tal Aloni
9d8ee88f1e SMBServer v1.1.1 2017-02-03 01:34:00 +02:00
Tal Aloni
4dbc92fb34 Updated Readme.txt 2017-02-03 01:34:00 +02:00
Tal Aloni
c2ed2ea102 NTFileSystemHelper: Handle IFileSystem related ArgumentException 2017-02-03 01:19:22 +02:00
Tal Aloni
38b9829d6a DirectoryFileSystem: Updated ValidatePath to verify that path starts with a blackslash 2017-02-03 01:11:29 +02:00
Tal Aloni
efbf28036e DirectoryFileSystem: Updated Name property to return the name of the underlying file system 2017-02-03 00:20:56 +02:00
Tal Aloni
c94ea8ad68 Win32 authentication: fail authentication if AcceptSecurityContext return SEC_E_INVALID_TOKEN 2017-02-03 00:06:01 +02:00
Tal Aloni
acf3a99214 Return STATUS_INVALID_PARAMETER instead of STATUS_SMB_BAD_COMMAND when client tries to perform operation on mismatching share 2017-02-02 23:25:16 +02:00
Tal Aloni
7c3e6edf84 Return STATUS_INVALID_SMB instead of STATUS_SMB_BAD_COMMAND when usage of SMB_COM_NEGOTIATE is invalid 2017-02-02 23:23:22 +02:00
Tal Aloni
e1a2710bbd SMB1: Return STATUS_INVALID_SMB when transaction subcommand is invalid 2017-02-02 23:19:34 +02:00
Tal Aloni
fddc896cf6 SMB1: Return STATUS_NOT_IMPLEMENTED when receiving Remote Administration Protocol requests 2017-02-02 23:16:53 +02:00
Tal Aloni
28eeb61f27 SMB1: TransactionHelper: Added ability to use the Name parameter of SMB_COM_TRANSACTION 2017-02-02 23:11:39 +02:00
Tal Aloni
6f22af8bf8 NTTransactionRequest: Improved readability 2017-02-02 23:00:52 +02:00
Tal Aloni
dfbf01d538 TransactionRequest: Improved GetBytes implementation 2017-02-02 22:58:23 +02:00
Tal Aloni
d3a0a290c5 Corrected TransactionCallNamedPipeRequest / TransactionWaitNamedPipeRequest parameter name 2017-02-02 22:56:06 +02:00
Tal Aloni
b24345b5ca NTFileSystemHelper: Added OpenFile helper method 2017-02-02 22:53:40 +02:00
Tal Aloni
2460401955 NTFileSystemHelper: CreateFile: Updated logging messages 2017-02-02 22:50:24 +02:00
Tal Aloni
c4b6d9a08b Use FileId of previous request in request chain if operations are related 2017-02-01 23:19:41 +02:00
Tal Aloni
e597bd082a FindEntries will now properly handle directory path without backslash termination 2017-02-01 23:17:21 +02:00
Tal Aloni
88204faf9b SMB2: Honor SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB flag 2017-02-01 23:05:42 +02:00
Tal Aloni
092869efa1 SMB2: implemented server-initiated SPNEGO authentication 2017-01-23 22:51:21 +02:00
Tal Aloni
ee55b59a2f Return STATUS_ACCESS_DENIED when writing to file that was opened for reading and vice versa 2017-01-22 22:26:14 +02:00
Tal Aloni
1679629b47 Fixed InvalidCastException during SMB 2.002 connection 2017-01-22 22:24:42 +02:00
Tal Aloni
3539d3bd31 Updated Readme.md 2017-01-21 11:15:30 +02:00
Tal Aloni
723df4698b Updated UI to enable selection of SMB1.0/CIFS and/or SMB 2.0 / 2.1 2017-01-20 22:06:09 +02:00
Tal Aloni
55b83add4e Added SMB 2.0 / 2.1 server implementation 2017-01-20 22:04:07 +02:00
Tal Aloni
966096df5f Added SMB2 command structures and enums 2017-01-20 17:25:57 +02:00
Tal Aloni
d5b73a8f9d Added MS-FSCC enums and structures required for SMB2 2017-01-20 17:24:37 +02:00
Tal Aloni
cbe4160675 SMBServer v1.1.0 2017-01-20 15:03:33 +02:00
Tal Aloni
876e1dd43f ObjectIDBufferType1: Updated summary 2017-01-20 14:52:29 +02:00
Tal Aloni
b509b6d0be Updated Utilities 2017-01-20 13:56:57 +02:00
Tal Aloni
0641ccd6cf PrefetchStream: changed debug message 2017-01-20 13:56:57 +02:00
Tal Aloni
a8ea9554d0 Added logging of GetFileInformation and GetFileSystemInformation failures 2017-01-20 13:56:56 +02:00
Tal Aloni
7791f27276 Added SMB1FileSystemHelper.SetFileInformation helper method 2017-01-20 13:56:53 +02:00
Tal Aloni
7eb4c1ab2b GetFileInformation and GetFileSystemInformation now return NTStatus. STATUS_OS2_INVALID_LEVEL will now be returned when applicable. 2017-01-19 23:02:38 +02:00
Tal Aloni
859e939cff Minor refactoring 2017-01-19 22:57:46 +02:00
Tal Aloni
0a6a4fcf44 Added InformationLevel property to the SetInformation abstract class 2017-01-19 22:29:16 +02:00
Tal Aloni
841a267cdf Splitted InfoHelper to SMB1FileSystemHelper.Find / SMB1FileSystemHelper.Query / SMB1FileSystemHelper.QueryFileSystem 2017-01-19 22:21:12 +02:00
Tal Aloni
6170622714 Moved DeviceCharacteristics, DeviceType and FileSystemAttributes to Enums\FileSystemInformation and updated names 2017-01-19 22:10:04 +02:00
Tal Aloni
6772c0c33e IsNTLMv1ExtendedSecurity and IsNTLMv2NTResponse methods added to AuthenticationMessageUtils 2017-01-19 22:05:08 +02:00
Tal Aloni
f6feaced77 NTLMv2ClientChallenge: Renamed variables, exposed reserved fields 2017-01-19 22:00:17 +02:00
Tal Aloni
efc8c683ea AuthenticateMessage: Added comments 2017-01-19 21:53:04 +02:00
Tal Aloni
017a96240f Renamed NTLMv2ClientChallengeStructure class to NTLMv2ClientChallenge 2017-01-19 21:51:18 +02:00
Tal Aloni
1b8629ecb1 IndependentUserCollection: Renamed parameters and variables 2017-01-19 02:13:22 +02:00
Tal Aloni
29828befb4 Set NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY if applicable and improve code readability 2017-01-19 02:10:58 +02:00
Tal Aloni
0ee31e432b Use 48 as minimum length for NTLMv2's NtChallengeResponse 2017-01-19 02:09:04 +02:00
Tal Aloni
d9b661f829 NTLMv2ClientChallengeStructure: Added comments 2017-01-19 02:01:31 +02:00