Commit Graph

452 Commits

Author SHA1 Message Date
MaxXor c9facfc295 Added #121 (Update from File)
closes #121
2015-05-26 15:55:52 +02:00
MaxXor 2e146620dd Fixed #118 2015-05-26 14:16:19 +02:00
d3agle 989cd5c664 Keylogger special key fix 2015-05-26 00:38:29 -05:00
MaxXor e2d2b704fa Keylogger Special Char Fix #2 2015-05-25 17:06:23 +02:00
MaxXor 1f469151c4 Keylogger Special Char Fix
thanks deagle #194
2015-05-25 16:15:25 +02:00
d3agle 49c6a0a58a #194 fix
Bear in mind this does not fix the Alt Gr keypresses.  Pressing this key will still produce the same symbols/behaviors when the keylogger is not enabled.

What this fix does: we are receiving the character value for a KeyPress and we are handling it by ignoring it if any modifier keys are set.  In this case "Ctrl + Alt" which I will be trying to accomplish in a later fix (if I can figure out how to do this).

For example, a user with a german keyboard layout presses (Ctrl + alt + 2), which is the same as AltGr + 2, the call to our PressedKeys list will do the following

-check if key modifiers are set
-check if the list contains a key with a character value that is comparable to a key

If the key is  a normal character, for example user presses (Ctrl + Alt + k) on a german keyboard layout, the result would be true and the method would return, ignoring appending the character 'k' to the log

If the key is not a normal character that is comparable to the value of a Key, our call will fall through to the next call, and add the character that is returned.  For example, user presses (Ctrl + Alt + 2) to produce the special character, the Keys enum values won't contain a key with that symbol and our list won't either so it will fall through and print the special character
2015-05-25 06:55:28 -05:00
d3agle b932d96981 [Keylogger] Add time to Window Title #195 2015-05-25 06:14:16 -05:00
MaxXor 80aca909c9 Added extension methods to Keylogger 2015-05-25 11:55:41 +02:00
d3agle 0b72067435 IndexOutOfBoundsException fix 2015-05-25 03:44:18 -05:00
MaxXor ed1548a36f Small cleanup 2015-05-24 23:17:21 +02:00
MaxXor 80b2f6677b Better detection for holding a key
ref #149 (this displays ^^ normally)

fixed with the power of LINQ ;)
2015-05-24 19:47:43 +02:00
d3agle 4efef7c9c2 Removed unnecessary return 2015-05-24 11:45:25 -05:00
d3agle 63a3a61d74 moved instantiation of stringbuilder into null check 2015-05-24 10:40:12 -05:00
d3agle 3a8405a1e7 Dead-key fix #2
Fixed dead-key issue (pressing dead key followed by shift + key)  This
is now working flawlessly

Code refactors
2015-05-24 10:29:26 -05:00
d3agle 8344140d8a dead-key fix
Fixed case of pressing dead-key to accent characters followed by Shift +
character to present an uppercase character
2015-05-24 07:12:51 -05:00
MaxXor fd7e2724f7 Merged fix from globalmousekeyhook/master
Fix #181
2015-05-24 10:56:47 +02:00
d3agle 48584290bf Possible dead-key fix 2015-05-23 19:43:58 -05:00
d3agle b27981ddf4 Keylogger fixes
-Fixed spaces showing up in weird orders.

-Fixed issue where pressing some modifier keys would append the KeyPress
events text prior to the Appended highlighted text from the KeyDown
event.  Example:  User presses Windows Key + R.  it would log "r[Win +
[R]"
2015-05-23 19:25:13 -05:00
MaxXor a3612448a6 Fixed small mistake 2015-05-23 19:53:57 +02:00
d3agle d38d4d5ef4 Some changes to keylogger
added escape key
added keypress list to detect multiple keypresses for characters
moved modifier key check to a method for readability
2015-05-23 12:00:36 -05:00
MaxXor 6c32e861f4 Changed Window Titles printing in Logger 2015-05-23 18:03:03 +02:00
MaxXor 8965a4e801 Improved Logger
Fixed unprintable chars in logfile
2015-05-23 17:54:24 +02:00
MaxXor a095495da0 Small DLLImport changes
#176
2015-05-23 16:00:29 +02:00
MaxXor 16001801dc Added Keylogger Helper 2015-05-23 15:57:38 +02:00
MaxXor 6e2716466b Small changes to improve the code 2015-05-23 14:24:31 +02:00
MaxXor 32c7cda0c5 Merge pull request #178 from d3agle/dev
Message loop fix
2015-05-23 14:22:16 +02:00
d3agle 0efb64adef Message loop fix
Fixed the message loop, called Application.Run in the thread and not the
object, using ApplicationContext object we can identify which thread to
tell the message loop to return
2015-05-23 07:09:55 -05:00
MaxXor 45070631a9 Better handling of special keys 2015-05-23 13:30:57 +02:00
d3agle a9986b45e1 method declaration 2015-05-23 05:50:06 -05:00
d3agle 60c38de767 Added window titles to log & revert code format 2015-05-23 05:32:18 -05:00
d3agle c234eb94d4 Format fixes
fixed formatting in both code, and in display of html logs

added extra line-break after log header
2015-05-23 05:09:00 -05:00
MaxXor add1247037 Fixed XSS vulnerability in Keylogger HTML Logs 2015-05-23 10:41:17 +02:00
MaxXor a27293a0eb Merge pull request #172 from yankejustin/Keylogger
Keylogger Changes
2015-05-23 09:48:43 +02:00
yankejustin dd85289fc5 Documentation for the Logger
Added a small amount of documentation for the Logger's constructor.
2015-05-23 00:50:25 -04:00
yankejustin 33435e4fab Immensely reduced log sizes
By using a style class to denote text that should be highlighted, we can
change the color in one spot of we desired instead of having to change
it in many spots. Also, the file size is much smaller because of the
significantly-lower amount of text necessary to save.
2015-05-23 00:05:17 -04:00
yankejustin 9748ed381d Refractored the OnKeyDown event 2015-05-22 23:47:50 -04:00
yankejustin c6e29f6405 Modified implementation of Dispose
The finalizer really should only be a safe-guard for ensuring that the
keylogger unsubscribes from the hook.
2015-05-22 23:24:28 -04:00
MaxXor 23a4389157 Merge small change 2015-05-22 22:52:47 +02:00
MaxXor 9d293a7574 Merge branch 'master' into dev 2015-05-22 22:47:12 +02:00
MaxXor 6a6b253c0e Added extension methods 2015-05-22 22:12:30 +02:00
MaxXor 8ec1ec1947 Changed Target Framework to 3.5 Client Profile 2015-05-22 21:09:54 +02:00
d3agle df27608f7b Revert method name change
added some more comments
2015-05-22 09:15:33 -05:00
d3agle da63edc4c5 Initial key handling logic 2015-05-22 00:53:09 -05:00
MaxXor a18e799f9a Merge pull request #162 from MaxXor/pr/161
Code Improvements
2015-05-21 20:55:15 +02:00
MaxXor 92eb35647b Removed unused method 2015-05-21 20:54:32 +02:00
MaxXor 4fe601a87b Small changes to code 2015-05-21 20:35:57 +02:00
yankejustin 792a9fc83f Don't dispose bmpRes
It is not GetDiffDesktop's responsibility to dispose of bmpRes. Just
call UnlockBits, then return the Bitmap.
2015-05-21 12:29:15 -04:00
yankejustin de3db663e9 Significant memory leak reduction
Remote Desktop now leaks significantly less memory on the Client.
GetDiffDesktop was unlocking bits only if an exception was thrown!
2015-05-21 12:27:43 -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 8b20dee5e1 More meaningful exceptions
FileSplit provides more meaningful exceptions.
2015-05-21 12:12:02 -04:00
MaxXor 951936e876 Improved mouse input for multiple monitors 2015-05-21 18:00:21 +02:00
MaxXor 28f3fe1a58 Merge pull request #158 from yankejustin/Keylogger
Keylogger update
2015-05-21 17:43:03 +02:00
d3agle 3ed53465bf Changes to keylogger
Made a few changes, added some comments for some considerations
2015-05-21 09:34:06 -05:00
UbbeLoL 6f316655dd Add support for mouse input for multiple monitors 2015-05-21 10:32:24 +02:00
yankejustin ae4b1f44de Implemented gmamaladze's logic
Implemented gmamaladze's logic into the Keylogger. Still needs work on
the way it outputs. See additional notes in
https://github.com/MaxXor/xRAT/issues/149
2015-05-20 11:50:47 -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
MaxXor 2d025eea09 Merge branch 'master' into dev 2015-05-20 09:24:22 +02:00
yankejustin ce61f3dcfe Possible fix
Should fix https://github.com/MaxXor/xRAT/issues/153
2015-05-19 20:43:42 -04:00
yankejustin 07751c833a Transition stage
Modified a few things... Saving current spot to for major content
additions.
2015-05-19 19:19:45 -04:00
yankejustin 5d36ff44ac Added hook id type 2015-05-19 17:32:55 -04:00
yankejustin 46aec1e684 Added a "None" key 2015-05-19 17:06:00 -04:00
MaxXor c64775b45a Merged changes 2015-05-19 22:07:02 +02:00
d3agle 12ed28267d Keylogger hook implementation - barebones 2015-05-19 03:19:09 -05: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
d3agle 69c95769a6 initial keylogger hook 2015-05-16 23:07:17 -05: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 253bc70e84 Improved more extension methods 2015-05-12 23:56:01 +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
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 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
yankejustin 6e07cb0805 Emptying Key Buffer is no longer dangerous
If the timerEmptyKeyBuffer elapsed at a bad time or state, or if it was
unable to 1) Append data to _logFileBuffer or 2) Was unable to
successfully remove the entry from _keyBuffer
2015-05-09 23:53:30 -04:00
yankejustin 78007b7b14 Implemented logic to log a key
Implemented the new way of adding a key to log when the timerLogKeys
elapses.
2015-05-09 23:50:01 -04:00
d3agle b7f617f704 Attributes
added special key attributes
2015-05-09 12:03:33 -05:00
d3agle 31678d5175 Added attributes
Very nice work.  This looks very nice.
2015-05-09 03:26:47 -05:00
yankejustin 0ec142183e Fixed a conditional and renamed a method
Fixed null check for the stored key loop in the key buffer and renamed a
method so it is more clear.
2015-05-09 00:04:16 -04:00
yankejustin 601c6a84f7 Fix: Added support for Extension Methods
Made a small attribute to support the power and beauty of extension
methods in .NET 2.0! :)
2015-05-08 23:55:24 -04:00
yankejustin 9993a4b21c Last of the big changes to the Keylogger
Added the second and likely last of the big changes and additions to the
Keylogger. The core design of it is much more clear than the initial
changes commit. Though not yet functional (last of it has to be
implemented, as seen by the small commented-out portions), it is nearing
completion. With this new design, it is significantly more scalable.
With these changes also comes another huge factor: modifications. This
new system allows easy feature additions and modifications, such as
filtering out specific keys to log dynamically in a natural manner.
2015-05-08 23:48:48 -04:00
yankejustin dbc3cbe7a2 Fixed AttributeTarget
AttributeTarget can now correctly apply to Keylogger Keys.
2015-05-08 20:42:03 -04:00
yankejustin 030805dba8 Documentation for properties of Keylogger Keys
Added documentation for the two properties of the Keylogger.
2015-05-08 16:51:14 -04:00
yankejustin 0ab83c4917 Initial big changes to Keylogger
Big changes to the Keylogger. Still needs lots of changes but my intent
should be visible by these changes. This is now very flexible, easy to
change and add keys, etc.
2015-05-08 14:08:39 -04:00
Justin Yanke b59cee6025 Fixed highlighting keys that are not special 2015-05-07 09:15:12 -04:00
Justin Yanke 3da57543f7 Added Escape Key to Keylogger
Should resolve https://github.com/MaxXor/xRAT/issues/95
2015-05-07 08:29:17 -04:00
Justin Yanke 5b3e654a4a Fix incorrect logging of special key combinations
Should fix https://github.com/MaxXor/xRAT/issues/98
2015-05-07 08:20:54 -04: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
MaxXor 6b624ea9ec Improved behaviour when log directory doesn't exist 2015-05-04 18:28:14 +02:00
yankejustin 4b3216267e Code formatting
Readability improvements to follow the format of the rest of the code.
2015-05-04 12:26:14 -04:00
yankejustin 437747a9df Improved the the keylogger's key buffer
Used a StringBuilder instead of a normal string as the key buffer to
drastically improve the performance. Having a string as the key buffer
would mean that every single addition would be exponentially slower.
2015-05-04 12:21:04 -04:00
MaxXor e5c518bcb3 Improved behaviour when client lost connection 2015-05-04 16:46:34 +02:00
MaxXor ad23e57399 Improved uninstall (delete existing logfiles) 2015-05-04 16:44:58 +02:00
MaxXor c39bff3a6f Merge pull request #73 from MaxXor/dev
Added Keylogger
2015-05-04 16:22:28 +02:00
MaxXor e8d8e8d58e More fixes to Keylogger 2015-05-01 15:09:45 +02:00
MaxXor 770d194ba9 Improved implementation of keylogger 2015-05-01 14:50:38 +02:00
MaxXor b1f6ba7ffd Correctly read and append blocks 2015-04-29 22:00:02 +02:00
MaxXor a08e002f84 Changed max packet size
Prevents crash in Remote Desktop for packets bigger than 1MB
2015-04-29 21:58:47 +02:00
MaxXor d95672ea16 Fixed small typo (#69) 2015-04-28 07:30:03 +02:00
MaxXor 7a77279cab Fixed #68 (Installation bug) 2015-04-25 18:49:52 +02:00
d3agle 41617d14b7 Added comments to Logger class and some small fixes
Added comments to the logger class for understandability of code/flow
Removed some extra keys that were unnecessary
2015-04-24 09:12:50 -05: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 0600ac1707 Removed unused variable 2015-04-22 15:52:58 +02:00
MaxXor 64a9156d41 Added option to enable/disable Client Tooltips 2015-04-21 21:46:48 +02: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 3237a80924 Closed #60 2015-04-14 20:42:48 +02:00
d3agle f71b45a16c Format fix
format fix
2015-04-14 05:01:27 -05: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
MaxXor 42803078be Fixed blocking MessageBox 2015-04-09 19:13:05 +02:00
Justin Yanke 98cfd7d484 Removed unnecessary Stream
We already retrieved the response from the site. It is unnecessary to create another Stream afterwards.
2015-04-09 12:38:02 -04:00
yankejustin d5cb5b9c92 Performance and clean-up for both SafeQuickLZ
Slightly improved performance for the SafeQuickLZ on the server and
client, code clean-up, and consistency improvements.
2015-04-07 13:23:09 -04:00
yankejustin 295daca123 Some code consistency improvements
Made some code more consistent to the code in the solution.
2015-04-07 12:46:14 -04:00
MaxXor 539a9b3d5b Changed KeepAlive Interval 2015-04-06 20:49:34 +02:00
MaxXor 18e84dc061 Reverted Settings.cs 2015-04-06 20:33:43 +02:00
MaxXor 12a0da6288 Improved KeepAlive and Extension Methods 2015-04-06 20:33:34 +02:00
MaxXor aacd1e0f33 Merge pull request #46 from Abdullah2993/master
Added new KeepAlive method
2015-04-06 19:58:09 +02:00
Abdullah Saleem 957ae2c0ef New KeepAlive Added
Previous method of keep alive removed.
2015-04-06 22:40:54 +05:00
MaxXor ee19378725 Use object initializer 2015-04-06 10:46:10 +02:00
MaxXor 1991e5afd5 Merge pull request #42 from d3agle/master
Fixed Remote Desktop not working after reconnect
2015-04-06 10:36:32 +02:00
MaxXor bec3e7daab Fixed File Upload & Execute (#39) 2015-04-06 10:06:33 +02:00
Abdullah Saleem 860b59ac7d Configurable KeepAlive added 2015-04-05 15:41:26 +05:00
d3agle 9dbbf18bd3 Bugfix with Remote Desktop
Fixed a bug where after using Remote Desktop and client
disconnection/reconnection, the server wasn't able to run Remote Desktop
again.  I believe there is an issue with the buffer/flow in the
UnsafeStreamCodec class however I wasn't able to pinpoint it.  Setting
this object to null allows a new object to be created when running
Remote Desktop with a fresh buffer.
2015-04-04 20:14:37 -05:00
MaxXor 5d20aad9d6 Fixed File Download in File Manager (#36) 2015-04-04 17:22:20 +02:00
MaxXor 720930f583 Fixed #38 2015-04-03 10:18:52 +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 b45ca524af Get more accurate OS name
(including newer windows)
2015-04-01 15:39:32 +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 efa43c4c65 Unnecessary try-catch block 2015-03-31 19:09:44 +02:00
MaxXor 5b54dcb52f More fixes 2015-03-31 18:45:31 +02:00
MaxXor 261dff32a9 Fixed reconnect of client 2015-03-31 18:34:29 +02:00
MaxXor a54c6db38f Fixing new bugs 2015-03-31 18:15:48 +02:00
DragonHunter 73620c796b Stable Client & Compression Fix
Fixed the compression / encryption order (Compression always failed)
Made the Client more stable but theres a bug with the Keep Alive
packets, need to be checked
2015-03-31 16:35:42 +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 04d5189266 Fixed RemoteShell 2015-03-27 12:47:14 +01:00
MaxXor 68d9627503 Removed unecessary variable
- Removed unecessary namespaces in code
- Changed xRAT file description
2015-03-27 11:13:02 +01:00
MaxXor 763de6a86c Faster creation of random file names 2015-03-21 19:14:00 +01:00
yankejustin b462be3b3a Efficiency increase
String concatenation is exponentially slower than StringBuilder. This
optimization will increase the speed greatly.
2015-03-20 14:09:08 -04: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
yankejustin 7f842d44fb Removed unnecessary brackets
Cleanup - Removed unnecessary brackets to increase readability.
2015-03-19 12:10:54 -04:00
MaxXor 90a4d4a89f Added bitmap to cleanup 2015-03-18 18:57:51 +01:00
MaxXor fa038ad22c Minor fix 2015-03-18 18:12:56 +01:00
MaxXor 1a13442c12 Fixed tabs in code 2015-03-18 18:12:09 +01:00
yankejustin b95f7f9268 Disposed of process on the shell closing
Disposed of any additional resources that weren't being disposed after
closing the shell session.
Also told the garbage collector to suppress finalization if we have
already told the session to close. No reason to clean the object twice!
:)
2015-03-17 18:54:03 -04: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 b7fced1753 Removed unused variable 2015-03-17 22:31:11 +01:00
MaxXor 6bc4e9102d Multi-Threaded SendQueue 2015-03-17 22:28:51 +01:00
MaxXor d232ac8b86 Minor fix 2015-03-17 22:28:13 +01:00
MaxXor 84b7fc901e Fixed ProtoWriter Dispose
this broke protobuf
2015-03-17 22:28:03 +01:00
MaxXor 1b00c9d9ec Corrected small differences 2015-03-17 22:05:04 +01:00
yankejustin 1bed14532c Reflected changes to ProtoBuf classes
Reflected the changes made to the ProtoBuf classes to both sides.
2015-03-17 14:08:22 -04:00
yankejustin 245fb58ad4 Merge pull request #2 from MaxXor/master
Merged request from newest branch
2015-03-17 14:04:32 -04:00
yankejustin 8605b37f61 Minor change 2015-03-17 14:01:23 -04:00
MaxXor c598beb66b Removed unnecessary CloseShell call 2015-03-17 18:47:48 +01:00
yankejustin ba2f2a0b2a Correctly implemented IDisposable
Correctly implemented IDisposable on the client's and server's
ProtoWriter.
2015-03-17 13:28:23 -04:00
yankejustin 9a10e2f992 Correctly implemented IDisposable
Correctly implemented IDisposable on the client's ProtoWriter.
2015-03-17 12:49:22 -04:00
MaxXor 4184bbb1e4 Minor change 2015-03-17 17:22:42 +01:00
MaxXor 108e61f4eb Removed unnecessary comments due to changes to ProtoBuf 2015-03-17 10:34:31 +01:00
MaxXor ea618d9740 Fixed tabs in code 2015-03-17 10:30:28 +01:00
MaxXor 16be5340f4 Minor fix 2015-03-17 10:28:46 +01:00
MaxXor fb0c9588fe Dispose of the stream 2015-03-17 10:28:35 +01:00
yankejustin 0f0cf6ed4c Memory Leak fixes
Added using blocks to fix a few memory leaks or prevent cases where an
exception in a method would not be able to reach the call to dispose
below it.
2015-03-16 13:12:19 -04:00
yankejustin c6c1cb2022 Improved Behavior
Improved the behavior consistency in the code by implementing try-catch
blocks.
2015-03-16 12:10:34 -04:00
MaxXor 894a6960bd Cleanup 2015-03-12 10:44:53 +01:00
MaxXor 1aa0ab511b Minor bugfix 2015-03-12 10:44:37 +01:00
MaxXor 0d106a4f8b Added option to add files to autostart 2015-03-08 18:13:13 +01:00
MaxXor 998f9c77e4 Get correct LAN IP address and MAC address
- exclude not connected network interfaces and virtual network
interfaces
2015-02-24 21:58:20 +01:00
MaxXor 41b6b092ff Cleaned up SystemCore code 2015-02-24 19:21:01 +01:00
MaxXor e20927d586 Added basic Startup Manager
- Some minor fixes
- Updated copyright year
2015-02-24 12:13:04 +01:00
MaxXor cebc1d279f Reverted GeoIP as it's online again 2015-02-24 12:04:07 +01:00
MaxXor b6f2912715 Delete frmElevation.resx 2015-01-29 09:54:16 +01:00
MaxXor b87e9e3d74 Delete frmElevation.cs 2015-01-29 09:54:10 +01:00
MaxXor d740964449 Delete frmElevation.Designer.cs 2015-01-29 09:53:59 +01:00
MaxXor c30783ccae Corrected file case 2015-01-27 23:56:52 +01:00
MaxXor d27b168d30 Refactored Form in Client 2015-01-27 23:49:26 +01:00
MaxXor 3ff75f9bc9 Fixed #16 2015-01-19 10:55:04 +01:00
MaxXor dddc4a70c7 Only send session closed message when prc is killed 2015-01-15 10:25:53 +01:00
MaxXor 68cb4fe354 Close RemoteShell when it's still open on uninstall 2015-01-15 10:25:09 +01:00
MaxXor 30632359db RemoteShell closes now on reconnect 2015-01-15 10:10:52 +01:00
MaxXor 55de07401f Fixed #14 2015-01-15 10:08:28 +01:00
MaxXor ace4449c02 More code cleanup 2015-01-14 13:15:31 +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 dcbabeb893 Fixed GeoIP again
last service gone offline
2015-01-13 08:32:45 +01:00
MaxXor a5f36c6dec Added client part of startup manager
+ some small changes
2014-12-02 21:12:26 +01:00
MaxXor a60187c183 Fixed GeoIP 2014-12-02 21:10:27 +01:00
MaxXor 771930c460 Changed default traffic encryption from RC4 to AES
-> speed & security improvements
2014-08-13 22:59:57 +02:00
MaxXor 9d89f1cf56 Fixed update when new mutex is used
- hardened installation
2014-08-10 12:12:26 +02:00
MaxXor eb1efc5ed1 Adjusted sleep time for keepalive 2014-08-04 13:01:30 +02:00
187Final 2b55051a62 Fixed keepalive
no more disconnects, can detect network disconnects + network cable
unplugs
2014-08-02 18:23:31 -05:00
MaxXor fb3b817e5c Optimized Upload & Execute & some minor changes 2014-08-01 11:53:46 +02:00
MaxXor 85b9547317 Updated Protocol Buffers 2014-07-30 17:32:25 +02:00
MaxXor 21fc728d64 Optimized Server and Client 2014-07-30 17:04:21 +02:00
MaxXor a0ca489717 Adjusted some changes to xRAT 2014-07-30 15:08:03 +02:00
187Final 07432937a7 Upload And Execute
introduced new way to pass multiple clients + a method to upload and
execute
2014-07-30 07:04:41 -05:00
MaxXor 177b232d7f Fixed changelog 2014-07-27 18:38:29 +02:00
MaxXor ae79dede78 Minor not-important changes 2014-07-24 23:26:59 +02:00
MaxXor 948a208280 Following the other System Information coding style 2014-07-24 16:28:01 +02:00
MaxXor 24de7ae6bb Small System Information changes when nothing found 2014-07-24 16:25:00 +02:00
MaxXor adb49be588 Preparations for next changes 2014-07-23 22:49:05 +02:00
MaxXor 6800dfa213 Added Computer Commands: Restart, Shutdown, Standby
Updated Readme
2014-07-22 21:52:07 +02:00
MaxXor 95f6608b40 Changed GeoIP file location 2014-07-20 23:35:22 +02:00
MaxXor bc814904c4 Added Antivirus & Firewall detection 2014-07-18 18:23:04 +02: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 b6b5fd75f6 Improved Remote Shell Input 2014-07-18 10:12:24 +02:00