mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Add sort, ul, uniq
This commit is contained in:
parent
1b5f2aedae
commit
401486648a
16
_gtfobins/sort.md
Normal file
16
_gtfobins/sort.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
description: The read file content is corrupted by being sorted.
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo sort "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./sort "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sort "$LFILE"
|
||||||
|
---
|
16
_gtfobins/ul.md
Normal file
16
_gtfobins/ul.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
description: The read file content is corrupted by replacing the occurrences of underscores to terminal sequences.
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo ul "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./ul "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
ul "$LFILE"
|
||||||
|
---
|
16
_gtfobins/uniq.md
Normal file
16
_gtfobins/uniq.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
description: The read file content is corrupted by squashing multiple adjacent lines.
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo uniq "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./uniq "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
uniq "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user