1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/nl.md

17 lines
361 B
Markdown
Raw Normal View History

2018-05-30 09:56:12 +02:00
---
2018-07-16 15:01:50 +02:00
description: The read file content is corrupted by a leading space added to each line.
2018-05-30 09:56:12 +02:00
functions:
file-read:
2018-07-16 15:01:50 +02:00
- code: |
LFILE=file_to_read
nl -bn -w1 -s '' $LFILE
2018-10-05 19:55:38 +02:00
suid:
2018-07-16 15:01:50 +02:00
- code: |
LFILE=file_to_read
./nl -bn -w1 -s '' $LFILE
2018-10-05 19:55:38 +02:00
sudo:
2018-07-16 15:01:50 +02:00
- code: |
LFILE=file_to_read
sudo nl -bn -w1 -s '' $LFILE
2018-05-30 09:56:12 +02:00
---