mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Disallow backslashes in bash file-read
This commit is contained in:
parent
c3710d7396
commit
89985be143
@ -48,5 +48,5 @@ functions:
|
|||||||
- description: It trims trailing newlines.
|
- description: It trims trailing newlines.
|
||||||
code: |
|
code: |
|
||||||
export LFILE=file_to_read
|
export LFILE=file_to_read
|
||||||
bash -c $'read -d \x04 a < "$LFILE"; echo "$a"'
|
bash -c $'read -r -d \x04 a < "$LFILE"; echo "$a"'
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user