Questions tagged [signature]
The signature tag has no usage guidance.
4 questions
2
votes
1
answer
270
views
Comparing jpg-signatures with fread-buffer; Can't find something
Using the if condition I am trying to compare the buffer with the given jpg signatures, but I never find something. In GDB I just see the while looping, but never entering the if condition.
What have ...
0
votes
2
answers
286
views
PSET4 Recover Problem to repair .jpg's signature in hexadecimal
I'm not sure if I use correctly the hexadecimal notation to verify if there is a .jpeg signature in the beginning of my BLOCK of 512 bytes. My program compile well but no photograph is revealed. May ...
0
votes
1
answer
57
views
How can I get the signature?
I've been stuck on recover.c for a while now, and looking into the GDB, I've seen that when I fread card.raw into a variable to be able to pass it on, and found that there wasn't a single time in the ...
0
votes
1
answer
125
views
pset4 recover.c signature not written correct
I am using the code below for pset4 recover.c. I can see nothing wrong in this code. The code writes 16 jpgs but none of them is open able. The header of jpg files doesn't seem to have been written ...