Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
antivirus in qbasic
#21
Not exactly... It wouldn't really be a harmful program. Maybe it would check to make sure the target could handle it without a major decrease in disk space/memory/whatever so it wouldn't be a problem...

As for virus codes, you could download the source code for a virus and store them on a central server, then have the anti-virus check them against the files on the computer. That would be slow on dialup, though.
In the beginning, there is darkness – the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Reply
#22
Quote:An antivirus usually scans files for traces of virus code, of which it usually has several examples in its database. It may also look for changes in exe file attributes, e.g. size/date modified.

EDIT:
something that would be interesting is a self-replicating antivirus...

Is the anti-virus code in ASM? Machine language? Are these in EXE files? Perhaps there are links? I'm just curious lol.
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#23
viruses can be written in anything, even a batch file.
Reply
#24
Ok, so in batch files, it would be regular text, but how about in EXE files? What's the code in an EXE file?
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#25
It is machine code, like every compiled program. Most virus are written in assembly or C (low level for tightness and stuff), but yeah. You can write a killer virus in VBScript if you want.

Antivirus programs just look for known strings or traces of activity in files. Writing one isn't difficult, what's difficult is writing and maintaining the database it relies on.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#26
espically since most modern anti-virus update from a website, and thats difficult in qb.
Reply
#27
Oh, I wasn't thinking on QB at all, c'mon :lol:

QB runs in a box within windows. That should sum it up completely. No use in writing an antivirus in QB, of course.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#28
come on man, you're crushing their dreams....

:rotfl:
Reply
#29
you could always try and ask someone who makes anti-virus software such as norton, or just use fb.
Reply
#30
Or wait four years, get degrees in computer science and computer security, then write it in whatever language you've come to like most during those four years.

**ALTERNATIVE OPTION**
Download a free antivirus program.
In the beginning, there is darkness – the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)