Commit Graph

200 Commits

Author SHA1 Message Date
yankejustin 8ecd568acf Fixed the loop that attempts to forward a port
If the endpoint was null, the loop would break anyways, not allowing up
to 5 retries (only got 1 try).
2015-04-07 12:38:34 -04:00
yankejustin b927aae0f8 Make sure to dispose of old Socket
Made sure the server disposed of the Socket when Server.Listen(ushort)
is called if the Socket was created before (called Server.Listen(ushort)
previously but stopped listening).
2015-04-07 12:27:56 -04:00
MaxXor 539a9b3d5b Changed KeepAlive Interval 2015-04-06 20:49:34 +02:00
MaxXor 12a0da6288 Improved KeepAlive and Extension Methods 2015-04-06 20:33:34 +02:00
MaxXor 29a5a258ea Fixed another cross threading bug 2015-04-06 20:33:00 +02:00
MaxXor aacd1e0f33 Merge pull request #46 from Abdullah2993/master
Added new KeepAlive method
2015-04-06 19:58:09 +02:00
Abdullah Saleem 957ae2c0ef New KeepAlive Added
Previous method of keep alive removed.
2015-04-06 22:40:54 +05:00
MaxXor a2091564fd Fixed tabs 2015-04-06 19:35:48 +02:00
d3agle f624028755 Small fix for RDP
moved static field to property so command handler gets the initial -1
check starting rdp
2015-04-06 12:20:00 -05:00
Abdullah Saleem 46bd17c4fa Cross-Thread exception handled
Cross-Thread exception  on Uninstall
2015-04-06 22:12:56 +05:00
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
Abdullah Saleem 860b59ac7d Configurable KeepAlive added 2015-04-05 15:41:26 +05: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
MaxXor e20927d586 Added basic Startup Manager
- Some minor fixes
- Updated copyright year
2015-02-24 12:13:04 +01:00
MaxXor 584ea70797 Delete frmRemoteDesktop.Designer.cs 2015-01-29 10:02:44 +01:00
MaxXor bdc9cec67a Delete frmRemoteDesktop.cs 2015-01-29 10:02:40 +01:00
MaxXor ea050b054d Delete frmRemoteDesktop.resx 2015-01-29 10:02:35 +01:00
MaxXor 7ceb603cca Delete frmRemoteShell.Designer.cs 2015-01-29 10:02:29 +01:00
MaxXor 6421454cd5 Delete frmRemoteShell.cs 2015-01-29 10:02:25 +01:00
MaxXor 2da0f3cddc Delete frmRemoteShell.resx 2015-01-29 10:02:19 +01:00
MaxXor 4b86ab992b Delete frmSettings.Designer.cs 2015-01-29 10:02:13 +01:00
MaxXor 0d9e290826 Delete frmSettings.cs 2015-01-29 10:02:08 +01:00
MaxXor d2fbfd1727 Delete frmSettings.resx 2015-01-29 10:02:03 +01:00
MaxXor 0c1ab698c6 Delete frmShowMessagebox.Designer.cs 2015-01-29 10:01:57 +01:00
MaxXor 7c002fe44e Delete frmShowMessagebox.cs 2015-01-29 10:01:53 +01:00
MaxXor 93f1da599e Delete frmShowMessagebox.resx 2015-01-29 10:01:47 +01:00
MaxXor 099b29867b Delete frmStatistics.Designer.cs 2015-01-29 10:01:42 +01:00
MaxXor c8ad1ea4e8 Delete frmStatistics.cs 2015-01-29 10:01:38 +01:00
MaxXor 87f00a80ab Delete frmStatistics.resx 2015-01-29 10:01:32 +01:00
MaxXor 28075a3a9a Delete frmSystemInformation.Designer.cs 2015-01-29 10:01:24 +01:00
MaxXor d59a1a683a Delete frmSystemInformation.cs 2015-01-29 10:01:20 +01:00
MaxXor c2386327e0 Delete frmSystemInformation.resx 2015-01-29 10:01:13 +01:00
MaxXor f20ed75c1e Delete frmTaskManager.Designer.cs 2015-01-29 10:01:06 +01:00
MaxXor bf33c0d5c8 Delete frmTaskManager.cs 2015-01-29 10:01:01 +01:00
MaxXor 3aed89fcae Delete frmTaskManager.resx 2015-01-29 10:00:55 +01:00
MaxXor 4eefef8c6b Delete frmTermsOfUse.Designer.cs 2015-01-29 10:00:47 +01:00
MaxXor 20845083d4 Delete frmTermsOfUse.cs 2015-01-29 10:00:42 +01:00
MaxXor f3ca379e67 Delete frmTermsOfUse.resx 2015-01-29 10:00:37 +01:00
MaxXor 7128188995 Delete frmUpdate.Designer.cs 2015-01-29 10:00:30 +01:00
MaxXor 4d5dd5380b Delete frmUpdate.cs 2015-01-29 10:00:26 +01:00
MaxXor b553ce24d1 Delete frmUpdate.resx 2015-01-29 10:00:22 +01:00
MaxXor 1df657bcda Delete frmUploadAndExecute.Designer.cs 2015-01-29 10:00:15 +01:00
MaxXor 1a26173acc Delete frmUploadAndExecute.cs 2015-01-29 10:00:10 +01:00
MaxXor 73e08763b7 Delete frmUploadAndExecute.resx 2015-01-29 10:00:05 +01:00
MaxXor 9fc404f98b Delete frmVisitWebsite.Designer.cs 2015-01-29 09:59:59 +01:00
MaxXor de09ca4a68 Delete frmVisitWebsite.cs 2015-01-29 09:59:54 +01:00
MaxXor 15969516a7 Delete frmVisitWebsite.resx 2015-01-29 09:59:49 +01:00
MaxXor 332e962812 Delete frmMain.resx 2015-01-29 09:59:40 +01:00
MaxXor 8c21fb12d1 Delete frmMain.cs 2015-01-29 09:59:34 +01:00
MaxXor bb2918e297 Delete frmMain.Designer.cs 2015-01-29 09:59:21 +01:00
MaxXor 9005c9b501 Delete frmFileManager.resx 2015-01-29 09:59:11 +01:00
MaxXor 40a967019f Delete frmFileManager.cs 2015-01-29 09:58:54 +01:00