HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

support www.malwaredomains.com
http://havp.hege.li/forum/viewtopic.php?f=4&t=387
Page 1 of 1

Author:  mariuszekpl [ 16 Sep 2008 13:46 ]
Post subject:  support www.malwaredomains.com

Can you add suport for http://www.malwaredomains.com

It is my code in PHP, I download domains.txt
Code:
wget http://www.malwaredomains.com/files/domains.txt

After it i parse file and generate blacklist domains,and i add new domains to my existings file


Code:
#!/opt/CMS/bin/php
<?
  //  wget http://www.malwaredomains.com/files/domains.txt

  // insert file in array
  $f=file("domains.txt");

  // delete first line
  $f[0]="#";

  //
  foreach ($f as $row)
  {
    make_row($row);
  }

  function make_row($row)
  {
    $line = trim($row);
    if($line[0]!="#" && $line!="" )
    {
      $T=explode("\t",$line);
      echo $T[0]."/*\n";
    }
  }
?>


But problem is with update blacklist
Have you any ideas ?

Author:  hege [ 16 Sep 2008 20:30 ]
Post subject:  Re: support www.malwaredomains.com

HAVP is not intended or optimized for such large blocklisting.

See:

ufdbGuard
SquidGuard
DansGuardian
etc..

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/