mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-15 00:01:45 +01:00
Add shuf
This commit is contained in:
parent
710148098e
commit
80abdca9d1
17
_gtfobins/shuf.md
Normal file
17
_gtfobins/shuf.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
description:
|
||||||
|
A newline char is added to the data. The data may contain several lines: `shuf -e $'line 1\nline 2\nline 3' -o file_to_write`
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_write
|
||||||
|
sudo shuf -e data -o "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_write
|
||||||
|
./shuf -e data -o "$LFILE"
|
||||||
|
file-write:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_write
|
||||||
|
shuf -e data -o "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user