Write a c program such that when we will click its .exe file then it will open internet explorer at infinite times?

Answer:

Write the following program in TURBO C.

void main (void)

{

for(; ;)

{

system("c:\\progra~1\\intern~1\\iexplore.exe");

}

}

Save the above .Let file name is internet.c and compile the above program. Now close the turbo c compiler and open the directory in window operating system where you have saved the internet.c (default directory c:\tc\bin)and double click on its exe file (internet.exe).

7 comments:

Prashant Agarwal said...

ya its working
thanx boss

TECHSEA360 said...

nice but any one can stop it by just simply exiting the console....i v been trying to find a way to hide the console but failed.....ant idea???

Anonymous said...

HOW TO OPEN ANY WINDOW USING C PLZ SOMEONE TELL ME.....?

amit said...

its working but if we write a complete path instead of c:\\progra~1\\intern~1\\iexplore.exe then internet don't open infinite times.why????
plz help me in that case.plz send me the reason if possible at my id amitdhiman41@gmail.com. and thanx for this program.

Samandeep Singh Panwar said...

@ writer: If you looking for an alternate to run this program, better try to convert the class file of internet.c to .exe through some exe converters (u'll find lots of them, just google it). And then run it. It will go on until you close the .exe file. For more trouble to victim, save this .exe file into the startup folder of the victim's OS like in Windows and then it goes- every time he/she starts the system before anything he'll get bombardment of explorer windows. ;)

Samandeep Singh Panwar said...

And better guys go for batch programming to encode viruses, it's simple, plenty of areas to target (kinda versatile), very interesting and funny and basically its easy to convert .batch - .exe so portable. :))

Unknown said...

do you have one for c++ also
header file for system????