I am writing arbitrary byte arrays (fake virus signatures of 32 bytes) to arbitrary files, and I need code to overwrite a specific file taking into account the offset to the file. My specific question is: is there any source code / libraries that I can use to perform this specific task?
I also had a problem with Python file manipulation. I am looking for a set of functions that can kill a string, cut / copy / paste, etc. My assumptions are that these are extremely common tasks, and I could not find them in the Java API and Google search.
Sorry for the lack of RTFM; I did not come across any information, and I searched for a while.
source
share