Commit Graph

48 Commits

Author SHA1 Message Date
yankejustin be78162f63 Changes to output handling of commands
Added an "IsError" property to the ShellCommandResponse to denote if the
response should be handled a certain way (if it is a response to a
ShellCommand error, then print it differently).
Also correctly queues up two different threads on shell initialization.
These ManualResetEvents now will signal the Shell's redirected output to
handle either the output, or the error output. Not at the same time
(will cause deadlocking).
We now append the text instead of concatenating. Not sure how much more
efficient this is, but it is certainly more readable.
2015-05-27 14:46:10 -04:00
MaxXor 6a6b253c0e Added extension methods 2015-05-22 22:12:30 +02:00
DragonzMaster 88f67c717a Small Change to Reverse Proxy
Changing the way was used to calculate send/received data by reverse
proxy
-This change will view the value with decimal point (2 num) to make the
values more accurate
-Changing the func name used from "GetFileSize" to "GetDataSize" ( Found
in xServer.Core.Helper )
2015-05-19 22:17:03 +02:00
yankejustin af20dd54e3 Disposing IDisposable Resources
Dispose of unmanaged resources used by the server's UnsafeStreamCodec
and JpgCompression (because it is pretty related to the
UnsafeStreamCodec). Made sure that the UnsafeStreamCodec was being
disposed of before being re-assigned.
Note: I did not reflect these changes to the client's UnsafeStreamCodec
because the implementation of the client's codec is a bit different in
the CommandHandler. This different implementation caused instability in
the client. In the server, I noticed decreased memory consumption and
decreased fluctuation in the memory used.
2015-05-18 01:10:25 -04:00
yankejustin ac93887af3 Separated the CommandHandler
Divided the server's CommandHandler class into partial classes.
2015-05-15 21:15:44 -04:00
MaxXor ce72b4edc9 Revert "CPU/RAM usage of each process" 2015-05-15 18:58:50 +02:00
yankejustin ae04753f0d Changed server packets for CPU and memory usage
Added two more properties on the GetProcessesResponse packet to provide
properties on CPU and memory usage.
2015-05-14 14:04:46 -04:00
MaxXor 7cb3a406ff Improved adding of new Logs to Listview 2015-05-03 13:38:46 +02:00
MaxXor e8d8e8d58e More fixes to Keylogger 2015-05-01 15:09:45 +02:00
d3agle f1942aa253 Fixed some logic
fixed a few logic errors
2015-04-23 10:46:54 -05:00
d3agle 62826a39e6 Added Hookless Keylogger
-added hookless keylogger class with unicode support
-logs on keylogger class are saved in html format
-added keylogger form using webbrowser to load the log as an html file
-added context menu keylogger option under surveillance
-started keylogger setting enable/disable on client file execution
(didn't complete this, wasn't sure how to do it properly.  just added
the setting in the settings class and in program class for the logic.
only thing left is the server side stuff)

left todo:
-encryption/decryption of logs if desired
-options to enable/disable when building client, etc...
2015-04-22 14:39:52 -05:00
MaxXor c4b0ba3fc3 Fixed & improved some cross thread calls (#66) 2015-04-22 15:45:03 +02:00
MaxXor 64a9156d41 Added option to enable/disable Client Tooltips 2015-04-21 21:46:48 +02:00
Abdullah Saleem bfb20ce933 SystemInfo as ToolTip 2015-04-22 00:08:55 +05:00
MaxXor df5ce2f893 Fixed code formatting
Replaced all tabs in code with 4 spaces and did some general renaming.
2015-04-21 20:27:52 +02:00
MaxXor 21cdd34546 Removed redundant type cast 2015-04-14 20:36:32 +02:00
d3agle abd31f9a94 Fixed Remote Desktop Bug
Fixed a bug where changing resolutions while Remote Desktop is running
would crash both the client + server.  This fix ensures that the Remote
Desktop features continues to run accurately after changing resolutions
on the client.
2015-04-14 04:58:48 -05:00
MaxXor 27cda8f80b Fixed Remote Desktop crash
- Fixed Remote Desktop crash when using multiple monitors with different
resolution
2015-04-13 09:16:44 +02:00
Justin Yanke d495eddac5 Fixed a possible CrossThreadException
Fixed a potential CrossThreadException. Would have gotten an error if this method was called by a different Thread because FrmSi's 'lstSystem' would be accessed by the wrong Thread.
2015-04-09 12:46:12 -04:00
Justin Yanke 7acde73f3d Removed unnecessary null check
Removed unnecessary null check for FrmSi (already checked in the method).
2015-04-09 12:23:56 -04: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
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
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
MaxXor 5d20aad9d6 Fixed File Download in File Manager (#36) 2015-04-04 17:22:20 +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 a54c6db38f Fixing new bugs 2015-03-31 18:15:48 +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 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 5855fc9adf Removed unnecessary ThreadStart 2015-03-18 18:58:17 +01:00
MaxXor 1a13442c12 Fixed tabs in code 2015-03-18 18:12:09 +01: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 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 e20927d586 Added basic Startup Manager
- Some minor fixes
- Updated copyright year
2015-02-24 12:13:04 +01:00
MaxXor 213cb361b7 Refactored Forms and Classes 2015-01-27 23:47:13 +01:00
MaxXor 2544f3a230 Refactored class access modifiers 2015-01-13 19:43:55 +01:00
MaxXor e3ad2f0716 Refactored namespace 2015-01-13 19:29:11 +01:00
MaxXor 68061e2d12 Added dynamic sizes for system information
It's now very easy to add new system information, only the client needs
the modification now.

See file 'Client\Core\Commands\CommandHandler.cs' method
'HandleGetSystemInfo'
2014-07-18 17:39:19 +02:00
MaxXor 034b6242f4 Initial commit with everything else 2014-07-08 14:58:53 +02:00