I have a disk image I made using `ddrescue` that is on an external hard drive.
I would like assistance in adding a custom signature to PhotoRec and then use PhotoRec to retrieve the file.
The file type in question is JEX (.jex extension) which stands for "Joplin Export File" https://joplinapp.org/help/apps/import_export#exporting
Here is some sample output from hexdump:
Code: Select all
$ hexdump -C test_note.jex | head
00000000  34 63 39 31 34 63 35 37  31 66 35 30 34 63 64 30  |4c914c571f504cd0|
00000010  62 63 38 64 64 38 39 34  36 39 66 35 63 35 62 35  |bc8dd89469f5c5b5|
00000020  2e 6d 64 00 00 00 00 00  00 00 00 00 00 00 00 00  |.md.............|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 00 00 00 30 30 30 36  34 34 20 00 00 00 00 00  |....000644 .....|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 30 30 30 30  |............0000|
00000080  30 30 30 35 35 30 20 00  31 34 36 33 36 35 33 31  |000550 .14636531|
00000090  37 32 31 00 30 31 32 36  33 33 20 00 30 00 00 00  |721.012633 .0...|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
Code: Select all
$ hexdump -C test_note_2.jex | head
00000000  33 33 33 61 38 61 36 39  33 66 34 31 34 63 66 66  |333a8a693f414cff|
00000010  61 66 34 62 39 37 37 35  39 66 33 36 61 35 31 38  |af4b97759f36a518|
00000020  2e 6d 64 00 00 00 00 00  00 00 00 00 00 00 00 00  |.md.............|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 00 00 00 30 30 30 36  34 34 20 00 00 00 00 00  |....000644 .....|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 30 30 30 30  |............0000|
00000080  30 30 31 33 32 37 20 00  31 34 36 33 36 35 33 32  |001327 .14636532|
00000090  31 35 34 00 30 31 32 35  36 34 20 00 30 00 00 00  |154.012564 .0...|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
Code: Select all
$ hexdump -C QubesIncoming/personal/25_06_2024.jex | head
00000000  31 31 65 64 31 39 64 33  64 61 65 35 34 34 33 62  |11ed19d3dae5443b|
00000010  61 34 62 38 31 39 33 39  39 35 66 62 64 34 33 35  |a4b8193995fbd435|
00000020  2e 6d 64 00 00 00 00 00  00 00 00 00 00 00 00 00  |.md.............|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 00 00 00 30 30 30 36  34 34 20 00 00 00 00 00  |....000644 .....|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 30 30 30 30  |............0000|
00000080  30 30 36 31 34 34 20 00  31 34 36 33 36 35 31 34  |006144 .14636514|
00000090  31 30 30 00 30 31 32 36  31 35 20 00 30 00 00 00  |100.012615 .0...|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
fidentify returns unknown on these files.
I am not sure how to turn this into a signature since the example here https://www.cgsecurity.org/wiki/Add_you ... o_PhotoRec doesn't match my use case.
Let me know if there's any other information I should provide.
Edit: corrected the link to JEX file description