magicrescue(1) on Linux
The text 0978da521a12, as Debian 9 (Stretch) shipped it.
Scans a block device and extracts known file types by looking at magic bytes.
Flags it lists
-
-I -
-M -
-O -
-b -
-d -
-r