Log in

View Full Version : A Virus Scanner for Attachments Hack?


Dark Blaze
11-30-2001, 10:49 AM
Good Day,

I was viewing my forums the other day, and noticed the anxiety that was produced, because the users were trying to download attachments and would find some files that contain viruses. I was wondering if you could create a hack that could scan the attachments for viruses before they get uploaded. For example, Hotmail uses McAffee services to scan for free all attachments in emails. Is there any way a hack can send a message to a virus scanner to scan all attachments on forums?


I'm not sure if it's possible, but today almost anything is possible :D

I do not know if someone else has thought of this, since I have only been around this particular forum once. But do not worry, you'll be seeing plenty of me in time :)

If you have made such a hack or intend to make such a hack or have noticed such a hack somewhere, please let me know, because it will be safer for both me and the users to download attachments that do not have trojans, viruses, etc.

Thank you for Reading,

nafae
11-30-2001, 10:42 PM
i dunno if that would be possible.. dousnt sound like it but i would love for someone to prove me wrong b/c that would be a nice hack.

Scott MacVicar
12-01-2001, 12:17 AM
may be possible

when files are uploaded they are stored in a temporary directory on the server, usually /tmp

If you can find a shell based virus scanner you could probably get the attachment function to run it before importing it to the database.

Scott

Dark Blaze
12-01-2001, 06:40 PM
[QUOTE]Originally posted by nafae
i dunno if that would be possible.. dousnt sound like it but i would love for someone to prove me wrong b/c that would be a nice hack.

Dark Blaze
12-01-2001, 06:47 PM
[QUOTE]Originally posted by PPN
may be possible

when files are uploaded they are stored in a temporary directory on the server, usually /tmp

If you can find a shell based virus scanner you could probably get the attachment function to run it before importing it to the database.

Scott

EzX5U
09-27-2003, 06:54 PM
i know that it's an old post..
but i got this link from a friend:
http://www.kaspersky.com/remoteviruschk.html

i think it's possible to do a hack uses that kaspersky On-line Virus Checker..what do u think???

EzX5U
10-01-2003, 11:50 AM
up ^^

liquidblaze
10-06-2003, 05:18 PM
proove me wrong, but if you got your own dedicated server, cant you just install some virus scanner, put a cronjob to let it run every hour or so (mind the server load) and have it report or better yet kill all the files that are malicious?!

a perl script could start the scanner and if a file was found a mail could be dispatched - I dont have any idea however if it would be possible to fork this into vb

fleccy
10-06-2003, 05:42 PM
why is this topic still here :p it's like 2 years old

liquidblaze
10-06-2003, 05:45 PM
heh there has been some activity in this thread recently so i thought id post my 2 cents

JHung
03-21-2005, 12:39 AM
sophos is pretty good and reliable. we use it on our server