1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/dcfldd.md

13 lines
460 B
Markdown
Raw Normal View History

2020-01-06 17:32:45 +01:00
# dcfldd
> Enhanced version of dd for forensics and security.
2024-10-12 10:02:00 +02:00
> More information: <https://dcfldd.sourceforge.net/>.
2020-01-06 17:32:45 +01:00
- Copy a disk to a raw image file and hash the image using SHA256:
`dcfldd if={{/dev/disk_device}} of={{file.img}} hash=sha256 hashlog={{file.hash}}`
2020-01-06 17:32:45 +01:00
- Copy a disk to a raw image file, hashing each 1 GB chunk:
2020-01-06 17:32:45 +01:00
`dcfldd if={{/dev/disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}`