mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-25 19:54:14 +02:00
Use variables in dd
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
---
|
||||
functions:
|
||||
file-read:
|
||||
- code: dd if=file_to_read
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
dd if=LFILE
|
||||
file-write:
|
||||
- code: echo "data" | dd of=file_to_write
|
||||
- code: |
|
||||
LFILE=file_to_write
|
||||
echo "data" | dd of=$LFILE
|
||||
---
|
||||
|
Reference in New Issue
Block a user