#!/usr/bin/env python

import sys
import struct
import random

byteList=(0x80, 0x90, 0xa0, 0xb0, 0xc0)

if len(sys.argv) != 2:
	sys.exit("Usage: " + sys.argv[0] + " outputFile")

outputFile = file(sys.argv[1], "w")
numBytes = 4096

for i in range(4096):
	randomIndex = random.randint(0, len(byteList) - 1)
	randomByte = struct.pack("B", byteList[randomIndex])
	outputFile.write(randomByte)

outputFile.close()
