Commit Graph

139 Commits

Author SHA1 Message Date
MaxXor ee19378725 Use object initializer 2015-04-06 10:46:10 +02:00
MaxXor c61de89cea Merge pull request #43 from d3agle/master
Fixed Server crash when closing the Remote Desktop form while it's still running
2015-04-06 10:38:20 +02:00
MaxXor 2ba4ed82ff Merge pull request #41 from d3agle/master
Form disposal on client disconnection
2015-04-06 10:35:26 +02:00
MaxXor bec3e7daab Fixed File Upload & Execute (#39) 2015-04-06 10:06:33 +02:00
d3agle d2530396e4 Bugfix #2 with Remote Desktop
added try catch blocks due to server application crashing while closing
the remote desktop form.  If timed right, while closing the remote
desktop form, the command handler would be in the midst of accessing an
already disposed form causing server to hang.
2015-04-04 21:10:42 -05:00
d3agle 9058ec53cc Form disposal on client disconnection
Added disposal method to dispose of all userstate forms for client upon
disconnection of the client from the server
2015-04-04 16:48:52 -05:00
MaxXor 5d20aad9d6 Fixed File Download in File Manager (#36) 2015-04-04 17:22:20 +02:00
MaxXor 3bdab0b9e7 Improved Statistics 2015-04-04 17:04:53 +02:00
MaxXor b3f63d0a79 Fixed cross threading bug 2015-04-03 10:18:57 +02:00
MaxXor 720930f583 Fixed #38 2015-04-03 10:18:52 +02:00
MaxXor d140ca438e Improved Remote Desktop
- Added ability to change quality of remote desktop
- Fixed another cross threading crash
2015-04-02 10:26:57 +02:00
MaxXor 43ea61b537 Fixed Remote Desktop crash when resizing window 2015-04-01 16:24:48 +02:00
MaxXor 2a157a4df0 Cleanup 2015-03-31 22:37:38 +02:00
DragonHunter 5e3e2704f6 Probably fixed Remote Desktop Memory Leak
Probably fixed Remote Desktop Memory Leak, needs more testing but
overall stays between 50-100MB
Added UnsafeStreamCodec
2015-03-31 20:38:16 +02:00
MaxXor 5b54dcb52f More fixes 2015-03-31 18:45:31 +02:00
MaxXor 261dff32a9 Fixed reconnect of client 2015-03-31 18:34:29 +02:00
MaxXor a54c6db38f Fixing new bugs 2015-03-31 18:15:48 +02:00
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
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 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 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
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 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 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 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
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 84b7fc901e Fixed ProtoWriter Dispose
this broke protobuf
2015-03-17 22:28:03 +01:00
MaxXor 1b00c9d9ec Corrected small differences 2015-03-17 22:05:04 +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 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 108e61f4eb Removed unnecessary comments due to changes to ProtoBuf 2015-03-17 10:34:31 +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
yankejustin 79588d4ea8 Dispose of the stream
Disposed of the stream correctly. Setting to null will NOT call dispose.
2015-03-16 13:24:53 -04:00
d3agle e64819673d Bugfix with listen server
Added null check for keepalive timer callback to prevent server
application from crashing when stopping the listen server when client(s)
connect and initiate the keepalive timer
2015-03-14 09:10:45 -05:00
MaxXor 21dc5b766f Removed unused using references 2015-03-08 18:16:52 +01:00
MaxXor 0d106a4f8b Added option to add files to autostart 2015-03-08 18:13:13 +01:00
MaxXor 8851f5806a Fixed a missing disposing of modal dialog box 2015-03-08 18:11:31 +01:00
MaxXor 38e05294a2 Updated copyright year 2015-02-25 08:59:43 +01:00
MaxXor 87955c45eb Removed unused reference 2015-02-24 12:16:14 +01:00