I am doing an anti-virus project, I have a signature file and I want to separate the signatures in it. It is all beside each other and in hex, is there is a delimiter or something??
Thank you for your help. Abdelrahman.
I am doing an anti-virus project, I have a signature file and I want to separate the signatures in it. It is all beside each other and in hex, is there is a delimiter or something??
Thank you for your help. Abdelrahman.
... use base64 encoding? If you really want to collate stuff in the same file (for whatever reason), you can use an encoding such as Base64 and use a delimiter string between different entries.
Assuming I understand your question, it is a binary file.
You need to know the structure of the file and then use fread()
(or your language of choice's mechanism to read binary files) to read N times that structure from the file (you'll also need to know the size of N)
Also, if you did not create the signature file, you should be careful of infringing on someone else's copyrights.