mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Add sudo and suid to nl
This commit is contained in:
parent
5a1c87e7c5
commit
b3c405e2d5
@ -1,8 +1,17 @@
|
||||
---
|
||||
description: |
|
||||
The read file content is corrupted by a leading space added to each line.
|
||||
functions:
|
||||
sudo-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo nl -bn -w1 -s '' $LFILE
|
||||
suid-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./nl -bn -w1 -s '' $LFILE
|
||||
file-read:
|
||||
- description: This prepends a leading space to each line.
|
||||
code: |
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
nl -bn -w1 -s '' $LFILE
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user