Page 1 of 1
How can i make an antivirus in c++ or vbasic
Posted: Thu Jan 30, 2003 3:15 am
by nuno_silva_pt
How can i make an antivirus in c++ or vbasic
Re:How can i make an antivirus in c++ or vbasic
Posted: Sat Feb 01, 2003 7:28 am
by Whatever5k
The way a AntiVirus program works is (in my oppinion) quite boring but very exhausting...
It has a database with informations about every virus (that is: file size, file name, location, etc). Now when scanning a file, it searches through the database and compares it with the file attributes (file size, file name, etc.).
Much work and not very interesting as I think
Re:How can i make an antivirus in c++ or vbasic
Posted: Sat Mar 15, 2003 9:03 pm
by Mastermind
What's the point? There are many antivirus software out in the world that you could use. Besides, programming one would be very tedious and time-wasting
Re:How can i make an antivirus in c++ or vbasic
Posted: Mon Mar 17, 2003 2:57 am
by fstream
i do agree with u mastermind that there are tons of anti-virii stuff out there, but i wouldnt discourage anyone by saying why bother. The best way to learn to do something is to do it yourself. Sure it may take a while, but you learn A LOT, more so than if you didnt do anything...
Re:How can i make an antivirus in c++ or vbasic
Posted: Fri Mar 28, 2003 7:58 am
by Haik
I made an antivirus program once. It had an ini file with data something like this:
[av]
number=3
1=subsevengold
2=someother
3=someother
[0]
name=SubSeven Gold someversion
crop=19965
cropmd5=ndasjkJkJBDkj98429KJd84
[1]
...
[2]
...
So the antivirus program would do this:
+should check file
start loop "checkvir" for >ini group "av" item "number"< loops
+on loop "checkvir"
crop file to >ini group str$(loopstep) item "crop"<
+on loop "checkvir"
+cropped file's md5 = ini group str$(loopstep) item "md5"
do some virus warning
I don't remember it fully, but that's how it should go.