![]() So, nevertheless, how can i perform what I want on these files? Is there a way to just "touch" the file, change a header or something and make it nonidentical to an untouched one? There are still file types that I need to change there md5 hash output, but I don't think they are modifiable in java - media files for example, executables and etc. Java libraries for modifying office documents :doc, docx, xls, xlsx, ppt, pptx. Appending just a space (" ") at the end of the binary content of a docx file that I open in a text editor, corrupts the file. ZIP file - I've tried the same that I did with pdf, and it also worked.ĭOCX- the same method stopped working here. Well, to my surprise it worked and the file wasn't corrupted. PDF file - well I started looking for a java library to edit pdf files, but then I accidentally tried to open a pdf file in notepad++, and thought - why don't I try to add a random string to the end of the not readable content that I see there. ![]() I just add a random string to the end of the file. ![]() I need to duplicate various kinds of file types, change them a bit so that the original's md5 hash won't match the modified one, but keep them readable and not corrupted. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |