Am 20.03.2011 16:49, schrieb Charles Marcus:
> On 2011-03-19 3:57 PM, Reindl Harald wrote:
>> Am 19.03.2011 19:32, schrieb Ralf Hildebrandt:
>>> What I'm doing is this (just a few examples):
>>>
>>> alo.com      error:5.1.2 You probably meant aol.com, not alo.com
> 
>> this is a cool solution
> 
> I agree...
> 
> Here's a site for generating a list of typos for any given domain to
> quickly build some lists:
> 
> http://www.selfseo.com/domain_typo_generator.php

thank you for a new bookmark :-)

here a simple php shell-script to verify domains if
they have MX or the a-record port 25 open

put the output from the website in a textfile "data.txt"
in the same folder and start it from the shell

#!/usr/bin/php
<?php
 $data = file('data.txt');
 ini_set('display_errors', 0);
 foreach($data as $domain)
 {
  $invalid = true;
  $domain = trim($domain);
  if(getmxrr($domain, $mxhosts))
  {
   $invalid = false;
  }
  else
  {
   $host_ip = gethostbyname($domain);
   if(!empty($host_ip))
   {
    $fp = fsockopen($host_ip, 25, $errno, $errstr, 5);
    if($fp)
    {
     $invalid = false;
    }
    @fclose($fp);
   }
  }
  if($invalid)
  {
   echo $domain . "\n";
   flush();
  }
 }
?>

[harry@srv-rhsoft:~/Desktop]$ php test.php
uahoo.com
7ahoo.com
yagoo.com
gotmail.com
botmail.com
notmail.com
jotmail.com
yotmail.com
hltmail.com
hptmail.com
h0tmail.com
h9tmail.com
hormail.com
hofmail.com
hoymail.com
ho6mail.com
hotnail.com
hotmwil.com
hotmqil.com
hotmaul.com
hotmajl.com
hotmakl.com
hotmaol.com
hotma8l.com
hotmaik.com
hmail.com
gmajl.com
gmakl.com
gma9l.com
gma8l.com
gmaik.com





Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to