-
Notifications
You must be signed in to change notification settings - Fork 69
Dual Window Mode #10
Comments
This is a great idea! The only problem is that I doubt the Dual/Multi Window mode can be achieved with just Python2.7 builtins...
Anyway, if you want to implement this feature yourself (I'd appreciate that a whole lot!), you can have a look at BufferingHandler, which provides a thread-safe buffer and automatically stores messages (and streams) to it. Example usage of this class can be found in the SimpleBridge class, where it is used to create an intercommunication between 2 The |
Just to note some progress, the task will be implemented using the native This approach will also help when a Also the verbosity will be modifiable, to also log Valid |
I'm glad I was able to help out with some of the long term planning on this. After multiplexing is implemented are the loggers going to have "agent identifiers" or something similar to differentiate between what agent is interacting with what steam, also is that going to available to the user via a getter type function? Also with the miltiHandler class: is that going to be able to be used to create different command and data channels? For example !os-shell could send it's commands over icmp while large messages (responses or files) are handled via HTTP or whatever. Thanks for your work on this project. It's great! |
Really thank you for your support! Means a lot, since I am new to project management and maintenance. Now, the multiHandler class, is currently a blank file, and it will remain as such, if ideas like the one you got keep spawning! So, to unify the Agent's That MultiHandler, will most probably accept a Yet all this needs so much internal modelling, and hopefully little (no?) changes to the already written interfaces (API). In case you get any ideas for this, you know were to post them... Thanks again! |
Progress on this topic can be found in the latest commit 72b5369. Some commenting on that is highly appreciated. |
This is a feature request and not an issue with the code.
Dual window mode is using 2 or more terminals to control the agent, one for sending commands and one for receiving output (via
tail -f
of a log) for example.This would prevent the intrusions (and prompt overwrites) caused by printing output to the same terminal and would make queuing commands for slower (stealthier) C2 channels much easier.
For even more granularity it would be nice to have the option in the default shells to have different windows for "True Output" (being the responses for the commands sent to the Agent), a debug window (for tracking chunks/messages and garbage recv'd), and then the command input window that would contain whatever info is programed into the prompt.
The text was updated successfully, but these errors were encountered: