mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Fix sed file write
This commit is contained in:
parent
f79b10a5f8
commit
f088906051
@ -11,7 +11,7 @@ functions:
|
||||
file-write:
|
||||
- code: |
|
||||
LFILE=file_to_write
|
||||
sed -n '1e exec sh 1>&0 /etc/hosts
|
||||
sed -n "1s/.*/DATA/w $LFILE" /etc/hosts
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
|
Loading…
Reference in New Issue
Block a user