Commit Graph

172 Commits

Author SHA1 Message Date
yankejustin ce61f3dcfe Possible fix
Should fix https://github.com/MaxXor/xRAT/issues/153
2015-05-19 20:43:42 -04:00
MaxXor bfc4333dbb Small RemoteShell fix 2015-05-19 08:26:58 +02: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 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 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 8866103318 Reformatted UnsafeStreamCodec 2015-05-18 18:07:22 +02: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 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
yankejustin 4bda01a98c Separated the CommandHandler
Divided the client's CommandHandler class into partial classes.
2015-05-15 21:42:05 -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
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 b7a8efc1ba Small change 2015-05-15 09:37:37 +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
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
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 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
MaxXor 11032266c9 Improved NoIP.org Integration 2015-05-10 18:11:22 +02: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
d3agle cc531e8066 null check fix
fixed keylogger null reference
2015-05-07 04:15:56 -05:00
d3agle a663994caa null check fix
fixed keylogger.

for some reason there was nulled KeyData in the buffer
2015-05-07 02:00:10 -05:00
MaxXor fc49cd7e67 Fixed emptying key buffer 2015-05-06 09:51:32 +02:00
MaxXor bf3725df3c Improved Keylogger 2015-05-06 09:39:32 +02:00
yankejustin 93a34dde9e Slight changes to the Logger
Added a small amount of documentation for the Logger's constructor, and
set the interval to flush the contents of the file to a lower amount (30
seconds was far too slow).
2015-05-05 21:58:29 -04:00
yankejustin 90ee1a50cf Fixed some incorrect documentation in Keylogger
Fixed some incorrect documentation in the Keylogger.
2015-05-05 21:05:46 -04:00
yankejustin 5756b05044 Fixed incorrect log by the Keylogger
Added 'else' clauses instead of only 'if' statements.
Decisions would be evaluated, but they would go under eachother. This
means that pressing ctrl+shift+alt+a would write something like:
'[SHIFT-CTRL-ALT-A]A' instead of '[SHIFT-CTRL-ALT-A]' .
2015-05-05 21:04:42 -04:00
yankejustin ac33a51158 Fixed two typos
Fixed two typos in the Keylogger.
2015-05-05 20:45:36 -04:00
MaxXor e07eeeb511 Reworked Keylogger
Fixed #79
Fixed #80
2015-05-05 22:40:39 +02:00
d3agle 4d5fb29c17 Keylogger cleanup
Moved GetActiveWindowTitle so it's not called every 10ms
2015-05-05 03:01:14 -05:00
MaxXor 2b6ca6eda8 Removed unused variable 2015-05-05 09:56:19 +02:00
MaxXor bcadad27ab Merge pull request #77 from d3agle/master
Keylogger cleanup
2015-05-05 09:54:33 +02:00
d3agle 725a841db1 Keylogger cleanup
removed f1-f11 keys since they are not handled
moved calling the keyboard layout to FromKeys method when a key is
handled so its not being called every 10ms
2015-05-05 02:52:07 -05:00
MaxXor e50ea69d43 Fixed crash when downloading files over 2MB (#75) 2015-05-05 09:19:08 +02:00
yankejustin 9db12cd8d7 Fixed client crash on invalid start process command
Fixes two issues of the client when trying to start an invalid process.
1) Client will no longer try to use a null or empty string for the new
Process' FileName.
2) If, for any reason, the process can not start correctly, it will no
longer cause the Client to crash.
2015-05-04 20:45:29 -04:00
MaxXor f9deafbf9d Removed redundant Stringbuilder 2015-05-04 20:05:26 +02:00
MaxXor 7d650d76dd Merge pull request #74 from yankejustin/master
Improvements to new Keylogger
2015-05-04 19:57:40 +02:00
yankejustin 1ba6c60a7f Faster check on key buffer for the Keylogger
Improved a decision; checks if the length is greater than 0 before
writing instead of converting the StringBuilder to a string then
checking the string.
2015-05-04 13:54:18 -04:00
yankejustin e951674c21 Make sure it is not null!
Forgot to make sure to check if it is not null.
2015-05-04 12:43:41 -04:00
yankejustin 68a1cda9b7 Removed unnecessary decisions
Condensed a tree of decisions to just cut the unnecessary decisions out.
2015-05-04 12:30:55 -04:00