mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Use variables in dd
This commit is contained in:
parent
d937f2ba52
commit
66f60d7ef6
@ -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
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user