Thanks, all. However its a real shame that it will not scan generic files looking for bad urls rather than only scanning email files.
I was going to to use clamav to scan disk drives for scripts that used uris in safe browsing So much of that :-( Tom > On Nov 10, 2016, at 3:46 PM, Steve basford <steveb_cla...@sanesecurity.com> > wrote: > > Hi Tom, > > Create a standard header body formatted email and then insert the address at > the end. > > It will be detected. Just placing on a line.. it won't be detected, > > Cheers, > > Steve > Twitter: @sanesecurity > > > > On 10 November 2016 19:53:05 TR Shaw <ts...@oitc.com> wrote: > >> I have freshclam set to load safe browsing: >> >> -rw-r--r-- 1 _clamav admin 57874944 Nov 10 11:51 daily.cld >> -rw-r--r-- 1 _clamav admin 103419904 Nov 10 13:51 safebrowsing.cld >> >> I placed http://ianfette[.]org/ in a file safebrowsingtest.txt >> >> Then I run clam and expect to hit safe browsing but I instead I get OK. >> >> $ clamscan -v safebrowsingtest.txt >> Scanning safebrowsingtest.txt >> safebrowsingtest.txt: OK >> >> ----------- SCAN SUMMARY ----------- >> Known viruses: 8073056 >> Engine version: 0.99.2 >> Scanned directories: 0 >> Scanned files: 1 >> Infected files: 0 >> Data scanned: 0.00 MB >> Data read: 0.00 MB (ratio 0.00:1) >> Time: 12.567 sec (0 m 12 s) >> >> When I place http://ianfette[.]org/ in a browser I get the safe browsing >> alert. Any ideas what I am doing wrong? >> >> Tom >> >> >> _______________________________________________ >> clamav-users mailing list >> clamav-users@lists.clamav.net >> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users >> >> >> Help us build a comprehensive ClamAV guide: >> https://github.com/vrtadmin/clamav-faq >> >> http://www.clamav.net/contact.html#ml > > > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml