mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 09:34:56 +02:00
Use variables in dd
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
---
|
---
|
||||||
functions:
|
functions:
|
||||||
file-read:
|
file-read:
|
||||||
- code: dd if=file_to_read
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
dd if=LFILE
|
||||||
file-write:
|
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