Commit Graph

890 Commits

Author SHA1 Message Date
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 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
MaxXor ac3718fa08 Merge pull request #160 from MaxXor/pr/159
Add support for mouse input for multiple monitors
2015-05-21 18:00:52 +02:00
MaxXor 951936e876 Improved mouse input for multiple monitors 2015-05-21 18:00:21 +02:00
MaxXor b5d579eafd Merged small fix from master 2015-05-21 17:44:31 +02:00
MaxXor 28f3fe1a58 Merge pull request #158 from yankejustin/Keylogger
Keylogger update
2015-05-21 17:43:03 +02:00
MaxXor d7d9bee64e Removed condition which is always true 2015-05-21 17:41:42 +02:00
MaxXor f9b0c17850 Merge pull request #157 from yankejustin/Fix
Fixed server crash on FrmKeylogger
2015-05-21 17:38:20 +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
Justin Yanke 8c09decce7 Updated README to reflect changes
Updated README to reflect the usage of George Mamaladze's work.
2015-05-21 00:38:26 -04:00
Justin Yanke 706c7e38b6 Fixed server crash on FrmKeylogger
<h1>Reproduction of the issue</h1>
- Open up a keylogger form and make sure no entries are selected.
- Invoke the "ItemActivate" method by pressing enter.
- Since no items are selected, it cannot index the 0th item of lstLogs' SelectedItems, causing an exception that is uncaught and crashes the server.
2015-05-21 00:07:58 -04: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 3a80b3459c Improved code readability in Renamer 2015-05-20 09:27:11 +02:00
MaxXor 2d025eea09 Merge branch 'master' into dev 2015-05-20 09:24:22 +02:00
MaxXor c009999af2 Merge pull request #154 from d3agle/master
IDisposable TypeloadException fix
2015-05-20 09:13:16 +02:00
MaxXor 42a62cfdeb Merge pull request #155 from yankejustin/Fix
Fixes for uninstall issues
2015-05-20 09:11:54 +02:00
yankejustin ce61f3dcfe Possible fix
Should fix https://github.com/MaxXor/xRAT/issues/153
2015-05-19 20:43:42 -04:00
Justin Yanke a3faf0c84e Merge pull request #6 from MaxXor/master
Merge with recent base
2015-05-19 20:43:07 -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
d3agle 4e390742a5 IDisposable TypeloadException fix
Ignore renaming types that implement interfaces.

I hope this is the correct way to do this, I couldn't find a way to find
a specific interface to exclude from obfuscation
2015-05-19 18:06:10 -05: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 dbe79831c4 Merge pull request #152 from DragonzMaster/master
Small Change to Reverse Proxy
2015-05-19 22:46:47 +02:00
Justin Yanke 61880e0780 Merge pull request #5 from MaxXor/dev
Merge with dev branch
2015-05-19 16:18:55 -04:00
DragonzMaster 88f67c717a Small Change to Reverse Proxy
Changing the way was used to calculate send/received data by reverse
proxy
-This change will view the value with decimal point (2 num) to make the
values more accurate
-Changing the func name used from "GetFileSize" to "GetDataSize" ( Found
in xServer.Core.Helper )
2015-05-19 22:17:03 +02:00
MaxXor c64775b45a Merged changes 2015-05-19 22:07:02 +02:00
MaxXor c577ba41e1 Merge pull request #150 from d3agle/dev
Keylogger hook
2015-05-19 10:35:58 +02:00
d3agle 12ed28267d Keylogger hook implementation - barebones 2015-05-19 03:19:09 -05:00
MaxXor 629c0b75d5 Merge pull request #148 from MaxXor/pr/147
Changed the send method's parameter type for client/server
2015-05-19 08:28:03 +02: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 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