Commit graph

891 commits

Author SHA1 Message Date
Tal Aloni
ca718e343e GSSAPI: SimpleProtectedNegotiationTokenInit: Add GetMechanismTypeListBytes method 2024-01-06 15:09:13 +02:00
Tal Aloni
2667b5439e GSSAPI: SimpleProtectedNegotiationTokenInit: Extracted GetEncodedMechanismTypeListLength method 2024-01-06 15:07:08 +02:00
Tal Aloni
dad516b223 NBTConnectionReceiveBuffer: Avoid exception when calling Dispose twice 2023-12-31 00:27:48 +02:00
Tal Aloni
d34f014eab Server: Dispose of ReceiveBuffer after receiving invalid packets 2023-12-31 00:27:48 +02:00
Tal Aloni
e31df2a797 Client: Fix ArgumentNullException following recent ArrayPool usage 2023-12-31 00:27:48 +02:00
Tal Aloni
cb2c50a7c3 NTLMCryptography: Add ComputeSignKey and ComputeSealKey methods and tests 2023-12-31 00:27:39 +02:00
Tal Aloni
c090de02ec NTLMCryptography: Minor styling change 2023-12-30 20:40:23 +02:00
Tal Aloni
7628bb6ba8 NTLM: NTLMAuthenticationClient: Store negotiate message as class variable 2023-12-30 20:40:23 +02:00
Tal Aloni
08748d3337 NTLM: AuthenticateMessage: Add CalculateMIC method 2023-12-30 20:40:23 +02:00
Tal Aloni
2b92e1b5f6 Client: NTLMAuthenticationClient.GetAuthenticateMessage: Renamed variable 2023-12-30 20:40:23 +02:00
Tal Aloni
787df79c8d NTLMCryptography: Added ValidateAuthenticateMessageMIC method and updated tests to use it 2023-12-30 20:40:23 +02:00
Tal Aloni
a9f995c172 NTLM: AuthenticateMessage: Added GetMicFieldOffset method and MicFieldLenght constant 2023-12-30 20:40:23 +02:00
Tal Aloni
ce6921cb03 Client: ProcessConnectionBuffer: Improved logging 2023-12-30 13:04:09 +02:00
Tal Aloni
d62c5913ec Tests: LoginTests: Add test 2023-12-22 13:03:26 +02:00
Tal Aloni
989b051527 Tests: Added LoginTests 2023-12-22 12:43:32 +02:00
Tal Aloni
64721a2d42 Client: Mark method allowing to set port as internal 2023-12-22 12:43:32 +02:00
Tal Aloni
a80c2d10d0 Server: Mark method allowing to set port as internal 2023-12-22 12:43:32 +02:00
Tal Aloni
856a2cc7d4 Update RPCTests 2023-12-22 12:40:02 +02:00
Tal Aloni
c5b432efe8 Tests: Remove unused methods 2023-12-22 12:39:06 +02:00
Tal Aloni
dbfab05f17 Update Test project to MSTest v2 2023-12-22 12:06:08 +02:00
Tal Aloni
576c8c499b Remove Visual Studio 2005 Support 2023-12-22 11:39:16 +02:00
Tal Aloni
0adfbd8ce1 Update Visual Studio 2005 project file 2023-12-14 20:07:04 +02:00
maharrabi
b988c3feb0
Add access denied ace support (#236)
Co-authored-by: Mohammed Aharrabi <AIM@gtt.fr>
2023-12-14 19:55:57 +02:00
Tal Aloni
f3883fa8f5 NBTConnectionReceiveBuffer: Use ArrayPool rent buffers 2023-12-14 19:51:13 +02:00
Tal Aloni
94577969cd NBTConnectionReceiveBuffer: Implement dispose pattern 2023-12-14 19:47:35 +02:00
Tal Aloni
d6a1497076 Client: ConnectionState: Remove unused using statements 2023-12-14 19:43:05 +02:00
Tal Aloni
1554e2b6fc SMBLibrary: Increment version to 1.5.0.3 2023-12-11 12:43:03 +02:00
Tal Aloni
4152ab4988 SMBLibrary: Increment version to 1.5.0.2 2023-11-25 22:44:58 +02:00
Jon Tirjan
45dbf282fb
SMB2Client: Add ability to control response timeout (#232)
* SMB2Client Timeout Config & Exception

* Revert gitignore

* Revert TimeoutException
2023-11-09 20:43:32 +02:00
Tal Aloni
660442e778 Client: Improve disconnection detection 2023-10-27 14:30:20 +03:00
Tal Aloni
3a7e36b6d1 Client: Added API to provide custom authentication 2023-10-27 12:52:55 +03:00
Tal Aloni
a0b07521a1 SMBLibrary: Increment version to 1.5.0.1 2023-07-30 00:08:41 +03:00
Tal Aloni
2e33492ff0 Update Copyright property 2023-07-30 00:08:41 +03:00
Tal Aloni
4fe937b7db Remove unused using statements 2023-07-29 17:23:50 +03:00
Tal Aloni
f5d5952230 LittleEndianConverter: Remove unused using statement 2023-07-29 17:23:50 +03:00
Tal Aloni
dd026cf704 Client: Support anonymous login 2023-07-29 17:23:44 +03:00
Tal Aloni
4c3d3b542f Added stream related methods to LittleEndianWriter.cs 2023-06-02 22:40:21 +03:00
Tal Aloni
ecce6f9311 SMBServer 1.5.0 2023-05-20 09:50:54 +03:00
Tal Aloni
0416e5670d NTLMCryptography: Add .NET 5.0 \ 6.0 support 2023-05-20 09:46:03 +03:00
Gabe Kirkpatrick
4c59c21670
Server: Fix issue when GSSAPI SessionKey is null (#182) 2023-05-19 09:20:34 +03:00
bruh
23fbe4feca
Added markdown code block highlighting for C# (#178) 2023-04-15 00:27:00 +03:00
Tal Aloni
3d420c5256 Client: Prefer IPv4 when resolving DNS hostname 2023-03-04 20:13:05 +02:00
Tal Aloni
79486ffe45 Client: Allow reusing client instance 2023-03-04 19:54:48 +02:00
Tal Aloni
4aee674956 Connect: Add private overload to set response timeout 2023-03-04 19:38:48 +02:00
Kieran Devlin
d56a50c49b
Sets the socket address family to the one decided by the address passed in. (#148) 2022-11-07 08:02:16 +02:00
Tal Aloni
7d07f65f7f Client: Added IsConnected property 2022-10-28 14:47:03 +03:00
Tal Aloni
921b672437 SMBServer 1.4.9 2022-10-28 14:12:32 +03:00
Tal Aloni
de28e672f9 NTFileSystemAdapter: Avoid modifications of entries returned from IFileSystem 2022-10-28 13:53:55 +03:00
Tal Aloni
c1979716fb Server: SMB2: Correctly handle invalid SessionSetup request containing a sessionID already in use 2022-10-28 13:53:52 +03:00
Tal Aloni
de3ea8d4eb SSPIHelper: Code refactoring: Moved NTLM functionality to a separate class 2022-05-27 13:44:11 +03:00