cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.55k stars 190 forks source link

[Feature Request] feed image as input stream to PhotoRec-executable #72

Open Raanelom opened 4 years ago

Raanelom commented 4 years ago

At the moment, PhotoRec requires an image on the hard disk or a physical device as input data. Would it be possible to feed the executable a stream of bytes representing the image? For example, small chunks of data served from memory?

cgsecurity commented 4 years ago

Currently PhotoRec uses non-contiguous read access to get the blocksize, recover fragmented files, resume recovery... What are you trying to do exactly ?