Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virus Scanning help [php]
#1
I am trying to make a file scanner to check if it has viruses with php. I made the upload form already. Can someone help me with the code? I heard you can do it with clamscan. I tried:

exec("clamscan /var/www/upload", $file, $return)

if ($return == 0)
{
echo "clean"
}

else
{
echo "virus!"
}

But it always comes out as infected, even if it is not. Help please? show me the right path or somethnig. Or just the right code.

thanksBlackhat
Support the best of ideas ----->

- http://www.vinceking69.blogspot.com -
Reply


Messages In This Thread
Virus Scanning help [php] - by p0w3r0fchr1st - 02-19-2010, 09:51 AM
RE: Virus Scanning help [php] - by ELY_M - 02-20-2010, 07:50 AM
RE: Virus Scanning help [php] - by p0w3r0fchr1st - 02-20-2010, 08:56 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)