1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 11:24:56 +02:00
tldr/pages/common/dcfldd.md
2020-01-14 22:02:10 +00:00

12 lines
458 B
Markdown

# dcfldd
> Enhanced version of dd for forensics and security.
> More information: <http://dcfldd.sourceforge.net/>.
- 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}}`
- Copy a disk to a raw image file, hashing each 1GB chunk:
`dcfldd if=/dev/{{disk_device}} of={{file.img}} hash={{sha512|sha384|sha256|sha1|md5}} hashlog={{file.hash}} hashwindow={{1G}}`