MaxXor
7e30db0717
Added documentation to RemoteShell
2015-07-18 18:08:56 +02:00
MaxXor
2dbcf5cf05
Fixed RemoteShell input issues when read data has no new line
2015-07-18 16:01:18 +02:00
MaxXor
48ed28c92f
Fixed RemoteShell redirecting of standard output not working after redirecting error output
2015-07-15 11:47:08 +02:00
MaxXor
45dccb69e0
Added consistent packet names
2015-07-14 19:00:31 +02:00
MaxXor
c4fa4f355e
Fixed #270
2015-06-20 19:17:09 +02:00
MaxXor
163c828fbc
Fixed Shell cmd.exe process not correctly exited
...
#232
2015-05-27 23:10:40 +02:00
yankejustin
9bddb0ffd5
Initialize ManualResetEvents in the constructor
...
If something recoverable goes wrong in the shell, we must make sure that
we reset the ManualResetEvents so the chained output functions
correctly.
2015-05-27 15:44:32 -04:00
yankejustin
d402d7833f
Fixed client breaking on shell close
...
Fixed a situation where a break in the output-handler chain would not
correctly terminate, causing an exception to be thrown.
2015-05-27 15:37:07 -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
ce61f3dcfe
Possible fix
...
Should fix https://github.com/MaxXor/xRAT/issues/153
2015-05-19 20:43:42 -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
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
04d5189266
Fixed RemoteShell
2015-03-27 12:47:14 +01:00
MaxXor
fa038ad22c
Minor fix
2015-03-18 18:12:56 +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
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
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
e3ad2f0716
Refactored namespace
2015-01-13 19:29:11 +01:00
MaxXor
034b6242f4
Initial commit with everything else
2014-07-08 14:58:53 +02:00