If running more than one module at the same time, output gets mixed up #93
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
Sessions run modules/tasks asynchronously, the way this is currently implemented (threads) has the unfortunate consequence of mixing up module's output if more than one is running at the same time because we're just hooking STDout using
Console.SetOutput()
. (https://github.com/byt3bl33d3r/SILENTTRINITY/blob/master/core/teamserver/data/stage.boo#L359-L379)We really have only two options (unless i'm missing something obvious) to fix this:
print
statement for a modules output but would complicate the code considerably )StringBuilder()
object to each module and append the output to it (this would allow us to keep using threads but we won't be able to use theprint
statement anymore to handle output which is really pretty)The text was updated successfully, but these errors were encountered: