Mark wrote:
> -----Original Message-----
> From: clamav-users-boun...@lists.clamav.net
> [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of Daniel J
> McDonald
> Sent: maandag 30 maart 2009 15:54
> To: clamav-users@lists.clamav.net
> Subject: Re: [Clamav-users] test for SafeBrowsing?
> 
>>> ... I can't get any URL to match. :(
>> Were you putting the URL's in bare, or enclosing them in <a
>> href=... /a> ?
>>
>> Apparently, clamav has trouble finding bare uris.
>>
>> I managed to find 3 hits in the wild last week, out of about 181,000
>> messages. The messages were all identical
> 
> Thanks. Yeah, I tried within a=href as well. Problem just is I can't find
> any URL that will match. Even tried numerous sites against:
> 
> http://www.google.com/safebrowsing/diagnostic?site=
> 
> But so far I can't come up with any 'known' bad URL that will match.

This one works for me:

URL=msio.org.ir; echo -e "From test\n\n<a href=http://$URL>test</a>" |
clamdscan -

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to