Commit Graph

551 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 5c4525eb69 Changes to Dispose(bool)
Changes to how the shell is disposed.
2015-05-27 14:50:24 -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
Justin Yanke 690dcc33e1 Merge pull request #16 from MaxXor/master
Merge with recent base
2015-05-27 12:56:00 -04:00
MaxXor 5f2ffe2138 Edited Readme 2015-05-27 09:32:19 +02: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
Justin Yanke 20123997fe Merge pull request #14 from MaxXor/master
Merge with recent base
2015-05-26 20:51:21 -04: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
MaxXor 107aedca92 Merge pull request #211 from DragonzMaster/patch-1
Startup Manger Fix
2015-05-26 20:40:30 +02:00
DragonzMaster 1faafaa814 Startup Manger Fix [Client]
Changed CurrentUser to LocalMachine
As these values located in LocalMachine NOT CurrentUser
2015-05-26 20:36:14 +02:00
MaxXor 4e7c6a701c Merge pull request #210 from d3agle/dev
Changed ReverseProxyForm StartPosition to CenterScreen
2015-05-26 20:22:22 +02: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 36ac738e43 Minor Uninstall fix
- Add to Autostart again when already installed #205
2015-05-26 18:28:15 +02:00
MaxXor 381dad6a24 Fix #205 (Uninstall fix)
- Moved some Command-Handling methods to their correct location
2015-05-26 18:14:24 +02:00
MaxXor 5e4905fec2 Prevent Keylogger writing when Client disconnects 2015-05-26 18:11:50 +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 d1b5b3a865 Merge pull request #202 from d3agle/master
Keylogger special key fix
2015-05-26 08:48:57 +02:00
d3agle 989cd5c664 Keylogger special key fix 2015-05-26 00:38:29 -05:00
Justin Yanke f5aadccb65 Merge pull request #13 from MaxXor/master
Merge recent base
2015-05-25 21:30:16 -04: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
MaxXor bee77942d6 Merge pull request #198 from d3agle/master
Fixed adding Keys to Log when Modifier Keys are pressed
2015-05-25 14:14:22 +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
MaxXor 96f0d1c2ef Merge pull request #196 from d3agle/master
[Keylogger] Add time to Window Title #195
2015-05-25 13:49:15 +02:00
d3agle b932d96981 [Keylogger] Add time to Window Title #195 2015-05-25 06:14:16 -05:00
MaxXor eaf89ef97b Merge pull request #193 from MaxXor/dev
Re-wrote Keylogger #149
2015-05-25 12:01:00 +02:00
MaxXor 80aca909c9 Added extension methods to Keylogger 2015-05-25 11:55:41 +02:00
MaxXor cc5e36d2d3 Merge pull request #192 from d3agle/dev
IndexOutOfBoundsException fix
2015-05-25 11:43:25 +02:00
d3agle 0b72067435 IndexOutOfBoundsException fix 2015-05-25 03:44:18 -05:00
MaxXor 043cfac6b7 Merge pull request #191 from yankejustin/Improvements
Builder Code Improvements
2015-05-25 09:11:42 +02:00
Justin Yanke 12611dcb21 Merge pull request #12 from MaxXor/master
Merge with recent base
2015-05-24 23:38:53 -04: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