yankejustin
9e175378fc
Must use static readonly instead of const
...
Instead of using const, we must use static readonly...
2015-05-21 12:23:54 -04:00
yankejustin
8cbab66bf8
Forgot to initialize const string array
2015-05-21 12:20:45 -04:00
yankejustin
d100c47091
More meaningful exception for Client Helper
...
More meaningful exception is thrown for the Client's Helper class'
GetDiffDesktop method.
2015-05-21 12:16:18 -04:00
yankejustin
21261270d8
Moved string array to class-level
...
Moved string array for file size units to a class-level const string
array for performance.
2015-05-21 12:14:41 -04:00
yankejustin
8b20dee5e1
More meaningful exceptions
...
FileSplit provides more meaningful exceptions.
2015-05-21 12:12:02 -04:00
yankejustin
d022e55cc7
Slight performance boost
...
Break out of the loop when a subtype's derived type is found to match.
2015-05-20 09:52:26 -04:00
yankejustin
983068e0ec
Fixed redundant type specification
...
Fixed redundant type specification for the rest of the packets.
2015-05-18 21:53:25 -04:00
yankejustin
3990494d47
Fixed redundant type specification
...
Fixed redundant type specification for the server's packets.
2015-05-18 21:01:38 -04:00
yankejustin
6c12e0b7ec
Respect the packet's type
...
One of the overloaded Send methods for the client and the server now
accepts the generic parameter.
2015-05-18 20:43:15 -04:00
Justin Yanke
d20dcc3fed
Merge pull request #3 from MaxXor/master
...
Merge with most recent branch
2015-05-18 20:28:19 -04:00
MaxXor
ae93f37ded
Improved setting of WorkingDirectory in RemoteShell
2015-05-18 22:09:16 +02:00
MaxXor
dc0592aad5
Small fix #2
2015-05-18 22:03:53 +02:00
MaxXor
2394409f7b
Small fix
2015-05-18 21:57:35 +02:00
MaxXor
98ffd687f9
Implemented IDisposable in RemoteShell
2015-05-18 21:45:14 +02:00
MaxXor
1ddc248fa3
Merge pull request #146 from MaxXor/pr/145
...
Improved UnsafeStreamCodec code
2015-05-18 18:08:06 +02:00
MaxXor
8866103318
Reformatted UnsafeStreamCodec
2015-05-18 18:07:22 +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
af591e1d3a
Formatted code of UnsafeStreamCodec
...
Formatted the code for UnsafeStreamCodec for readability and consistency
with the rest of the code in the program.
2015-05-18 00:37:12 -04:00
yankejustin
d1e04a98a8
Removed clearing of local lists + setting to null
...
Setting objects to null would be optimized out. Clearing lists probably
would not be optimized out. There is no need to explicitly clear a list
of items or setting objects to null in C#. We must let the Garbage
Collector have its way.
2015-05-17 23:58:08 -04:00
yankejustin
95a271554b
Removed unnecessary comment
...
Removed commented-out (archived) code.
2015-05-17 23:54:40 -04:00
yankejustin
ab19a9fbef
Make the lock readonly
...
Made the lock for the codec readonly. This makes it impossible for a
spot (excluding constructors) from touching the lock. Tampering with the
lock means that, if something acquires the lock and enters critical
code, the lock can be changed and the critical code's thread safety can
be violated.
2015-05-17 23:24:13 -04:00
MaxXor
b6465e2c1b
Merge pull request #142 from ShittyAdvice/patch-1
...
Fixed null reference crash
2015-05-17 14:13:27 +02:00
ShittyAdvice
8f208fe05d
Fixed null reference crash
...
Closing this form without doing anything causes a crash because RefreshTimer hasn't been initialized yet
2015-05-17 12:11:40 +02:00
Justin Yanke
f95f098ea5
Merge pull request #1 from MaxXor/master
...
Merge with recent changes
2015-05-16 23:23:28 -04:00
MaxXor
4fcdf3b4d4
Merge pull request #141 from AnguisCaptor/master
...
Reverse Proxy Updates & Load Balancer
2015-05-16 21:22:09 +02:00
DragonHunter
42d7382fff
Reverse Proxy Updates & Load Balancer
...
Added a Load Balancer, this will try balancing all the proxy connections
over multiple clients (keep refreshing ipchicken.com to see the cool
effect)
Resolve the DNS Hostname of the Target server at the Remote Client to
reduce DNS Leaks
2015-05-16 20:39:35 +02:00
MaxXor
5dd617e1ce
Edited Readme
2015-05-16 18:30:26 +02:00
MaxXor
6e49359542
Merge pull request #139 from yankejustin/SeparateCommandHandlers
...
Separated the command handlers
2015-05-16 18:27:25 +02:00
MaxXor
702676ab21
Merge pull request #140 from AnguisCaptor/master
...
Improved Reverse Proxy UI
2015-05-16 17:49:55 +02:00
DragonHunter
4bdfb18b8e
Improved Reverse Proxy UI
...
Ability to kill connections
Improved the refreshing of the OpenConnection ListView
2015-05-16 17:41:28 +02:00
yankejustin
4bda01a98c
Separated the CommandHandler
...
Divided the client's CommandHandler class into partial classes.
2015-05-15 21:42:05 -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
8122b76c02
Merge pull request #137 from MaxXor/revert-136-CpuRamUsage
...
Revert "CPU/RAM usage of each process"
2015-05-15 18:59:00 +02:00
MaxXor
ce72b4edc9
Revert "CPU/RAM usage of each process"
2015-05-15 18:58:50 +02:00
MaxXor
a5f35130f6
Merge pull request #136 from yankejustin/CpuRamUsage
...
CPU/RAM usage of each process
2015-05-15 18:28:03 +02:00
yankejustin
14cde8209a
Add logic to get the CPU and memory from client
...
The client now has the logic that obtains the memory and cpu usage from
the client.
2015-05-15 10:10:37 -04:00
MaxXor
f8a28a74d0
Fixed crash in Remote Desktop
...
Fixed crash in Remote Desktop Form when pressing start and the client
didn't send a list with available monitors yet
2015-05-15 10:10:53 +02:00
MaxXor
b7a8efc1ba
Small change
2015-05-15 09:37:37 +02:00
MaxXor
c3c7e75a7b
Merge pull request #133 from yankejustin/master
...
Changed if statement to switch statement
2015-05-15 09:30:04 +02:00
MaxXor
5d84b438b5
Merge pull request #134 from DragonzMaster/master
...
Adding Arabic to supported language in elevation form
2015-05-15 09:29:31 +02:00
DragonzMaster
8a8602f342
Adding Arabic to supported language
2015-05-15 00:07:41 +02:00
yankejustin
3b04809c98
Changed properties for client packet
...
Added two properties for the client packet that provides the get
processes response.
2015-05-14 14:07:32 -04: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
yankejustin
464e6cc343
Changes to AsyncReceive
...
Improved a bit...
See if it fixed https://github.com/MaxXor/xRAT/issues/131
2015-05-14 13:39:29 -04:00
Justin Yanke
8044e3e8a6
Merge pull request #1 from MaxXor/master
...
Merge with most recent branch
2015-05-14 13:21:06 -04:00
MaxXor
03c40feed9
Fixed Remote Shell crash
...
Fixed crash when closing Remote Shell window without executing a command
2015-05-14 14:04:05 +02:00
MaxXor
4b4c7d6441
Minor fixes
2015-05-14 11:06:17 +02:00
MaxXor
74cbf47a80
Merge pull request #129 from tidusjar/master
...
More Unit Tests
2015-05-14 10:37:47 +02:00
tidusjar
35077b6327
Made changes as requested
2015-05-14 09:26:28 +01:00
Jamie Rees
bf842c5ec2
Added more tests, added an InteralVisibleTo property into the Assembly so we would see Internal classes.
2015-05-13 21:22:35 +01:00