2018-05-28 21:34:12 +02:00
|
|
|
---
|
|
|
|
functions:
|
|
|
|
file-write:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_write
|
2018-08-20 14:35:43 +02:00
|
|
|
echo "DATA" | dd of=$LFILE
|
2018-07-04 20:26:52 +02:00
|
|
|
file-read:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_read
|
2018-11-20 13:05:36 +01:00
|
|
|
dd if=$LFILE
|
2018-10-05 19:55:38 +02:00
|
|
|
suid:
|
2018-07-22 15:30:03 +02:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_write
|
|
|
|
echo "data" | ./dd of=$LFILE
|
2018-10-05 19:55:38 +02:00
|
|
|
sudo:
|
2018-07-22 15:30:03 +02:00
|
|
|
- code: |
|
|
|
|
LFILE=file_to_write
|
2020-06-10 22:53:45 +02:00
|
|
|
echo "data" | sudo dd of=$LFILE
|
2018-05-28 21:34:12 +02:00
|
|
|
---
|