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
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
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
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
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
6e49359542
Merge pull request #139 from yankejustin/SeparateCommandHandlers
...
Separated the command handlers
2015-05-16 18:27:25 +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
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
MaxXor
a5f35130f6
Merge pull request #136 from yankejustin/CpuRamUsage
...
CPU/RAM usage of each process
2015-05-15 18:28:03 +02: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
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
MaxXor
4b4c7d6441
Minor fixes
2015-05-14 11:06:17 +02:00
tidusjar
35077b6327
Made changes as requested
2015-05-14 09:26:28 +01:00
MaxXor
72a453b2d4
Edited Reverse Proxy
2015-05-13 00:06:28 +02:00
MaxXor
4aef0554ff
Fixed disconnection of clients
...
fixed #125
2015-05-12 23:24:25 +02:00
d3agle
a87c2bd153
Reverse Proxy Form fix
2015-05-10 12:42:17 -05:00
MaxXor
c6afc0c24e
Merge pull request #116 from MaxXor/pr/113
...
Added Socks5 Reverse Proxy
closes #103
2015-05-10 19:03:09 +02:00
MaxXor
a2a5f59c67
Improved Reverse Proxy
2015-05-10 19:02:10 +02:00
DragonHunter
6b581b731c
Fixed Stopping the proxy server
...
A error will occur when stopping the proxy server when there are clients
connected
2015-05-10 18:14:07 +02:00
MaxXor
11032266c9
Improved NoIP.org Integration
2015-05-10 18:11:22 +02:00
DragonHunter
58fcbe96f0
Target Server/Port fixed in ListView
2015-05-10 17:39:20 +02:00
Abdullah Saleem
4f8bd1b431
NoIP.org Integration
2015-05-10 20:38:08 +05:00
DragonHunter
b7cad28b83
Tiny fix for class re-namer
...
Class re-namer fix for Reverse Proxy
2015-05-10 17:34:02 +02:00
Abdullah Saleem
5f83df91e5
NoIP.org Integration
2015-05-10 20:28:02 +05:00
DragonHunter
ce7c75c56c
More error checks & more reliable
...
Proxy is now more reliable and works a lot better
More error checks
2015-05-10 15:34:49 +02:00
DragonHunter
ee74b6112d
Initial release of the Reverse Proxy
...
Supports HTTPS
Supports Socks5
Tested both HTTPS and Socks5 with Proxifier
2015-05-10 13:11:27 +02:00
MaxXor
73f32520a5
Added File Manager menu item "Open in Remote Shell"
...
#84
2015-05-06 15:18:56 +02:00
MaxXor
e776e1dab9
Merge pull request #82 from yankejustin/master
...
Added documentation for the Server's Build folder
2015-05-05 20:01:21 +02:00
yankejustin
ad115dd5cd
Added documentation for Renamer
...
Added a little bit of documentation for the Server's Renamer.
2015-05-05 12:21:45 -04:00
yankejustin
7b5ef8a15c
Added documentation for IconInjector
...
Added documentation for most of the Server's IconInjector.
2015-05-05 12:17:08 -04:00
yankejustin
7b2667d7ea
Added documentation for Clientbuilder
...
Added documentation for the Server's ClientBuilder.
2015-05-05 12:08:20 -04:00
MaxXor
e50ea69d43
Fixed crash when downloading files over 2MB ( #75 )
2015-05-05 09:19:08 +02:00
yankejustin
88f6495ded
Fixed server crash on invalid upload/execute
...
Fixed an issue that caused the server to crash when attempting to upload
then execute on a file on a client when no file was selected.
2015-05-04 20:37:53 -04:00
MaxXor
0e6ad51dd1
Small fix
2015-05-04 19:50:37 +02:00