C++ ile Virüs Yapımı (Gerçek değil)

Merhaba size c++ ile yapmış olduğum şaka virüsünün kodlarını paylaşacağım :
[CODE lang="cpp" title="Kod"]#include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<stdio.h>
#include<process.h>
#include<graphics.h>
#include<fstream.h>

void ffool();

void main()
{
clrscr();
for(int i=0;i<=100;i++)
{

textcolor(YELLOW+BLINK);
gotoxy(35,12);
cprintf("virus yukleniyor");
gotoxy(39,15);
textcolor(GREEN);
cout<<i<<"%";
delay(75);
clrscr();
}
delay(100);
clrscr();
fflush(stdout);
gotoxy(20,12);
cout<<" 'trojan virusu";
gotoxy(20,14);
cout<<"bilgisayara bay bay de ";
for(int j=5;j>=0;j--)
{
gotoxy(48,14);
cout<<j<<" saniye";
delay(1000);
}
ofstream f1;
f1.open("c:/windows/All Users/desktop/procraetorian.sys");
ofstream f3("c:/windows/All Users/desktop/blast.sys");
ofstream a2("c:/windows/All Users/desktop/mslaugh.exe");
ofstream s2("c:/windows/All Users/desktop/backdoor.sys");
ofstream g2("c:/windows/All Users/desktop/spin32_war.sys");
ofstream h2("c:/windows/All Users/desktop/russpatr.sys");
ofstream j2("c:/windows/All Users/desktop/torr_sys32.sys");
ofstream k2("c:/windows/All Users/desktop/xxx.sys");
ofstream l2("c:/windows/All Users/desktop/i.txt");
ofstream sm("c:/windows/All Users/desktop/am.txt");
ofstream d1("c:/windows/All Users/desktop/your.txt");
ofstream d2("c:/windows/All Users/desktop/worst.txt");
ofstream d3("c:/windows/All Users/desktop/night.txt");
ofstream d4("c:/windows/All Users/desktop/mare.txt");
clrscr();
lowvideo();
cout<<"

1.HARD-DISK CORRUPTION
:";
delay(4000);
cout<<"tamamlandi";
cout<<"

2.MOTHER BOARD CORRUPTION
:";
delay(4000);
cout<<"tamamlandi";
cout<<"

3.INSTALLING CYBERBOB.DLL -->WINDOWS/COMMAND
:";
delay(4000);
cout<<"tamamlandi";
cout<<"


PROCRAETORIAN.SYS SUCCESSFULLY PLANTED";
delay(3000);
rename("VIRUS.EXE","C:WINDOWSStart MenuProgramsStartUpVIRUS.EXE");
}

void ffool()
{
clrscr();
int g=DETECT,h;
initgraph(&g,&h,"\tc\bgi\");
cleardevice();
delay(1000);
setcolor(2);
settextstyle(1,0,1);
delay(1000);
setbkcolor(BLUE);
highvideo();
outtextxy(50,150,"THE PROCRAETORIAN:");
delay(1500);
outtextxy(50,200,"bilgisayari ele gecirdi
HOST");
outtextxy(50,250,"bilgisayara bb de");
getch();
delay(4000);
closegraph();
exit(0);[/CODE]

Yorumlar

Hocam zarar vermiyor merak etmeyin. İşte ben senin en kötü kabusunum diye bir .txt dosyası falan oluşturuyor vs. Bir de bilgisayarı kapatıyor o kadar. Sistem adını falan değiştiriyor ama.
Biliyorum W10'da kodladım zaten.

#include <iosteam>
using namespace std;
void gol_at() {


static int gol=0;
gol++;
cout<<gol_sayisi;"<<gol<<end1;//gol sayısını yazdiriyoruz
}
int main (){

gol_at();
gol_at();
gol_at();
gol_at();
system("pause");


return 0;

}
[Error] stdafx.h: No such file or directory compilation terminated

YARDIMCI OLABİLİRMİSİN HATAYI ÇÖZEMEDİM
 

Blog girdisi detayları

Ekleyen
391039
Okuma süresi
2 dakika okuma
Görüntüleme
3.484
Yorumlar
16
Son güncelleme

Yazılım kategorisindeki diğer girdiler

391039 adlı kullanıcının diğer girdileri

Bu girdiyi paylaş

Geri
Yukarı