Last active
November 22, 2017 09:48
-
-
Save tossmilestone/1f615d2d2124fcd9452e34f9c014900b to your computer and use it in GitHub Desktop.
Fill memory with bytes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python2 | |
| import numpy | |
| g = 10 | |
| result = [numpy.random.bytes(1024*1024) for x in xrange(g*1024)] | |
| raw_input('Press <ENTER> to continue') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment