Custom Files

Using PhotoRec to recover lost data
Post Reply
Message
Author
driver
Posts: 3
Joined: 02 Aug 2016, 13:04

Custom Files

#1 Post by driver » 08 Aug 2016, 19:47

Trying to understand how to add custom files to photorec. All the examples are specific to being line "0" of the offset signature.

I will use this as an example.

[root@sysadminnas ~]# hexdump -C pre.dat | head
00000000 34 20 20 20 20 20 20 20 00 00 00 07 00 00 00 00 |4 ........|
00000010 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 20 20 00 00 00 00 20 20 20 20 00 00 |.... .... ..|
00000030 00 00 00 00 00 00 53 4f 4c 55 54 49 4f 4e 20 20 |......SOLUTION |
00000040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |

Trying to key off of SOLUTION. Not sure what I am missing.

dat 3 "SOLUTION"

The only ones that seem to work are on the first line. Like so.

dat 0 "4"

I appreciate any and all assistance.

Sponsored links

driver
Posts: 3
Joined: 02 Aug 2016, 13:04

Re: Custom Files

#2 Post by driver » 09 Aug 2016, 12:35

Seems like this should be an easy one. I don't see why I can't key off of anything other than the first line.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest