function parse($data_str, $query)
 {
     $items = array('Domain ID:' => 'domain.handle', 'Domain Name:' => 'domain.name', 'Created On:' => 'domain.created', 'Expiration Date:' => 'domain.expires', 'Registrar ID:' => 'domain.sponsor', 'Name Server:' => 'domain.nserver.', 'Registrant ID:' => 'owner.handle', 'Registrant Name:' => 'owner.name', 'Registrant Organization:' => 'owner.organization', 'Registrant Street:' => 'owner.address.street', 'Registrant City:' => 'owner.address.city', 'Registrant Postal Code:' => 'owner.address.pcode', 'Registrant Country:' => 'owner.address.country', 'Registrant Phone:' => 'owner.phone', 'Registrant Fax:' => 'owner.fax', 'Registrant Email:' => 'owner.email', 'Admin ID:' => 'admin.handle', 'Admin Name:' => 'admin.name', 'Admin Organization:' => 'admin.organization', 'Admin Street:' => 'admin.address.street', 'Admin City:' => 'admin.address.city', 'Admin Postal Code:' => 'admin.address.pcode', 'Admin Country:' => 'admin.address.country', 'Admin Phone:' => 'admin.phone', 'Admin Fax:' => 'admin.fax', 'Admin Email:' => 'admin.email', 'Tech ID:' => 'tech.handle', 'Tech Name:' => 'tech.name', 'Tech Organization:' => 'tech.organization', 'Tech Street:' => 'tech.address.street.', 'Tech City:' => 'tech.address.city', 'Tech Postal Code:' => 'tech.address.pcode', 'Tech Country:' => 'tech.address.country', 'Tech Phone:' => 'tech.phone', 'Tech Fax:' => 'tech.fax', 'Tech Email:' => 'tech.email', 'Billing ID:' => 'billing.handle', 'Billing Name:' => 'billing.name', 'Billing Organization:' => 'billing.organization', 'Billing Street:' => 'billing.address.street', 'Billing City:' => 'billing.address.city', 'Billing Postal Code:' => 'billing.address.pcode', 'Billing Country:' => 'billing.address.country', 'Billing Phone:' => 'billing.phone', 'Billing Fax:' => 'billing.fax', 'Billing Email:' => 'billing.email');
     $r['regyinfo'] = array('referrer' => 'http://musedoma.museum', 'registrar' => 'Museum Domain Management Association');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items);
     return $r;
 }
Example #2
0
 function parse($data_str, $query)
 {
     $r['regrinfo'] = generic_parser_b($data_str['rawdata']);
     $r['regyinfo']['referrer'] = 'http://www.nic.travel/';
     $r['regyinfo']['registrar'] = 'Tralliance Corporation';
     return $r;
 }
Example #3
0
 function parse($data_str, $query)
 {
     $items = array('[State]' => 'domain.status', '[Status]' => 'domain.status', '[Registered Date]' => 'domain.created', '[Created on]' => 'domain.created', '[Expires on]' => 'domain.expires', '[Last Updated]' => 'domain.changed', '[Last Update]' => 'domain.changed', '[Organization]' => 'owner.organization', '[Name]' => 'owner.name', '[Email]' => 'owner.email', '[Postal code]' => 'owner.address.pcode', '[Postal Address]' => 'owner.address.street', '[Phone]' => 'owner.phone', '[Fax]' => 'owner.fax', '[Administrative Contact]' => 'admin.handle', '[Technical Contact]' => 'tech.handle', '[Name Server]' => 'domain.nserver.');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'ymd');
     $r['regyinfo'] = array('referrer' => 'http://www.jprs.jp', 'registrar' => 'Japan Registry Services');
     if (!$this->deep_whois) {
         return $r;
     }
     $r['rawdata'] = $data_str['rawdata'];
     $items = array('a. [JPNIC Handle]' => 'handle', 'c. [Last, First]' => 'name', 'd. [E-Mail]' => 'email', 'g. [Organization]' => 'organization', 'o. [TEL]' => 'phone', 'p. [FAX]' => 'fax', '[Last Update]' => 'changed');
     $this->Query['server'] = 'jp.whois-servers.net';
     if (!empty($r['regrinfo']['admin']['handle'])) {
         $rwdata = $this->GetRawData('CONTACT ' . $r['regrinfo']['admin']['handle'] . '/e');
         $r['rawdata'][] = '';
         $r['rawdata'] = array_merge($r['rawdata'], $rwdata);
         $r['regrinfo']['admin'] = generic_parser_b($rwdata, $items, 'ymd', false);
         $r = $this->set_whois_info($r);
     }
     if (!empty($r['regrinfo']['tech']['handle'])) {
         if (!empty($r['regrinfo']['admin']['handle']) && $r['regrinfo']['admin']['handle'] == $r['regrinfo']['tech']['handle']) {
             $r['regrinfo']['tech'] = $r['regrinfo']['admin'];
         } else {
             unset($this->Query);
             $this->Query['server'] = 'jp.whois-servers.net';
             $rwdata = $this->GetRawData('CONTACT ' . $r['regrinfo']['tech']['handle'] . '/e');
             $r['rawdata'][] = '';
             $r['rawdata'] = array_merge($r['rawdata'], $rwdata);
             $r['regrinfo']['tech'] = generic_parser_b($rwdata, $items, 'ymd', false);
             $r = $this->set_whois_info($r);
         }
     }
     return $r;
 }
Example #4
0
 function parse($data_str, $query)
 {
     $r = array();
     $r['regrinfo'] = generic_parser_b($data_str['rawdata']);
     $r['regyinfo'] = array('referrer' => 'http://www.nic.ag', 'registrar' => 'Nic AG');
     return $r;
 }
Example #5
0
 function parse($data_str, $query)
 {
     $items = array('Domain Name:' => 'domain.name', 'Domain Status:' => 'domain.status', 'Name Server:' => 'domain.nserver.', 'Registration Date:' => 'domain.created', 'Expiration Date:' => 'domain.expires', 'Sponsoring Registrar:' => 'domain.sponsor', 'Registrant Name:' => 'owner.name', 'Registrant Organization:' => 'owner.organization', 'Registrant Address:' => 'owner.address.address', 'Registrant Postal Code:' => 'owner.address.pcode', 'Registrant City:' => 'owner.address.city', 'Registrant Country Code:' => 'owner.address.country', 'Registrant Email:' => 'owner.email', 'Registrant Phone Number:' => 'owner.phone', 'Registrant Fax:' => 'owner.fax', 'Administrative Name:' => 'admin.name', 'Administrative Organization:' => 'admin.organization', 'Administrative Address:' => 'admin.address.address', 'Administrative Postal Code:' => 'admin.address.pcode', 'Administrative City:' => 'admin.address.city', 'Administrative Country Code:' => 'admin.address.country', 'Administrative Email:' => 'admin.email', 'Administrative Phone Number:' => 'admin.phone', 'Administrative Fax:' => 'admin.fax', 'Technical Name:' => 'tech.name', 'Technical Organization:' => 'tech.organization', 'Technical Address:' => 'tech.address.address', 'Technical Postal Code:' => 'tech.address.pcode', 'Technical City:' => 'tech.address.city', 'tec-country:' => 'tech.address.country', 'Technical Email:' => 'tech.email', 'Technical Phone Number:' => 'tech.phone', 'Technical Fax:' => 'tech.fax', 'Billing Name:' => 'billing.name', 'Billing Organization:' => 'billing.organization', 'Billing Address:' => 'billing.address.address', 'Billing Postal Code:' => 'billing.address.pcode', 'Billing City:' => 'billing.address.city', 'Billing Country Code:' => 'billing.address.country', 'Billing Email:' => 'billing.email', 'Billing Phone Number:' => 'billing.phone', 'Billing Fax:' => 'billing.fax');
     $r['regyinfo'] = array('referrer' => 'http://www.cnnic.net.cn', 'registrar' => 'China NIC');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'ymd');
     return $r;
 }
Example #6
0
 function parse($data_str, $query)
 {
     $items = array('Domain Name:' => 'domain.name', 'Last Modified:' => 'domain.changed', 'Registrar Name:' => 'domain.sponsor', 'Status:' => 'domain.status', 'Domain ROID:' => 'domain.handle', 'Registrant:' => 'owner.organization', 'Registrant Contact ID:' => 'owner.handle', 'Registrant Contact Email:' => 'owner.email', 'Registrant Contact Name:' => 'owner.name', 'Tech Contact Name:' => 'tech.name', 'Tech Contact Email:' => 'tech.email', 'Tech Contact ID:' => 'tech.handle', 'Name Server:' => 'domain.nserver.');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items);
     $r['regyinfo'] = array('referrer' => 'http://www.aunic.net', 'registrar' => 'AU-NIC');
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array("Domain Name:" => "domain.name", "Domain Status:" => "domain.status", "Name Server:" => "domain.nserver.", "Registration Date:" => "domain.created", "Expiration Date:" => "domain.expires", "Sponsoring Registrar:" => "domain.sponsor", "Registrant Name:" => "owner.name", "Registrant Organization:" => "owner.organization", "Registrant Address:" => "owner.address.address", "Registrant Postal Code:" => "owner.address.pcode", "Registrant City:" => "owner.address.city", "Registrant Country Code:" => "owner.address.country", "Registrant Email:" => "owner.email", "Registrant Phone Number:" => "owner.phone", "Registrant Fax:" => "owner.fax", "Administrative Name:" => "admin.name", "Administrative Organization:" => "admin.organization", "Administrative Address:" => "admin.address.address", "Administrative Postal Code:" => "admin.address.pcode", "Administrative City:" => "admin.address.city", "Administrative Country Code:" => "admin.address.country", "Administrative Email:" => "admin.email", "Administrative Phone Number:" => "admin.phone", "Administrative Fax:" => "admin.fax", "Technical Name:" => "tech.name", "Technical Organization:" => "tech.organization", "Technical Address:" => "tech.address.address", "Technical Postal Code:" => "tech.address.pcode", "Technical City:" => "tech.address.city", "tec-country:" => "tech.address.country", "Technical Email:" => "tech.email", "Technical Phone Number:" => "tech.phone", "Technical Fax:" => "tech.fax", "Billing Name:" => "billing.name", "Billing Organization:" => "billing.organization", "Billing Address:" => "billing.address.address", "Billing Postal Code:" => "billing.address.pcode", "Billing City:" => "billing.address.city", "Billing Country Code:" => "billing.address.country", "Billing Email:" => "billing.email", "Billing Phone Number:" => "billing.phone", "Billing Fax:" => "billing.fax");
     $r["regyinfo"] = array("referrer" => "http://www.cnnic.net.cn", "registrar" => "China NIC");
     $r["regrinfo"] = generic_parser_b($data_str["rawdata"], $items, 'ymd');
     return $r;
 }
Example #8
0
 function parse($data, $query)
 {
     $r['regrinfo'] = generic_parser_b($data['rawdata']);
     $r['regyinfo']['referrer'] = 'http://registry.pw';
     $r['regyinfo']['registrar'] = '.PW Registry';
     return $r;
 }
 function parse($data_str, $query)
 {
     $r = array();
     $r['regrinfo'] = generic_parser_b($data_str['rawdata']);
     $r['regyinfo'] = array('referrer' => 'http://musedoma.museum', 'registrar' => 'Museum Domain Management Association');
     return $r;
 }
Example #10
0
 function parse($data, $query)
 {
     $this->Query = array();
     $this->SUBVERSION = sprintf('%s-%s', $query['handler'], $this->HANDLER_VERSION);
     $this->result = generic_parser_b($data['rawdata'], $this->REG_FIELDS, 'dmy');
     unset($this->result['registered']);
     if (isset($this->result['nodomain'])) {
         unset($this->result['nodomain']);
         $this->result['regrinfo']['registered'] = 'no';
         return $this->result;
     }
     $this->result['regrinfo']['registered'] = 'yes';
     if (!$this->deep_whois) {
         return $this->result;
     }
     unset($this->Query['handler']);
     if (isset($this->result['regyinfo']['whois'])) {
         $this->Query['server'] = $this->result['regyinfo']['whois'];
     }
     $subresult = $this->GetData($query);
     if (isset($subresult['rawdata'])) {
         $this->result['rawdata'] = $subresult['rawdata'];
         @($this->Query['handler'] = $this->REGISTRARS[$this->result['regyinfo']['registrar']]);
         if (!empty($this->Query['handler'])) {
             $this->Query['file'] = sprintf('whois.gtld.%s.php', $this->Query['handler']);
             $regrinfo = $this->Process($this->result['rawdata']);
             $this->result['regrinfo'] = merge_results($this->result['regrinfo'], $regrinfo);
         }
     }
     return $this->result;
 }
Example #11
0
 function parse($data, $query)
 {
     $items = array('Domain name:' => 'domain.name', 'Registrant:' => 'owner', 'Created:' => 'domain.created', 'Expiration date:' => 'domain.expires', 'Name servers:' => 'domain.nserver', 'DNS update:' => 'domain.changed');
     $r['regrinfo'] = generic_parser_b($data['rawdata'], $items);
     $r['regyinfo'] = array('referrer' => 'http://nic.md', 'registrar' => 'MoldData S.E.');
     return $r;
 }
Example #12
0
 function parse($data_str, $query)
 {
     $items = array('domain:' => 'domain.name', 'state:' => 'domain.status', 'person:' => 'owner.name', 'phone:' => 'owner.phone', 'e-mail:' => 'owner.email', 'created:' => 'domain.created', 'paid-till:' => 'domain.expires');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'dmy');
     $r['regyinfo'] = array('referrer' => 'http://www.ripn.net', 'registrar' => 'RUCENTER-REG-RIPN');
     return $r;
 }
 function parse($data_str, $query)
 {
     $r = array();
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], array(), 'dmy');
     $r['regyinfo'] = array('referrer' => 'http://www.nic.sc', 'registrar' => 'VCS (Pty) Limited');
     return $r;
 }
 function parse($data_str, $query)
 {
     $blocks = array('owner1' => '[ Organization Information ]', 'tech1' => '[ Technical Contact Information ]', 'owner2' => '[ ISP Organization Information ]', 'admin2' => '[ ISP IP Admin Contact Information ]', 'tech2' => '[ ISP IP Tech Contact Information ]', 'admin3' => '[ ISP IPv4 Admin Contact Information ]', 'tech3' => '[ ISP IPv4 Tech Contact Information ]', 'abuse' => '[ ISP Network Abuse Contact Information ]', 'network.inetnum' => 'IPv4 Address       :', 'network.name' => 'Network Name       :', 'network.mnt-by' => 'Connect ISP Name   :', 'network.created' => 'Registration Date  :');
     $items = array('Orgnization ID     :' => 'handle', 'Org Name      :' => 'organization', 'Org Name           :' => 'organization', 'Name          :' => 'name', 'Name               :' => 'name', 'Org Address   :' => 'address.street', 'Zip Code      :' => 'address.pcode', 'State         :' => 'address.state', 'Address            :' => 'address.street', 'Zip Code           :' => 'address.pcode', 'Phone         :' => 'phone', 'Phone              :' => 'phone', 'Fax           :' => 'fax', 'E-Mail        :' => 'email', 'E-Mail             :' => 'email');
     $b = get_blocks($data_str, $blocks);
     $r = array();
     if (isset($b['network'])) {
         $r['network'] = $b['network'];
     }
     if (isset($b['owner1'])) {
         $r['owner'] = generic_parser_b($b['owner1'], $items, 'Ymd', false);
     } elseif (isset($b['owner2'])) {
         $r['owner'] = generic_parser_b($b['owner2'], $items, 'Ymd', false);
     }
     if (isset($b['admin2'])) {
         $r['admin'] = generic_parser_b($b['admin2'], $items, 'Ymd', false);
     } elseif (isset($b['admin3'])) {
         $r['admin'] = generic_parser_b($b['admin3'], $items, 'Ymd', false);
     }
     if (isset($b['tech1'])) {
         $r['tech'] = generic_parser_b($b['tech1'], $items, 'Ymd', false);
     } elseif (isset($b['tech2'])) {
         $r['tech'] = generic_parser_b($b['tech2'], $items, 'Ymd', false);
     } elseif (isset($b['tech3'])) {
         $r['tech'] = generic_parser_b($b['tech3'], $items, 'Ymd', false);
     }
     if (isset($b['abuse'])) {
         $r['abuse'] = generic_parser_b($b['abuse'], $items, 'Ymd', false);
     }
     $r = format_dates($r, 'Ymd');
     $r = array('regrinfo' => $r);
     $r['regyinfo']['type'] = 'ip';
     $r['regyinfo']['registrar'] = 'Korean Network Information Centre';
     return $r;
 }
Example #15
0
 function parse($data_str, $query)
 {
     $items = array("Domain ID:" => "domain.handle", "Domain Name:" => "domain.name", "Created On:" => "domain.created", "Last Updated On:" => "domain.changed", "Expiration Date:" => "domain.expires", "Sponsoring Registrar:" => "domain.sponsor", "Status:" => "domain.status", "Name Server:" => "domain.nserver.", "Registrant ID:" => "owner.handle", "Registrant Name:" => "owner.name", "Registrant Organization:" => "owner.organization", "Registrant Street1:" => "owner.address.street.0", "Registrant Street2:" => "owner.address.street.1", "Registrant City:" => "owner.address.city", "Registrant State/Province:" => "owner.address.state", "Registrant Postal Code:" => "owner.address.pcode", "Registrant Country:" => "owner.address.country", "Registrant Phone:" => "owner.phone", "Registrant FAX:" => "owner.fax", "Registrant Email:" => "owner.email", "Admin ID:" => "admin.handle", "Admin Name:" => "admin.name", "Admin Organization:" => "admin.organization", "Admin Street1:" => "admin.address.street.0", "Admin Street2:" => "admin.address.street.1", "Admin City:" => "admin.address.city", "Admin State/Province:" => "admin.address.state", "Admin Postal Code:" => "admin.address.pcode", "Admin Country:" => "admin.address.country", "Admin Phone:" => "admin.phone", "Admin FAX:" => "admin.fax", "Admin Email:" => "admin.email", "Tech ID:" => "tech.handle", "Tech Name:" => "tech.name", "Tech Organization:" => "tech.organization", "Tech Street1:" => "tech.address.street.0", "Tech Street2:" => "tech.address.street.1", "Tech City:" => "tech.address.city", "Tech State/Province:" => "tech.address.state", "Tech Postal Code:" => "tech.address.pcode", "Tech Country:" => "tech.address.country", "Tech Phone:" => "tech.phone", "Tech FAX:" => "tech.fax", "Tech Email:" => "tech.email", "Billing ID:" => "billing.handle", "Billing Name:" => "billing.name", "Billing Organization:" => "billing.organization", "Billing Street1:" => "billing.address.street.0", "Billing Street2:" => "billing.address.street.1", "Billing City:" => "billing.address.city", "Billing State/Province:" => "billing.address.state", "Billing Postal Code:" => "billing.address.pcode", "Billing Country:" => "billing.address.country", "Billing Phone:" => "billing.phone", "Billing FAX:" => "billing.fax", "Billing Email:" => "billing.email");
     $r["regyinfo"] = array("referrer" => "http://whois.afilias.info", "registrar" => "Afilias Global Registry Services");
     $r["regrinfo"] = generic_parser_b($data_str["rawdata"], $items);
     return $r;
 }
 function parse($data_str, $query)
 {
     $r = array();
     $r['regrinfo'] = generic_parser_b($data_str['rawdata']);
     $r['regyinfo'] = array('referrer' => 'http://whois.afilias.info', 'registrar' => 'Afilias Global Registry Services');
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array('Domain ID:' => 'domain.handle', 'Domain Name:' => 'domain.name', 'Creation Date:' => 'domain.created', 'Last Modification Date:' => 'domain.changed', 'Expiration Date:' => 'domain.expires', 'Sponsoring Registrar:' => 'domain.sponsor', 'Name Server:' => 'domain.nserver.', 'Registrant ID:' => 'owner.handle', 'Registrant Name:' => 'owner.name', 'Registrant Organization:' => 'owner.organization', 'Registrant Address:' => 'owner.address.street', 'Registrant City:' => 'owner.address.city', 'Registrant State/Province:' => 'owner.address.state', 'Registrant Postal Code:' => 'owner.address.pcode', 'Registrant Country:' => 'owner.address.country', 'Registrant Phone Number:' => 'owner.phone', 'Registrant Fax Number:' => 'owner.fax', 'Registrant Email:' => 'owner.email', 'Admin ID:' => 'admin.handle', 'Admin Name:' => 'admin.name', 'Admin Organization:' => 'admin.organization', 'Admin Address:' => 'admin.address.street', 'Admin City:' => 'admin.address.city', 'Admin State/Province:' => 'admin.address.state', 'Admin Postal Code:' => 'admin.address.pcode', 'Admin Country:' => 'admin.address.country', 'Admin Phone Number:' => 'admin.phone', 'Admin Fax Number:' => 'admin.fax', 'Admin Email:' => 'admin.email', 'Tech ID:' => 'tech.handle', 'Tech Name:' => 'tech.name', 'Tech Organization:' => 'tech.organization', 'Tech Address:' => 'tech.address.street.', 'Tech City:' => 'tech.address.city', 'Tech Postal Code:' => 'tech.address.pcode', 'Tech State/Province:' => 'tech.address.state', 'Tech Country:' => 'tech.address.country', 'Tech Phone Number:' => 'tech.phone', 'Tech Fax Number:' => 'tech.fax', 'Tech Email:' => 'tech.email', 'Billing ID:' => 'billing.handle', 'Billing Name:' => 'billing.name', 'Billing Organization:' => 'billing.organization', 'Billing Address:' => 'billing.address.street', 'Billing City:' => 'billing.address.city', 'Billing Postal Code:' => 'billing.address.pcode', 'Billing State/Province:' => 'billing.address.state', 'Billing Country:' => 'billing.address.country', 'Billing Phone Number:' => 'billing.phone', 'Billing Fax Number:' => 'billing.fax', 'Billing Email:' => 'billing.email');
     $r['regyinfo'] = array('referrer' => 'http://www.nic.aero', 'registrar' => 'Societe Internationale de Telecommunications Aeronautiques SC');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'ymd');
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array('Domain Name:' => 'domain.name', 'Sponsoring Registrar:' => 'domain.sponsor', 'Name Server:' => 'domain.nserver.', 'Registrant Name:' => 'owner.name', 'Registrant Organization:' => 'owner.organization', 'Registrant Address1:' => 'owner.address.street.0', 'Registrant Address2:' => 'owner.address.street.1', 'Registrant Postal Code:' => 'owner.address.pcode', 'Registrant City:' => 'owner.address.city', 'Registrant State/Province:' => 'owner.address.state', 'Registrant Country:' => 'owner.address.country', 'Registrant Phone:' => 'owner.phone', 'Registrant Facsimile Number:' => 'owner.fax', 'Registrant Email:' => 'owner.email', 'Administrative Contact Name:' => 'admin.name', 'Administrative Contact Organization:' => 'admin.organization', 'Administrative Contact Address1:' => 'admin.address.street.0', 'Administrative Contact Address2:' => 'admin.address.street.1', 'Administrative Contact Postal Code:' => 'admin.address.pcode', 'Administrative Contact City:' => 'admin.address.city', 'Administrative Contact State/Province:' => 'admin.address.state', 'Administrative Contact Country:' => 'admin.address.country', 'Administrative Contact Phone:' => 'admin.phone', 'Administrative Contact Email:' => 'admin.email', 'Administrative Contact Facsimile Number:' => 'admin.fax', 'Technical Contact Name:' => 'tech.name', 'Technical Contact Organization:' => 'tech.organization', 'Technical Contact Address1:' => 'tech.address.street.0', 'Technical Contact Address2:' => 'tech.address.street.1', 'Technical Contact Postal Code:' => 'tech.address.pcode', 'Technical Contact City:' => 'tech.address.city', 'Technical Contact State/Province:' => 'tech.address.state', 'Technical Contact Country:' => 'tech.address.country', 'Technical Contact Phone:' => 'tech.phone', 'Technical Contact Facsimile Number:' => 'tech.fax', 'Technical Contact Email:' => 'tech.email');
     $r['regrinfo'] = generic_parser_b($data_str, $items, '-md--y');
     $r['regyinfo'] = array('referrer' => 'http://www.encirca.biz', 'registrar' => 'ENCIRCA');
     return $r;
 }
Example #19
0
 function parse($data_str, $query)
 {
     $items = array('domain:' => 'domain.name', 'created:' => 'domain.created', 'expires:' => 'domain.expires', 'status:' => 'domain.status', 'nserver:' => 'domain.nserver.', 'descr:' => 'owner.name.', 'address:' => 'owner.address.', 'phone:' => 'owner.phone');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items);
     $r['regyinfo'] = array('referrer' => 'https://domain.ficora.fi/', 'registrar' => 'Finnish Communications Regulatory Authority');
     return $r;
 }
Example #20
0
 function parse($data_str, $query)
 {
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], false, '-md--y');
     $r['regyinfo']['referrer'] = 'http://www.cointernet.com.co/';
     $r['regyinfo']['registrar'] = '.CO Internet, S.A.S.';
     return $r;
 }
Example #21
0
 function parse($data_str, $query)
 {
     $items = array('Domain Name:' => 'domain.name', 'Registrar Name:' => 'domain.sponsor', 'Status:' => 'domain.status', 'Registrant Contact ID:' => 'owner.handle', 'Registrant Contact Name:' => 'owner.name', 'Tech Contact Name:' => 'tech.name', 'Tech Contact ID:' => 'tech.handle', 'Name Server:' => 'domain.nserver.');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'ymd');
     $r['regyinfo'] = array('referrer' => 'http://www.nic.ae', 'registrar' => 'UAENIC');
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array('owner' => 'Contact Type:            registrant', 'admin' => 'Contact Type:            admin', 'tech' => 'Contact Type:            tech', 'billing' => 'Contact Type:            billing', 'domain.name' => 'Domain Name:', 'domain.handle' => 'Domain ID:', 'domain.expires' => 'Expiry Date:', 'domain.created' => 'Created:', 'domain.changed' => 'Last updated:', 'domain.status' => 'Domain Status:', 'domain.sponsor' => 'Sponsoring registrar:', 'domain.nserver.' => 'Host Name:');
     $translate = array('Contact ID:' => 'handle', 'Name:' => 'name', 'Organisation:' => 'organization', 'Street 1:' => 'address.street.0', 'Street 2:' => 'address.street.1', 'Street 3:' => 'address.street.2', 'City:' => 'address.city', 'State/Province:' => 'address.state', 'Postal code:' => 'address.pcode', 'Country:' => 'address.country', 'Voice:' => 'phone', 'Fax:' => 'fax', 'Email:' => 'email');
     $blocks = get_blocks($data_str['rawdata'], $items);
     $r = array();
     if (isset($blocks['domain'])) {
         $r['regrinfo']['domain'] = format_dates($blocks['domain'], 'dmy');
         $r['regrinfo']['registered'] = 'yes';
         if (isset($blocks['owner'])) {
             $r['regrinfo']['owner'] = generic_parser_b($blocks['owner'], $translate, 'dmy', false);
             if (isset($blocks['tech'])) {
                 $r['regrinfo']['tech'] = generic_parser_b($blocks['tech'], $translate, 'dmy', false);
             }
             if (isset($blocks['admin'])) {
                 $r['regrinfo']['admin'] = generic_parser_b($blocks['admin'], $translate, 'dmy', false);
             }
             if (isset($blocks['billing'])) {
                 $r['regrinfo']['billing'] = generic_parser_b($blocks['billing'], $translate, 'dmy', false);
             }
         } else {
             $r['regrinfo']['owner'] = generic_parser_b($data_str['rawdata'], $translate, 'dmy', false);
         }
     } else {
         $r['regrinfo']['registered'] = 'no';
     }
     $r['regyinfo'] = array('referrer' => 'http://www.nic.coop', 'registrar' => '.coop registry');
     return $r;
 }
Example #23
0
 function parse($data_str, $query)
 {
     $items = array('Domain Name:' => 'domain.name', 'Domain ID:' => 'domain.handle', 'Sponsoring Registrar:' => 'domain.sponsor', 'Status:' => 'domain.status', 'Name Server:' => 'domain.nserver.', 'Created On:' => 'domain.created', 'Expiration Date:' => 'domain.expires', 'Last Updated On:' => 'domain.changed', 'Registrant ID:' => 'owner.handle', 'Registrant Name:' => 'owner.name', 'Registrant Organization:' => 'owner.organization', 'Registrant Street1:' => 'owner.address.street.0', 'Registrant Street2:' => 'owner.address.street.1', 'Registrant Postal Code:' => 'owner.address.pcode', 'Registrant City:' => 'owner.address.city', 'Registrant State/Province:' => 'owner.address.state', 'Registrant Country' => 'owner.address.country', 'Registrant Phone:' => 'owner.phone', 'Registrant FAX:' => 'owner.fax', 'Registrant Email:' => 'owner.email', 'Admin ID:' => 'admin.handle', 'Admin Name:' => 'admin.name', 'Admin Organization:' => 'admin.organization', 'Admin Street1:' => 'admin.address.street.0', 'Admin Street2:' => 'admin.address.street.1', 'Admin Postal Code:' => 'admin.address.pcode', 'Admin City:' => 'admin.address.city', 'Admin State/Province:' => 'admin.address.state', 'Admin Country:' => 'admin.address.country', 'Admin Phone:' => 'admin.phone', 'Admin Email:' => 'admin.email', 'Admin FAX:' => 'admin.fax', 'Tech ID:' => 'tech.handle', 'Tech Name:' => 'tech.name', 'Tech Organization:' => 'tech.organization', 'Tech Street1:' => 'tech.address.street.0', 'Tech Street2:' => 'tech.address.street.1', 'Tech Postal Code:' => 'tech.address.pcode', 'Tech City:' => 'tech.address.city', 'Tech State/Province:' => 'tech.address.state', 'Tech Country:' => 'tech.address.country', 'Tech Phone:' => 'tech.phone', 'Tech FAX:' => 'tech.fax', 'Tech Email:' => 'tech.email', 'Billing ID:' => 'billing.handle', 'Billing Name:' => 'billing.name', 'Billing Organization:' => 'billing.organization', 'Billing Street1:' => 'billing.address.street.1', 'Billing Street2:' => 'billing.address.street.0', 'Billing Postal Code:' => 'billing.address.pcode', 'Billing City:' => 'billing.address.city', 'Billing State/Province:' => 'billing.address.state', 'Billing Country:' => 'billing.address.country', 'Billing Phone:' => 'billing.phone', 'Billing FAX:' => 'billing.fax', 'Billing Email:' => 'billing.email');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'dmy');
     $r['regyinfo'] = array('referrer' => 'http://www.nic.sc', 'registrar' => 'VCS (Pty) Limited');
     return $r;
 }
Example #24
0
 function parse($data, $query)
 {
     $r['regrinfo'] = generic_parser_b($data['rawdata']);
     $r['regyinfo']['referrer'] = 'http://www.registrypro.pro';
     $r['regyinfo']['registrar'] = 'RegistryPRO';
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array('domainname:' => 'domain.name', 'domaintype:' => 'domain.status', 'nserver:' => 'domain.nserver.', 'registered:' => 'domain.created', 'source:' => 'domain.source', 'ownertype:' => 'owner.type', 'org-name:' => 'owner.organization', 'org-address:' => 'owner.address.', 'org-zipcode:' => 'owner.address.pcode', 'org-city:' => 'owner.address.city', 'org-country:' => 'owner.address.country', 'adm-name:' => 'admin.name', 'adm-address:' => 'admin.address.', 'adm-zipcode:' => 'admin.address.pcode', 'adm-city:' => 'admin.address.city', 'adm-country:' => 'admin.address.country', 'adm-email:' => 'admin.email', 'tec-name:' => 'tech.name', 'tec-address:' => 'tech.address.', 'tec-zipcode:' => 'tech.address.pcode', 'tec-city:' => 'tech.address.city', 'tec-country:' => 'tech.address.country', 'tec-email:' => 'tech.email', 'bil-name:' => 'billing.name', 'bil-address:' => 'billing.address.', 'bil-zipcode:' => 'billing.address.pcode', 'bil-city:' => 'billing.address.city', 'bil-country:' => 'billing.address.country', 'bil-email:' => 'billing.email');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, 'dmy');
     $r['regyinfo'] = array('referrer' => 'http://www.dns.lu', 'registrar' => 'DNS-LU');
     return $r;
 }
Example #26
0
 function parse($data, $query)
 {
     $items = array('Domain Name............:' => 'domain.name', 'Primary server.........:' => 'domain.nserver.', 'Secondary server.......:' => 'domain.nserver.', 'Name...................:' => 'owner.name', 'Organization Name......:' => 'owner.organization', 'Street Address.........:' => 'owner.address.street.', 'City...................:' => 'owner.address.city', 'State..................:' => 'owner.address.state', 'Postal Code............:' => 'owner.address.pcode', 'Country................:' => 'owner.address.country', 'NIC Handle.............:' => 'admin.handle', 'Name...................:' => 'admin.name', 'Phone Number...........:' => 'admin.phone', 'Fax Number.............:' => 'admin.fax', 'Email Address..........:' => 'admin.email', 'Domain created:' => 'domain.created', 'Last modified :' => 'domain.changed', 'Domain status :' => 'domain.status.', 'Current Registar:' => 'domain.sponsor');
     $r['regrinfo'] = generic_parser_b($data['rawdata'], $items);
     $r['regyinfo'] = array('referrer' => 'http://nic.kz', 'registrar' => 'KazNIC');
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array('network:Organization-Name:' => 'owner.name', 'network:Organization;I:' => 'owner.organization', 'network:Organization-City:' => 'owner.address.city', 'network:Organization-Zip:' => 'owner.address.pcode', 'network:Organization-Country:' => 'owner.address.country', 'network:IP-Network-Block:' => 'network.inetnum', 'network:IP-Network:' => 'network.inetnum', 'network:Network-Name:' => 'network.name', 'network:ID:' => 'network.handle', 'network:Created:' => 'network.created', 'network:Updated:' => 'network.changed', 'network:Tech-Contact;I:' => 'tech.email', 'network:Admin-Contact;I:' => 'admin.email');
     $res = generic_parser_b($data_str, $items, 'Ymd', false);
     unset($res['disclaimer']);
     return $res;
 }
 function parse($data_str, $query)
 {
     $items = array('Domain Name:' => 'domain.name', 'Domain ID:' => 'domain.handle', 'Sponsoring Registrar:' => 'domain.sponsor', 'Domain Status:' => 'domain.status', 'Name Server:' => 'domain.nserver.', 'Domain Registration Date:' => 'domain.created', 'Domain Expiration Date:' => 'domain.expires', 'Domain Last Updated Date:' => 'domain.changed', 'Registrant ID:' => 'owner.handle', 'Registrant Name:' => 'owner.name', 'Registrant Organization:' => 'owner.organization', 'Registrant Address1:' => 'owner.address.street.0', 'Registrant Address2:' => 'owner.address.street.1', 'Registrant Postal Code:' => 'owner.address.pcode', 'Registrant City:' => 'owner.address.city', 'Registrant State/Province:' => 'owner.address.state', 'Registrant Country:' => 'owner.address.country', 'Registrant Phone Number:' => 'owner.phone', 'Registrant Facsimile Number:' => 'owner.fax', 'Registrant Email:' => 'owner.email', 'Administrative Contact ID:' => 'admin.handle', 'Administrative Contact Name:' => 'admin.name', 'Administrative Contact Organization:' => 'admin.organization', 'Administrative Contact Address1:' => 'admin.address.street.0', 'Administrative Contact Address2:' => 'admin.address.street.1', 'Administrative Contact Postal Code:' => 'admin.address.pcode', 'Administrative Contact City:' => 'admin.address.city', 'Administrative Contact State/Province:' => 'admin.address.state', 'Administrative Contact Country:' => 'admin.address.country', 'Administrative Contact Phone Number:' => 'admin.phone', 'Administrative Contact Email:' => 'admin.email', 'Administrative Contact Facsimile Number:' => 'admin.fax', 'Technical Contact ID:' => 'tech.handle', 'Technical Contact Name:' => 'tech.name', 'Technical Contact Organization:' => 'tech.organization', 'Technical Contact Address1:' => 'tech.address.street.0', 'Technical Contact Address2:' => 'tech.address.street.1', 'Technical Contact Postal Code:' => 'tech.address.pcode', 'Technical Contact City:' => 'tech.address.city', 'Technical Contact State/Province:' => 'tech.address.state', 'Technical Contact Country:' => 'tech.address.country', 'Technical Contact Phone Number:' => 'tech.phone', 'Technical Contact Facsimile Number:' => 'tech.fax', 'Technical Contact Email:' => 'tech.email', 'Billing Contact ID:' => 'billing.handle', 'Billing Contact Name:' => 'billing.name', 'Billing Contact Organization:' => 'billing.organization', 'Billing Contact Address1:' => 'billing.address.street.1', 'Billing Contact Address2:' => 'billing.address.street.0', 'Billing Contact Postal Code:' => 'billing.address.pcode', 'Billing Contact City:' => 'billing.address.city', 'Billing Contact State/Province:' => 'billing.address.state', 'Billing Contact Country:' => 'billing.address.country', 'Billing Contact Phone Number:' => 'billing.phone', 'Billing Contact Facsimile Number:' => 'billing.fax', 'Billing Contact Email:' => 'billing.email');
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], $items, '-md--y');
     $r['regyinfo'] = array('referrer' => 'http://www.neulevel.biz', 'registrar' => 'NEULEVEL');
     return $r;
 }
 function parse($data_str, $query)
 {
     $items = array("Domain Name:" => "domain.name", "Domain ID:" => "domain.handle", "Sponsoring Registrar:" => "domain.sponsor", "Domain Status:" => "domain.status", "Name Server:" => "domain.nserver.", "Domain Registration Date:" => "domain.created", "Domain Expiration Date:" => "domain.expires", "Domain Last Updated Date:" => "domain.changed", "Registrant ID:" => "owner.handle", "Registrant Name:" => "owner.name", "Registrant Organization:" => "owner.organization", "Registrant Address1:" => "owner.address.street", "Registrant Postal Code:" => "owner.address.pcode", "Registrant City:" => "owner.address.city", "Registrant State/Province:" => "owner.address.state", "Registrant Country:" => "owner.address.country", "Registrant Phone Number:" => "owner.phone", "Registrant Facsimile Number:" => "owner.fax", "Registrant Email:" => "owner.email", "Administrative Contact ID:" => "admin.handle", "Administrative Contact Name:" => "admin.name", "Administrative Contact Organization:" => "admin.organization", "Administrative Contact Address1:" => "admin.address.street", "Administrative Contact Postal Code:" => "admin.address.pcode", "Administrative Contact City:" => "admin.address.city", "Administrative Contact State/Province:" => "admin.address.state", "Administrative Contact Country:" => "admin.address.country", "Administrative Contact Phone Number:" => "admin.phone", "Administrative Contact Email:" => "admin.email", "Administrative Contact Facsimile Number:" => "admin.fax", "Technical Contact ID:" => "tech.handle", "Technical Contact Name:" => "tech.name", "Technical Contact Organization:" => "tech.organization", "Technical Contact Address1:" => "tech.address.street", "Technical Contact Postal Code:" => "tech.address.pcode", "Technical Contact City:" => "tech.address.city", "Technical Contact State/Province:" => "tech.address.state", "Technical Contact Country:" => "tech.address.country", "Technical Contact Phone Number:" => "tech.phone", "Technical Contact Email:" => "tech.email", "Technical Contact Facsimile Number:" => "tech.fax", "Billing Contact ID:" => "billing.handle", "Billing Contact Name:" => "billing.name", "Billing Contact Organization:" => "billing.organization", "Billing Contact Address1:" => "billing.address.street", "Billing Contact Postal Code:" => "billing.address.pcode", "Billing Contact City:" => "billing.address.city", "Billing Contact State/Province:" => "billing.address.state", "Billing Contact Country:" => "billing.address.country", "Billing Contact Phone Number:" => "billing.phone", "Billing Contact Email:" => "billing.email", "Billing Contact Facsimile Number:" => "billing.fax");
     $r["regrinfo"] = generic_parser_b($data_str["rawdata"], $items, '-md--y');
     $r["regyinfo"] = array("referrer" => "http://www.neustar.us", "registrar" => "NEUSTAR INC.");
     return $r;
 }
 function parse($data_str, $query)
 {
     $r = array();
     $r['regrinfo'] = generic_parser_b($data_str['rawdata'], array(), '-md--y');
     $r['regyinfo'] = array('referrer' => 'http://www.telnic.org', 'registrar' => 'Telnic');
     return $r;
 }