Add sort, ul, uniq

This commit is contained in:
Emilio Pinna 2018-05-30 19:15:29 +01:00
parent 1b5f2aedae
commit 401486648a
3 changed files with 48 additions and 0 deletions

16
_gtfobins/sort.md Normal file
View 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
View 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
View 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"
---