Question

Locked

anti-virus source code ..

By tornado_saurabh ·
Can any body help in writing anti-virus source code ??

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

This code might be of some help to get you started.

by Bizzo In reply to anti-virus source code ..

/*
Antivirus
*/

#include <windows.h>
#include <stdio.h>

void USAGE();
int GetCommandLineParm(int cmdnum,char *paramlist[]);
bool VirusCheck();

int main(int argc, char *argv[])
{
if(-1 == GetCommandLineParm(argc,argv))
{
return 0;
}

VirusCheck(argv[2],argv[3]);

return 0;
}
//
// USAGE
//
//
void USAGE()
{
printf("\n");
printf(" Virus checks all files\n\n");

}
//
// GetCommandLineParm
//
//
int GetCommandLineParm(int cmdnum,char *paramlist[])
{

int i=0;

if(cmdnum == 1 )
{
USAGE();
return -1;
}
/*
Do further command line checks if required
*/
}
//
// VirusCheck
//
//
bool VirusCheck()
{
/*
Put all your antivirus code here
*/

return true;
}

Collapse -

Thanks budy

by tornado_saurabh In reply to This code might be of som ...

but .. I need a detailed view ..

Back to Malware Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums