Commit Graph

279 Commits

Author SHA1 Message Date
yankejustin 320172a126 Perfected handling of exiting
Perfected how handling an exit command is determined.
Also removed a command to execute an "exit" command on the client
because we call "this.Close()". On FormClosing(object,
FormClosingEventArgs), we send an "exit" command anyways. Two of them
should not be sent to close the client's shell...
2015-05-27 15:11:44 -04:00
yankejustin 39a717c626 Correctly colorize errors 2015-05-27 15:04:14 -04:00
yankejustin 007296e24c Changed how exiting is determined
Changed when to decide we should exit (using Linq).
2015-05-27 14:56:06 -04:00
yankejustin be78162f63 Changes to output handling of commands
Added an "IsError" property to the ShellCommandResponse to denote if the
response should be handled a certain way (if it is a response to a
ShellCommand error, then print it differently).
Also correctly queues up two different threads on shell initialization.
These ManualResetEvents now will signal the Shell's redirected output to
handle either the output, or the error output. Not at the same time
(will cause deadlocking).
We now append the text instead of concatenating. Not sure how much more
efficient this is, but it is certainly more readable.
2015-05-27 14:46:10 -04:00
yankejustin 2e761af6f1 Fixed Remote Shell Flickering
Fixed screen flickering issue in the Remote Shell Form
2015-05-27 13:03:15 -04:00
MaxXor fb2a981e8d Added #217 2015-05-27 09:26:04 +02:00
MaxXor 84fb045c55 Added disposing of NotifyIcon (#218) 2015-05-27 09:05:05 +02:00
MaxXor 896026d630 Fixed #216 2015-05-27 08:54:12 +02:00
MaxXor bceaf04811 Added Removing of Programs from Autostart 2015-05-26 23:11:16 +02:00
MaxXor ad7fd821af Merge pull request #215 from MaxXor/pr/214
UPnP fix
2015-05-26 22:13:59 +02:00
MaxXor dbd95e4398 UPnP fix 2015-05-26 22:13:11 +02:00
MaxXor bda545c614 Fixed Add to Autostart Command 2015-05-26 22:02:56 +02:00
MaxXor b3baad6d98 Fixed #212 2015-05-26 22:02:18 +02:00
d3agle 7e13fa080e small behavior fix #213 update 2015-05-26 14:55:23 -05:00
d3agle a2fb891e97 small behavior fix
only try to remove upnp settings if the server is listening, if you have this checked, closing the form will stall for a second or two even if the server is not listening
2015-05-26 14:05:10 -05:00
d3agle 94836476c9 small form edit 2015-05-26 13:18:33 -05:00
MaxXor 7752149aff Added Icon to Reverse Proxy Context Menu Item #209 2015-05-26 20:11:02 +02:00
MaxXor 3e009117af Fixed #207 2015-05-26 19:35:28 +02:00
MaxXor 1f55275c2b More settings and profile fixes
ref #197
2015-05-26 16:26:04 +02:00
MaxXor 7a1e6a82ab Fixed #197 2015-05-26 16:14:03 +02:00
MaxXor de11c7e7c4 Moved methods into ContextMenu region 2015-05-26 16:01:36 +02:00
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
MaxXor 043cfac6b7 Merge pull request #191 from yankejustin/Improvements
Builder Code Improvements
2015-05-25 09:11:42 +02:00
yankejustin 94e50641cb Detecting illegal characters efficiently
Instead of wasting lots of time creating a string from a char array,
creating a string from another char array, concatenating them both into
a new string, and casting the keychar to a string to see if the string
contains it, make the operation natural and very efficient by creating a
new char array that has both invalid characters and making sure the
illegal character array does not contain the element.
2015-05-24 00:38:58 -04:00
yankejustin f5d671d93a Removed some repetitive code 2015-05-24 00:27:29 -04:00
MaxXor 227cfed057 Fixed bug in Builder
Fixed prompt to save Profile not shown when changing the timeout.
2015-05-23 12:54:24 +02:00
yankejustin a1a49e9eec Increase in keylogger form constructor
Now we actually use the ListViewItem object we create on every iteration
instead of creating one and only passing the string property value. ~38%
speed increase each iteration on DEBUG and RELEASE configurations.
2015-05-23 00:13:02 -04:00
MaxXor 4a38415f98 Small version fix 2015-05-22 22:39:35 +02:00
MaxXor 6a6b253c0e Added extension methods 2015-05-22 22:12:30 +02:00
MaxXor 3886e06430 Updated references 2015-05-22 22:12:19 +02:00
MaxXor 8ec1ec1947 Changed Target Framework to 3.5 Client Profile 2015-05-22 21:09:54 +02:00
MaxXor a18e799f9a Merge pull request #162 from MaxXor/pr/161
Code Improvements
2015-05-21 20:55:15 +02:00
MaxXor 4fe601a87b Small changes to code 2015-05-21 20:35:57 +02: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 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 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
UbbeLoL 6f316655dd Add support for mouse input for multiple monitors 2015-05-21 10:32:24 +02: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 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
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
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
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