Commit Graph

386 Commits

Author SHA1 Message Date
DragonHunter 73620c796b Stable Client & Compression Fix
Fixed the compression / encryption order (Compression always failed)
Made the Client more stable but theres a bug with the Keep Alive
packets, need to be checked
2015-03-31 16:35:42 +02:00
MaxXor 4ca83325c7 Merge pull request #33 from AnguisCaptor/master
Cross Threading bugfix
2015-03-31 09:59:00 +02:00
DragonHunter 5b62fd3f60 Fixed Control Cross Threading
Fixed crash fix Control Cross Threading when a client connects
2015-03-31 09:43:54 +02:00
MaxXor 04d5189266 Fixed RemoteShell 2015-03-27 12:47:14 +01:00
MaxXor 68d9627503 Removed unecessary variable
- Removed unecessary namespaces in code
- Changed xRAT file description
2015-03-27 11:13:02 +01:00
MaxXor 763de6a86c Faster creation of random file names 2015-03-21 19:14:00 +01:00
MaxXor 0e1e566ce3 Merge pull request #30 from yankejustin/master
Efficiency increase
2015-03-20 21:26:51 +01:00
yankejustin b462be3b3a Efficiency increase
String concatenation is exponentially slower than StringBuilder. This
optimization will increase the speed greatly.
2015-03-20 14:09:08 -04:00
yankejustin ae609257d6 Merge pull request #1 from MaxXor/master
Merge with most recent respository
2015-03-20 11:49:46 -04:00
MaxXor 7a0fd84428 Small change 2015-03-20 14:52:49 +01:00
MaxXor 6a5ac88b2d Fixed wrong All Time Connected Clients
Each client has now an unique identifier (hashed MAC-address)
2015-03-20 14:45:58 +01:00
MaxXor b4100ecab0 Small fixes 2015-03-20 14:16:29 +01:00
MaxXor d5047b6813 Merge pull request #28 from yankejustin/master
Fixed missing invoke in Remote Desktop
2015-03-19 18:17:24 +01:00
yankejustin d5ad3c69b3 Removed unnecessary brackets
Removed unnecessary brackets to increase code readability in the other
ProtoBuf\Meta\ValueMember.cs so they are identical.
2015-03-19 12:12:18 -04:00
yankejustin 7f842d44fb Removed unnecessary brackets
Cleanup - Removed unnecessary brackets to increase readability.
2015-03-19 12:10:54 -04:00
yankejustin 89d661601f Fixed issue with the Remote Desktop
Fixed an issue where Remote Desktop would not work (threw infinite
InvalidOperationExceptions) because cbMonitors.SelectedIndex was trying
to be accessed on a different thread.
Moved code that gets the SelectedIndex inside the MethodInvoker.
2015-03-19 11:47:00 -04:00
MaxXor 5855fc9adf Removed unnecessary ThreadStart 2015-03-18 18:58:17 +01:00
MaxXor 90a4d4a89f Added bitmap to cleanup 2015-03-18 18:57:51 +01:00
MaxXor 7fcbbf58d3 Merge pull request #25 from MaxXor/pr/24
Merged branch with more fixes
2015-03-18 18:14:17 +01:00
MaxXor fa038ad22c Minor fix 2015-03-18 18:12:56 +01:00
MaxXor 76ca01a420 Minor null reference fix 2015-03-18 18:12:45 +01:00
MaxXor 1a13442c12 Fixed tabs in code 2015-03-18 18:12:09 +01:00
yankejustin b95f7f9268 Disposed of process on the shell closing
Disposed of any additional resources that weren't being disposed after
closing the shell session.
Also told the garbage collector to suppress finalization if we have
already told the session to close. No reason to clean the object twice!
:)
2015-03-17 18:54:03 -04:00
yankejustin c6b57f8110 Dispose of the memory stream in Helper class
Disposes of the memory stream created in the server's helper class that
converts an image.
2015-03-17 18:35:53 -04:00
yankejustin 79f9ca0cba Made sure the TcpClient will always kill itself
Placed TcpClient in a try-finally to make sure it will never linger if
it (likely) cannot connect successfully.
2015-03-17 18:30:12 -04:00
yankejustin 7fd83c87be Removed label to increase readability
Removed a label and implemented a more-common do-while loop for retry
functionality.
2015-03-17 18:22:09 -04:00
yankejustin 6243e470b4 CommandHandler Bitmap Disposal
Correctly disposes of the Bitmaps used in both of the CommandHandlers.
2015-03-17 18:07:16 -04:00
yankejustin 4856568bff Merge pull request #3 from MaxXor/master
Merge with master branch
2015-03-17 17:52:07 -04:00
MaxXor b7fced1753 Removed unused variable 2015-03-17 22:31:11 +01:00
MaxXor 6bc4e9102d Multi-Threaded SendQueue 2015-03-17 22:28:51 +01:00
MaxXor d232ac8b86 Minor fix 2015-03-17 22:28:13 +01:00
MaxXor 84b7fc901e Fixed ProtoWriter Dispose
this broke protobuf
2015-03-17 22:28:03 +01:00
MaxXor b45ebd33ae Merge pull request #23 from MaxXor/pr/22
Merged branch with fixes for memory leaks
2015-03-17 22:06:23 +01:00
MaxXor 1b00c9d9ec Corrected small differences 2015-03-17 22:05:04 +01:00
yankejustin 1bed14532c Reflected changes to ProtoBuf classes
Reflected the changes made to the ProtoBuf classes to both sides.
2015-03-17 14:08:22 -04:00
yankejustin 245fb58ad4 Merge pull request #2 from MaxXor/master
Merged request from newest branch
2015-03-17 14:04:32 -04:00
yankejustin 8605b37f61 Minor change 2015-03-17 14:01:23 -04:00
MaxXor c598beb66b Removed unnecessary CloseShell call 2015-03-17 18:47:48 +01:00
yankejustin ba2f2a0b2a Correctly implemented IDisposable
Correctly implemented IDisposable on the client's and server's
ProtoWriter.
2015-03-17 13:28:23 -04:00
yankejustin 9a10e2f992 Correctly implemented IDisposable
Correctly implemented IDisposable on the client's ProtoWriter.
2015-03-17 12:49:22 -04:00
yankejustin be233599db Dispose of MemoryStream
IExtension.EndAppend is responsible for cleaning up stream (as it
stated). However, this method created a new memory stream from the
stream sent to the method that was not cleaned up.
2015-03-17 12:30:59 -04:00
MaxXor 4184bbb1e4 Minor change 2015-03-17 17:22:42 +01:00
yankejustin 2fd2001057 Merge pull request #1 from MaxXor/master
Merge most current version with fork
2015-03-17 11:58:42 -04:00
MaxXor 108e61f4eb Removed unnecessary comments due to changes to ProtoBuf 2015-03-17 10:34:31 +01:00
MaxXor ea618d9740 Fixed tabs in code 2015-03-17 10:30:28 +01:00
MaxXor 16be5340f4 Minor fix 2015-03-17 10:28:46 +01:00
MaxXor fb0c9588fe Dispose of the stream 2015-03-17 10:28:35 +01:00
MaxXor 78799511c7 Merge pull request #19 from yankejustin/master
Behavior Consistency and Memory Leaks
2015-03-17 10:18:15 +01:00
MaxXor d9070d0d34 Improved Remote Execution 2015-03-17 10:11:26 +01:00
MaxXor a1a4cfb53e Fixed disposing of GDI objects in Statistics Form 2015-03-17 10:10:19 +01:00