mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix sort file-read to avoid actually sorting lines
Thanks to @dubek.
This commit is contained in:
parent
b6dfe3e083
commit
42997519e1
@ -1,17 +1,15 @@
|
||||
---
|
||||
description: |
|
||||
The read file content is corrupted by being sorted.
|
||||
functions:
|
||||
sudo-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo sort "$LFILE"
|
||||
sudo sort -m "$LFILE"
|
||||
suid-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./sort "$LFILE"
|
||||
./sort -m "$LFILE"
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sort "$LFILE"
|
||||
sort -m "$LFILE"
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user