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