Hey guys,
I've got an AES encrypted file that my task is to decrypt knowing that it used gcc PRNG to generate the key and I know in which week it happened ...
So I made a script and it works great except for that fact that .. well there's a fake EOF in the encrypted file so when I read it, I read only a small portion of it.
How can I avoid reading it? I've had a suggestion to read the file bit by bit but what I've found so far is read a file per each byte which is then converted to bits and I am not sure if this would work as the EOF will be read again .. any ideas/solutions?