I am now doing some tests of my application again corrupted files. But I found it is hard to find test files.
So I'm wondering whether there are some existing tools, which can write random/garbage bytes into a file of some format.
Basically, I need this tool to:
- It writes random garbage bytes into the file.
- It does not need to know the format of the file, just writing random bytes are OK for me.
- It is best to write at random positions of the target file.
- Batch processing is also a bonus.
Thanks.