photorec not extracting png image Topic is solved

Using PhotoRec to recover lost data
Locked
Message
Author
ricksimpson
Posts: 6
Joined: 02 Dec 2015, 19:52

photorec not extracting png image

#1 Post by ricksimpson » 02 Dec 2015, 20:05

Hello,

Im feeding photorec an exe file with this command line:

photorec_win.exe /debug /log /cmd "file.exe" partition_none,fileopt,search /d "rec"

or

photorec_win.exe /debug /log /cmd "file.exe" fileopt,everything,enable,search /d "rec"

and it only outputs the exe file, no png, i then extracted the png manually and checked with

fidentify_win.exe "00004815.png"
00004815.png: png

so it seems the signature matches, i believe it could be due to the search mode in use, i will keep fiddling around but if anyone notices what could be going on please let me know!

-r1ck

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3762
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: photorec not extracting png image  Topic is solved

#2 Post by cgrenier » 03 Dec 2015, 07:35

The png inside the exe file isn't aligned to 512 byte boundary.
Try

Code: Select all

photorec_win.exe /debug /log /cmd "file.exe" partition_none,blocksize,1,search /d "rec"

ricksimpson
Posts: 6
Joined: 02 Dec 2015, 19:52

Re: photorec not extracting png image

#3 Post by ricksimpson » 03 Dec 2015, 17:31

thank you!

Locked

Who is online

Users browsing this forum: No registered users and 1 guest