diff --git a/_gtfobins/nl.md b/_gtfobins/nl.md index d886971..f8309cc 100644 --- a/_gtfobins/nl.md +++ b/_gtfobins/nl.md @@ -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 ---