GTFOBins.github.io/_gtfobins/nl.md
2018-07-16 15:01:50 +02:00

17 lines
377 B
Markdown

---
description: The read file content is corrupted by a leading space added to each line.
functions:
file-read:
- code: |
LFILE=file_to_read
nl -bn -w1 -s '' $LFILE
suid-enabled:
- code: |
LFILE=file_to_read
./nl -bn -w1 -s '' $LFILE
sudo-enabled:
- code: |
LFILE=file_to_read
sudo nl -bn -w1 -s '' $LFILE
---