FileGen Publisher's description
from Didier Stevens
A command-line program to create test files of different lengths
The FileGen application was designed to be a command-line program to create test files of different lengths.
FileGen takes 2 or 3 parameters: filegen file size [byte]
- filegen test 1000
- this will create a file named test and 1000 bytes long, the bytes are random
filegen test 1000 0
- this will create a file named test and 1000 bytes long, and all the bytes will be zero
The size and byte can be specified in hexadecimal notation, like this:
filegen test 0Г—100 0xA0
When you create a random byte sequence, CвЂ™s pseudo random number generation function rand is seeded with the current time (srand(time(NULL))). This means that the generated byte sequence is different each time you run the command.
The algorithm is not optimized for speed.
FileGen doesnвЂ™t test if the generated file already exists, it will be overwritten without warning. And it will not test if you have the required disk space to create the file.
Generating a 1.000.000.000 bytes long random file takes 95 seconds on my 2GHz machine.
System Requirements:No special requirements.
Program Release Status:
Program Install Support: Install and Uninstall