GTFOBins.github.io/_gtfobins/tac.md
2020-03-23 19:54:53 +01:00

452 B

description functions
Make sure that `RANDOM` does not appear into the file to read otherwise the content of the file is corrupted by reversing the order of `RANDOM`-separated chunks.
file-read suid sudo
code
LFILE=file_to_read tac -s 'RANDOM' "$LFILE"
code
LFILE=file_to_read ./tac -s 'RANDOM' "$LFILE"
code
LFILE=file_to_read sudo tac -s 'RANDOM' "$LFILE"