April 26, 2020 at 1:37 am #34957
Moderator
Hello Bartosz,
Yeah see I chose to implement the cd like this because it is a more clean way of doing it, also doing it using the check_output or Popen will have the same effect which would basically execute the command successfully but won’t actually change the working directory.
And yes I wanted the commands to be executed in the same process, that way the backdoor will pause and only continue running once the command finishes execution.