mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-10-17 10:56:20 +02:00
Use DATA as a placeholder for file-write operations
This commit is contained in:
@@ -9,7 +9,7 @@ functions:
|
||||
file-write:
|
||||
- code: |
|
||||
LFILE=file_to_write
|
||||
sed -n "1s/.*/data/w $LFILE" /etc/hosts
|
||||
sed -n "1s/.*/DATA/w $LFILE" /etc/hosts
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
|
Reference in New Issue
Block a user