Monday, May 21, 2007

Creating "Dummy" files of a specific size for testing purposes

I was doing some testing on the NTFS file system and was watching how files are moved in and out of the MFT when they are small enough to it inside the MFT and be resident. I found myself creating a text file and then trying to get it to certain size to do my testing. I then found it easier to make an EnCase EnScript to create these "dummy" files for my testing. I then figured I might use the utility outside of EnCase so I then wrote a utility in Perl and compiled it to run in Windows.

Basically the program will create a "dummy" file with the name you specify, with the size you specify. The syntax is:

Download Here


Post a Comment

Computer Forensics, Malware Analysis & Digital Investigations

Random Articles