Commit graph

910 commits

Author SHA1 Message Date
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
Tal Aloni
d6f6af4854 Updated Readme.md 2022-05-27 13:26:18 +03:00
Jordan Borean
b268988d89
Provide SPN with NTLMv2 token (#134)
Ensure the `MsvAvTargetName` AV Pair is provided with the NTLM v2
authentication message. This is set to the Service Principal Name (SPN)
of the server being connected to.
2022-05-27 13:07:10 +03:00
Tal Aloni
9eba4f5110 SessionSetupHelper: Bugfix: Trim session key if longer than 16 bytes 2022-05-27 11:51:08 +03:00
Tal Aloni
1ac805af51 SessionSetupHelper: Bugfix: Use correct sessionID for session creation in which token is accepted immediately 2022-05-27 11:37:00 +03:00
Kieran Devlin
f8baa1b101
Fixes bug when trying to use local ip address as host name. (#133) 2022-05-27 11:20:07 +03:00
Tal Aloni
5c4b88c759 Update NTStatus.cs: Correct ordering 2021-12-27 22:25:17 +02:00
Jacob Hales
22247a8bae
Adding STATUS_PATH_NOT_COVERED = 0xC0000257 to NTStatus (#120) 2021-12-27 22:18:14 +02:00
Tal Aloni
6b2906b634 SMBServer 1.4.8 2021-12-10 13:49:27 +02:00
Tal Aloni
0099084065 SMBServer: Start Bugfix 2021-12-10 13:44:43 +02:00
Tal Aloni
3c47285484 SMBServer 1.4.7 2021-12-10 10:37:02 +02:00
Tal Aloni
849b99ad83 Client: Correct NetrShareEnum ServerName syntax 2021-12-10 10:21:50 +02:00
Tal Aloni
0ae5986759 Client: Added private Connect overload allowing to specify the server port 2021-12-10 09:17:58 +02:00
Tal Aloni
db007d09e5 SMBServer: Added private Start overload allowing to specify the listening port 2021-12-10 09:15:58 +02:00
Tal Aloni
02c4ab2e22 Documentation XML syntax corrections 2021-11-19 12:46:43 +02:00
Tal Aloni
027b4652fa Documentation syntax corrections 2021-11-19 12:44:14 +02:00
Tal Aloni
083128889a Correct parameter name in documentation 2021-11-19 12:43:09 +02:00
Tal Aloni
557936fbab Client: Use static readonly ResponseTimeoutInMilliseconds instead of cost 2021-10-19 20:30:38 +03:00
Tal Aloni
4ffd9ef128 SMB2Client: Removed unused using statements 2021-10-19 20:29:25 +03:00
Tal Aloni
193ab13777 FileInformation.GetFileInformation: Improved exception message 2021-09-10 20:53:14 +03:00
Tal Aloni
b7f93b06b0 Updated ClientExamples.md 2021-08-21 10:36:06 +03:00
Tal Aloni
1c2bee2b21 SMBLibrary: Increment version to 1.4.6.2 2021-08-20 14:08:30 +03:00
Tal Aloni
1143272786 Client: Added support for accessing Cluster Shared Volumes file shares 2021-08-20 14:08:25 +03:00
Nich Overend
a0bb742dc2
Implement Flush for SMB2 (#93)
Co-authored-by: Nich Overend <nich@opusinvestors.com>
2021-07-22 18:43:00 +03:00
TalAloni
4456bc75c5
Merge pull request #86 from upcu/master
Update NTStatus.cs
2021-06-10 18:55:23 +03:00
Liviu Seniuc
aba8b8a507
Update NTStatus.cs
Acording to https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55
STATUS_PASSWORD_MUST_CHANGE = 0xC0000224
STATUS_AUDIT_FAILED = 0xC0000244
2021-06-10 18:21:57 +03:00
TalAloni
4a184258e6 SMBLibrary: Increment version to 1.4.6.1 2021-04-16 10:50:22 +03:00
TalAloni
e4f4f40ef1 SMB2Client: WaitForCommand: Compare MessageID instead of CommandName 2021-04-16 10:48:04 +03:00
TalAloni
8aaf8641c1 SMB2Command: Add MessageID property 2021-04-16 10:43:26 +03:00
TalAloni
6f2b9fa3ca SMB2Client: Correctly handle async responses 2021-04-15 21:12:38 +03:00
TalAloni
f2c8c22703 NTStatus: Added STATUS_WRONG_PASSWORD 2021-04-13 18:25:51 +03:00
TalAloni
66b64c862b
Updated Readme.md 2021-01-30 12:07:01 +02:00