Commit Graph

692 Commits

Author SHA1 Message Date
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
d3agle 69c95769a6 initial keylogger hook 2015-05-16 23:07:17 -05: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
MaxXor e4c8ef7374 Added Server unit testing project 2015-05-13 19:31:56 +02:00
MaxXor 17ef0f065f Moved to Client.Tests folder 2015-05-13 19:17:00 +02:00
MaxXor b2371a91fa Added unit testing project (#127) 2015-05-13 19:11:55 +02:00
MaxXor af2034e32c Added appveyor.yml 2015-05-13 17:48:51 +02:00
MaxXor 72a453b2d4 Edited Reverse Proxy 2015-05-13 00:06:28 +02:00
MaxXor 253bc70e84 Improved more extension methods 2015-05-12 23:56:01 +02:00
MaxXor 4aef0554ff Fixed disconnection of clients
fixed #125
2015-05-12 23:24:25 +02:00
yankejustin 80b7f0f7d3 Final big commit
Many more changes.
Still has things to work out but there is much more to work with and
many more possibilities.
2015-05-11 21:25:32 -04:00
MaxXor 418f61745f Edited Readme 2015-05-11 09:56:24 +02:00
yankejustin 1e40e81ebc One more commit is needed
Forgot to add changes to this file!
2015-05-11 01:11:28 -04:00
yankejustin f126001a4f Changes, fixes, and additions
Now we can see this thing in action!
Needs one more commit to handle the special keys again and to detect
when a toggle key is toggled. I can't remember how to represent 0x80 as
a byte! :(
2015-05-11 01:10:27 -04:00
MaxXor 676ff2b1ac Merge pull request #117 from d3agle/master
Reverse Proxy Form fix
2015-05-10 19:45:48 +02:00
d3agle a87c2bd153 Reverse Proxy Form fix 2015-05-10 12:42:17 -05:00
MaxXor cc158f6be6 Edited Readme 2015-05-10 19:18:13 +02:00