diff --git a/pythonwhois/parse.py b/pythonwhois/parse.py index 3d75854..480ca60 100644 --- a/pythonwhois/parse.py +++ b/pythonwhois/parse.py @@ -106,7 +106,7 @@ grammar = { '[a-z]{3}\s(?PJan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[./ -](?P[0-9]{1,2})' '(\s+(?P[0-9]{1,2})[:.](?P[0-9]{1,2})[:.](?P[0-9]{1,2}))?' '\s[a-z]{3}\s(?P[0-9]{4}|[0-9]{2})', - '(?P[0-9]{4})[./-]?(?P[0-9]{2})[./-]?(?P[0-9]{2})(\s|T|/)((?P[0-9]{1,2})[:.](?P[0-9]{1,2})[:.](?P[0-9]{1,2}))', + '(?P[0-9]{4})[./-]?(?P[0-9]{2})[./-]?(?P[0-9]{2})(\s|T|/)((?P[0-9]{1,2})[:.-](?P[0-9]{1,2})[:.-](?P[0-9]{1,2}))', '(?P[0-9]{4})[./-](?P[0-9]{1,2})[./-](?P[0-9]{1,2})', '(?P[0-9]{1,2})[./ -](?P[0-9]{1,2})[./ -](?P[0-9]{4}|[0-9]{2})', '(?PJan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (?P[0-9]{1,2}),? (?P[0-9]{4})', @@ -468,7 +468,7 @@ def parse_registrants(data): "Registrant ID:(?P.+)\nRegistrant Name:(?P.*)\n(?:Registrant Organization:(?P.*)\n)?Registrant Address1?:(?P.*)\n(?:Registrant Address2:(?P.*)\n)?(?:Registrant Address3:(?P.*)\n)?Registrant City:(?P.*)\nRegistrant State/Province:(?P.*)\nRegistrant Country/Economy:(?P.*)\nRegistrant Postal Code:(?P.*)\nRegistrant Phone:(?P.*)\n(?:Registrant Phone Ext.:(?P.*)\n)?(?:Registrant FAX:(?P.*)\n)?(?:Registrant FAX Ext.:(?P.*)\n)?Registrant E-mail:(?P.*)", # .ME "Registrant ID:\s*(?P.+)\nRegistrant Name:\s*(?P.+)\nRegistrant Organization:\s*(?P.*)\nRegistrant Address1:\s*(?P.+)\nRegistrant Address2:\s*(?P.*)\nRegistrant City:\s*(?P.+)\nRegistrant State/Province:\s*(?P.+)\nRegistrant Postal Code:\s*(?P.+)\nRegistrant Country:\s*(?P.+)\nRegistrant Country Code:\s*(?P.+)\nRegistrant Phone Number:\s*(?P.+)\nRegistrant Email:\s*(?P.+)\n", # .CO Internet "Registrant Contact: (?P.+)\nRegistrant Organization: (?P.+)\nRegistrant Name: (?P.+)\nRegistrant Street: (?P.+)\nRegistrant City: (?P.+)\nRegistrant Postal Code: (?P.+)\nRegistrant State: (?P.+)\nRegistrant Country: (?P.+)\nRegistrant Phone: (?P.*)\nRegistrant Phone Ext: (?P.*)\nRegistrant Fax: (?P.*)\nRegistrant Fax Ext: (?P.*)\nRegistrant Email: (?P.*)\n", # Key-Systems GmbH - "(?:Registrant ID:[ ]*(?P.*)\n)?Registrant Name:[ ]*(?P.*)\n(?:Registrant Organization:[ ]*(?P.*)\n)?Registrant Street:[ ]*(?P.+)\n(?:Registrant Street:[ ]*(?P.+)\n)?(?:Registrant Street:[ ]*(?P.+)\n)?Registrant City:[ ]*(?P.+)\nRegistrant State(?:\/Province)?:[ ]*(?P.+)\nRegistrant Postal Code:[ ]*(?P.+)\nRegistrant Country:[ ]*(?P.+)\n(?:Registrant Phone:[ ]*(?P.*)\n)?(?:Registrant Phone Ext:[ ]*(?P.*)\n)?(?:Registrant Fax:[ ]*(?P.*)\n)?(?:Registrant Fax Ext:[ ]*(?P.*)\n)?(?:Registrant Email:[ ]*(?P.+)\n)?", # WildWestDomains, GoDaddy, Namecheap/eNom, Ascio, Musedoma (.museum) + "(?:Registrant ID:[ ]*(?P.*)\n)?Registrant Name:[ ]*(?P.*)\n(?:Registrant Organization:[ ]*(?P.*)\n)?Registrant Street:[ ]*(?P.+)\n(?:Registrant Street:[ ]*(?P.+)\n)?(?:Registrant Street:[ ]*(?P.+)\n)?Registrant City:[ ]*(?P.+)\nRegistrant State(?:\/Province)?:[ ]*(?P.*)\nRegistrant Postal Code:[ ]*(?P.+)\nRegistrant Country:[ ]*(?P.+)\n(?:Registrant Phone:[ ]*(?P.*)\n)?(?:Registrant Phone Ext:[ ]*(?P.*)\n)?(?:Registrant Fax:[ ]*(?P.*)\n)?(?:Registrant Fax Ext:[ ]*(?P.*)\n)?(?:Registrant Email:[ ]*(?P.+)\n)?", # WildWestDomains, GoDaddy, Namecheap/eNom, Ascio, Musedoma (.museum), EuroDNS "Registrant\n(?: (?P.+)\n)? (?P.+)\n Email:(?P.+)\n (?P.+)\n(?: (?P.+)\n)? (?P.+) (?P.+)\n (?P.+)\n Tel: (?P.+)\n\n", # internet.bs " Registrant Contact Details:[ ]*\n (?P.*)\n (?P.*)[ ]{2,}\((?P.*)\)\n (?P.*)\n(?: (?P.*)\n)?(?: (?P.*)\n)? (?P.*)\n (?P.*),(?P.*)\n (?P.*)\n Tel. (?P.*)", # Whois.com "owner-id:[ ]*(?P.*)\n(?:owner-organization:[ ]*(?P.*)\n)?owner-name:[ ]*(?P.*)\nowner-street:[ ]*(?P.*)\nowner-city:[ ]*(?P.*)\nowner-zip:[ ]*(?P.*)\nowner-country:[ ]*(?P.*)\n(?:owner-phone:[ ]*(?P.*)\n)?(?:owner-fax:[ ]*(?P.*)\n)?owner-email:[ ]*(?P.*)", # InterNetworX @@ -500,7 +500,7 @@ def parse_registrants(data): "Tech ID:(?P.+)\nTech Name:(?P.*)\n(?:Tech Organization:(?P.*)\n)?Tech Address1?:(?P.*)\n(?:Tech Address2:(?P.*)\n)?(?:Tech Address3:(?P.*)\n)?Tech City:(?P.*)\nTech State/Province:(?P.*)\nTech Country/Economy:(?P.*)\nTech Postal Code:(?P.*)\nTech Phone:(?P.*)\n(?:Tech Phone Ext.:(?P.*)\n)?(?:Tech FAX:(?P.*)\n)?(?:Tech FAX Ext.:(?P.*)\n)?Tech E-mail:(?P.*)", # .ME "Technical Contact ID:\s*(?P.+)\nTechnical Contact Name:\s*(?P.+)\nTechnical Contact Organization:\s*(?P.*)\nTechnical Contact Address1:\s*(?P.+)\nTechnical Contact Address2:\s*(?P.*)\nTechnical Contact City:\s*(?P.+)\nTechnical Contact State/Province:\s*(?P.+)\nTechnical Contact Postal Code:\s*(?P.+)\nTechnical Contact Country:\s*(?P.+)\nTechnical Contact Country Code:\s*(?P.+)\nTechnical Contact Phone Number:\s*(?P.+)\nTechnical Contact Email:\s*(?P.+)\n", # .CO Internet "Tech Contact: (?P.+)\nTech Organization: (?P.+)\nTech Name: (?P.+)\nTech Street: (?P.+)\nTech City: (?P.+)\nTech Postal Code: (?P.+)\nTech State: (?P.+)\nTech Country: (?P.+)\nTech Phone: (?P.*)\nTech Phone Ext: (?P.*)\nTech Fax: (?P.*)\nTech Fax Ext: (?P.*)\nTech Email: (?P.*)\n", # Key-Systems GmbH - "(?:Tech ID:[ ]*(?P.*)\n)?Tech[ ]*Name:[ ]*(?P.*)\n(?:Tech[ ]*Organization:[ ]*(?P.*)\n)?Tech[ ]*Street:[ ]*(?P.+)\n(?:Tech[ ]*Street:[ ]*(?P.+)\n)?(?:Tech[ ]*Street:[ ]*(?P.+)\n)?Tech[ ]*City:[ ]*(?P.+)\nTech[ ]*State(?:\/Province)?:[ ]*(?P.+)\nTech[ ]*Postal[ ]*Code:[ ]*(?P.+)\nTech[ ]*Country:[ ]*(?P.+)\n(?:Tech[ ]*Phone:[ ]*(?P.*)\n)?(?:Tech[ ]*Phone[ ]*Ext:[ ]*(?P.*)\n)?(?:Tech[ ]*Fax:[ ]*(?P.*)\n)?(?:Tech[ ]*Fax[ ]*Ext:\s*?(?P.*)\n)?(?:Tech[ ]*Email:[ ]*(?P.+)\n)?", # WildWestDomains, GoDaddy, Namecheap/eNom, Ascio, Musedoma (.museum) + "(?:Tech ID:[ ]*(?P.*)\n)?Tech[ ]*Name:[ ]*(?P.*)\n(?:Tech[ ]*Organization:[ ]*(?P.*)\n)?Tech[ ]*Street:[ ]*(?P.+)\n(?:Tech[ ]*Street:[ ]*(?P.+)\n)?(?:Tech[ ]*Street:[ ]*(?P.+)\n)?Tech[ ]*City:[ ]*(?P.+)\nTech[ ]*State(?:\/Province)?:[ ]*(?P.*)\nTech[ ]*Postal[ ]*Code:[ ]*(?P.+)\nTech[ ]*Country:[ ]*(?P.+)\n(?:Tech[ ]*Phone:[ ]*(?P.*)\n)?(?:Tech[ ]*Phone[ ]*Ext:[ ]*(?P.*)\n)?(?:Tech[ ]*Fax:[ ]*(?P.*)\n)?(?:Tech[ ]*Fax[ ]*Ext:\s*?(?P.*)\n)?(?:Tech[ ]*Email:[ ]*(?P.+)\n)?", # WildWestDomains, GoDaddy, Namecheap/eNom, Ascio, Musedoma (.museum), EuroDNS "Technical Contact\n(?: (?P.+)\n)? (?P.+)\n Email:(?P.+)\n (?P.+)\n(?: (?P.+)\n)? (?P.+) (?P.+)\n (?P.+)\n Tel: (?P.+)\n\n", # internet.bs " Technical Contact Details:[ ]*\n (?P.*)\n (?P.*)[ ]{2,}\((?P.*)\)\n (?P.*)\n(?: (?P.*)\n)?(?: (?P.*)\n)? (?P.*)\n (?P.*),(?P.*)\n (?P.*)\n Tel. (?P.*)", # Whois.com "tech-id:[ ]*(?P.*)\n(?:tech-organization:[ ]*(?P.*)\n)?tech-name:[ ]*(?P.*)\ntech-street:[ ]*(?P.*)\ntech-city:[ ]*(?P.*)\ntech-zip:[ ]*(?P.*)\ntech-country:[ ]*(?P.*)\n(?:tech-phone:[ ]*(?P.*)\n)?(?:tech-fax:[ ]*(?P.*)\n)?tech-email:[ ]*(?P.*)", # InterNetworX @@ -524,7 +524,7 @@ def parse_registrants(data): "Admin ID:(?P.+)\nAdmin Name:(?P.*)\n(?:Admin Organization:(?P.*)\n)?Admin Address1?:(?P.*)\n(?:Admin Address2:(?P.*)\n)?(?:Admin Address3:(?P.*)\n)?Admin City:(?P.*)\nAdmin State/Province:(?P.*)\nAdmin Country/Economy:(?P.*)\nAdmin Postal Code:(?P.*)\nAdmin Phone:(?P.*)\n(?:Admin Phone Ext.:(?P.*)\n)?(?:Admin FAX:(?P.*)\n)?(?:Admin FAX Ext.:(?P.*)\n)?Admin E-mail:(?P.*)", # .ME "Administrative Contact ID:\s*(?P.+)\nAdministrative Contact Name:\s*(?P.+)\nAdministrative Contact Organization:\s*(?P.*)\nAdministrative Contact Address1:\s*(?P.+)\nAdministrative Contact Address2:\s*(?P.*)\nAdministrative Contact City:\s*(?P.+)\nAdministrative Contact State/Province:\s*(?P.+)\nAdministrative Contact Postal Code:\s*(?P.+)\nAdministrative Contact Country:\s*(?P.+)\nAdministrative Contact Country Code:\s*(?P.+)\nAdministrative Contact Phone Number:\s*(?P.+)\nAdministrative Contact Email:\s*(?P.+)\n", # .CO Internet "Admin Contact: (?P.+)\nAdmin Organization: (?P.+)\nAdmin Name: (?P.+)\nAdmin Street: (?P.+)\nAdmin City: (?P.+)\nAdmin State: (?P.+)\nAdmin Postal Code: (?P.+)\nAdmin Country: (?P.+)\nAdmin Phone: (?P.*)\nAdmin Phone Ext: (?P.*)\nAdmin Fax: (?P.*)\nAdmin Fax Ext: (?P.*)\nAdmin Email: (?P.*)\n", # Key-Systems GmbH - "(?:Admin ID:[ ]*(?P.*)\n)?Admin[ ]*Name:[ ]*(?P.*)\n(?:Admin[ ]*Organization:[ ]*(?P.*)\n)?Admin[ ]*Street:[ ]*(?P.+)\n(?:Admin[ ]*Street:[ ]*(?P.+)\n)?(?:Admin[ ]*Street:[ ]*(?P.+)\n)?Admin[ ]*City:[ ]*(?P.+)\nAdmin[ ]*State(?:\/Province)?:[ ]*(?P.+)\nAdmin[ ]*Postal[ ]*Code:[ ]*(?P.+)\nAdmin[ ]*Country:[ ]*(?P.+)\n(?:Admin[ ]*Phone:[ ]*(?P.*)\n)?(?:Admin[ ]*Phone[ ]*Ext:[ ]*(?P.*)\n)?(?:Admin[ ]*Fax:[ ]*(?P.*)\n)?(?:Admin[ ]*Fax[ ]*Ext:\s*?(?P.*)\n)?(?:Admin[ ]*Email:[ ]*(?P.+)\n)?", # WildWestDomains, GoDaddy, Namecheap/eNom, Ascio, Musedoma (.museum) + "(?:Admin ID:[ ]*(?P.*)\n)?Admin[ ]*Name:[ ]*(?P.*)\n(?:Admin[ ]*Organization:[ ]*(?P.*)\n)?Admin[ ]*Street:[ ]*(?P.+)\n(?:Admin[ ]*Street:[ ]*(?P.+)\n)?(?:Admin[ ]*Street:[ ]*(?P.+)\n)?Admin[ ]*City:[ ]*(?P.+)\nAdmin[ ]*State(?:\/Province)?:[ ]*(?P.*)\nAdmin[ ]*Postal[ ]*Code:[ ]*(?P.+)\nAdmin[ ]*Country:[ ]*(?P.+)\n(?:Admin[ ]*Phone:[ ]*(?P.*)\n)?(?:Admin[ ]*Phone[ ]*Ext:[ ]*(?P.*)\n)?(?:Admin[ ]*Fax:[ ]*(?P.*)\n)?(?:Admin[ ]*Fax[ ]*Ext:\s*?(?P.*)\n)?(?:Admin[ ]*Email:[ ]*(?P.+)\n)?", # WildWestDomains, GoDaddy, Namecheap/eNom, Ascio, Musedoma (.museum), EuroDNS "Administrative Contact\n(?: (?P.+)\n)? (?P.+)\n Email:(?P.+)\n (?P.+)\n(?: (?P.+)\n)? (?P.+) (?P.+)\n (?P.+)\n Tel: (?P.+)\n\n", # internet.bs " Administrative Contact Details:[ ]*\n (?P.*)\n (?P.*)[ ]{2,}\((?P.*)\)\n (?P.*)\n(?: (?P.*)\n)?(?: (?P.*)\n)? (?P.*)\n (?P.*),(?P.*)\n (?P.*)\n Tel. (?P.*)", # Whois.com "admin-id:[ ]*(?P.*)\n(?:admin-organization:[ ]*(?P.*)\n)?admin-name:[ ]*(?P.*)\nadmin-street:[ ]*(?P.*)\nadmin-city:[ ]*(?P.*)\nadmin-zip:[ ]*(?P.*)\nadmin-country:[ ]*(?P.*)\n(?:admin-phone:[ ]*(?P.*)\n)?(?:admin-fax:[ ]*(?P.*)\n)?admin-email:[ ]*(?P.*)", # InterNetworX diff --git a/test/data/vulnweb.com b/test/data/vulnweb.com new file mode 100644 index 0000000..6eaacfa --- /dev/null +++ b/test/data/vulnweb.com @@ -0,0 +1,126 @@ + +The Data in EuroDNS WHOIS database is provided for information purposes only. +The fact that EuroDNS display such information does not provide any guarantee +expressed or implied on the purpose for which the database may be used, its +accuracy or usefulness. By submitting a WHOIS query, you agree that you will +use this Data only for lawful purposes and that, under no circumstances will +you use this Data to: + +(1) allow, enable, or otherwise support the transmission of mass unsolicited, +commercial advertising or solicitations via e-mail (spam); or +(2) enable high volume, automated, electronic processes that apply to EuroDNS +(or its systems). EuroDNS reserves the right to modify these terms at any time. + +By submitting this query, you agree to abide by the above policy. + +Domain Name: vulnweb.com +Registry Domain ID: D4569573-COM +Registrar WHOIS Server: whois.eurodns.com +Registrar URL: http://www.eurodns.com +Updated Date: 2014-04-08T10-03-21Z +Creation Date: 2010-06-14T00-00-00Z +Registrar Registration Expiration Date: 2017-06-13T00-00-00Z +Registrar: Eurodns S.A. +Registrar IANA ID: 1052 +Registrar Abuse Contact Email: legalservices[at]eurodns.com +Registrar Abuse Contact Phone: +352.27220150 +Domain Status: clientTransferProhibited +Registry Registrant ID: +Registrant Name: Abela Robert +Registrant Organization: Acunetix Ltd +Registrant Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street +Registrant City: Nicosia +Registrant State/Province: +Registrant Postal Code: 2414 +Registrant Country: CYPRUS +Registrant Phone: +443302020190 +Registrant Fax: +Registrant Email: ra@acunetix.com +Registry Admin ID: +Admin Name: Abela Robert +Admin Organization: Acunetix Ltd +Admin Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street +Admin City: Nicosia +Admin State/Province: +Admin Postal Code: 2414 +Admin Country: CYPRUS +Admin Phone: +443302020190 +Admin Fax: +Admin Email: ra@acunetix.com +Registry Tech ID: +Tech Name: Abela Robert +Tech Organization: Acunetix Ltd +Tech Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street +Tech City: Nicosia +Tech State/Province: +Tech Postal Code: 2414 +Tech Country: CYPRUS +Tech Phone: +443302020190 +Tech Fax: +Tech Email: ra@acunetix.com +Name Server: ns1.eurodns.com +Name Server: ns2.eurodns.com +Name Server: ns3.eurodns.com +Name Server: ns4.eurodns.com +DNSSEC: +ICANN WHOIS Data Problem Reporting System: http://www.icann.org/en/resources/compliance/complaints/whois/inaccuracy-form + +Whois History: 164 records have been archived since 2010-06-15 +http://www.domaintools.com/research/whois-history/?page=results&Affiliate_ID=1001861&q=vulnweb.com + +-- + +Whois Server Version 2.0 + +Domain names in the .com and .net domains can now be registered +with many different competing registrars. Go to http://www.internic.net +for detailed information. + + Domain Name: VULNWEB.COM + Registrar: EURODNS S.A + Whois Server: whois.eurodns.com + Referral URL: http://www.eurodns.com + Name Server: NS1.EURODNS.COM + Name Server: NS2.EURODNS.COM + Name Server: NS3.EURODNS.COM + Name Server: NS4.EURODNS.COM + Status: clientTransferProhibited + Updated Date: 08-apr-2014 + Creation Date: 14-jun-2010 + Expiration Date: 14-jun-2017 + +>>> Last update of whois database: Sun, 27 Apr 2014 23:32:17 UTC <<< + +NOTICE: The expiration date displayed in this record is the date the +registrar's sponsorship of the domain name registration in the registry is +currently set to expire. This date does not necessarily reflect the expiration +date of the domain name registrant's agreement with the sponsoring +registrar. Users may consult the sponsoring registrar's Whois database to +view the registrar's reported date of expiration for this registration. + +TERMS OF USE: You are not authorized to access or query our Whois +database through the use of electronic processes that are high-volume and +automated except as reasonably necessary to register domain names or +modify existing registrations; the Data in VeriSign Global Registry +Services' ("VeriSign") Whois database is provided by VeriSign for +information purposes only, and to assist persons in obtaining information +about or related to a domain name registration record. VeriSign does not +guarantee its accuracy. By submitting a Whois query, you agree to abide +by the following terms of use: You agree that you may use this Data only +for lawful purposes and that under no circumstances will you use this Data +to: (1) allow, enable, or otherwise support the transmission of mass +unsolicited, commercial advertising or solicitations via e-mail, telephone, +or facsimile; or (2) enable high volume, automated, electronic processes +that apply to VeriSign (or its computer systems). The compilation, +repackaging, dissemination or other use of this Data is expressly +prohibited without the prior written consent of VeriSign. You agree not to +use electronic processes that are automated and high-volume to access or +query the Whois database except as reasonably necessary to register +domain names or modify existing registrations. VeriSign reserves the right +to restrict your access to the Whois database in its sole discretion to ensure +operational stability. VeriSign may restrict or terminate your access to the +Whois database for failure to abide by these terms of use. VeriSign +reserves the right to modify these terms at any time. + +The Registry database contains ONLY .COM, .NET, .EDU domains and +Registrars. diff --git a/test/target_default/vulnweb.com b/test/target_default/vulnweb.com new file mode 100644 index 0000000..204ae93 --- /dev/null +++ b/test/target_default/vulnweb.com @@ -0,0 +1 @@ +{"status": ["clientTransferProhibited"], "updated_date": ["2014-04-08T10:03:21"], "contacts": {"admin": {"city": "Nicosia", "name": "Abela Robert", "phone": "+443302020190", "street": "Block B, Office 303, Engomi Business Center, 1, 28th October Street", "country": "CYPRUS", "postalcode": "2414", "organization": "Acunetix Ltd", "email": "ra@acunetix.com"}, "tech": {"city": "Nicosia", "name": "Abela Robert", "phone": "+443302020190", "street": "Block B, Office 303, Engomi Business Center, 1, 28th October Street", "country": "CYPRUS", "postalcode": "2414", "organization": "Acunetix Ltd", "email": "ra@acunetix.com"}, "registrant": {"city": "Nicosia", "name": "Abela Robert", "phone": "+443302020190", "street": "Block B, Office 303, Engomi Business Center, 1, 28th October Street", "country": "CYPRUS", "postalcode": "2414", "organization": "Acunetix Ltd", "email": "ra@acunetix.com"}, "billing": null}, "nameservers": ["ns1.eurodns.com", "ns2.eurodns.com", "ns3.eurodns.com", "ns4.eurodns.com"], "expiration_date": ["2017-06-13T00:00:00"], "raw": ["\nThe Data in EuroDNS WHOIS database is provided for information purposes only.\nThe fact that EuroDNS display such information does not provide any guarantee\nexpressed or implied on the purpose for which the database may be used, its\naccuracy or usefulness. By submitting a WHOIS query, you agree that you will\nuse this Data only for lawful purposes and that, under no circumstances will\nyou use this Data to:\n\n(1) allow, enable, or otherwise support the transmission of mass unsolicited,\ncommercial advertising or solicitations via e-mail (spam); or\n(2) enable high volume, automated, electronic processes that apply to EuroDNS\n(or its systems). EuroDNS reserves the right to modify these terms at any time.\n\nBy submitting this query, you agree to abide by the above policy.\n\nDomain Name: vulnweb.com\nRegistry Domain ID: D4569573-COM\nRegistrar WHOIS Server: whois.eurodns.com\nRegistrar URL: http://www.eurodns.com\nUpdated Date: 2014-04-08T10-03-21Z\nCreation Date: 2010-06-14T00-00-00Z\nRegistrar Registration Expiration Date: 2017-06-13T00-00-00Z\nRegistrar: Eurodns S.A.\nRegistrar IANA ID: 1052\nRegistrar Abuse Contact Email: legalservices[at]eurodns.com\nRegistrar Abuse Contact Phone: +352.27220150\nDomain Status: clientTransferProhibited\nRegistry Registrant ID: \nRegistrant Name: Abela Robert\nRegistrant Organization: Acunetix Ltd\nRegistrant Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street\nRegistrant City: Nicosia\nRegistrant State/Province:\nRegistrant Postal Code: 2414\nRegistrant Country: CYPRUS\nRegistrant Phone: +443302020190\nRegistrant Fax: \nRegistrant Email: ra@acunetix.com\nRegistry Admin ID: \nAdmin Name: Abela Robert\nAdmin Organization: Acunetix Ltd\nAdmin Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street\nAdmin City: Nicosia\nAdmin State/Province:\nAdmin Postal Code: 2414\nAdmin Country: CYPRUS\nAdmin Phone: +443302020190\nAdmin Fax: \nAdmin Email: ra@acunetix.com\nRegistry Tech ID: \nTech Name: Abela Robert\nTech Organization: Acunetix Ltd\nTech Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street\nTech City: Nicosia\nTech State/Province:\nTech Postal Code: 2414\nTech Country: CYPRUS\nTech Phone: +443302020190\nTech Fax: \nTech Email: ra@acunetix.com\nName Server: ns1.eurodns.com\nName Server: ns2.eurodns.com\nName Server: ns3.eurodns.com\nName Server: ns4.eurodns.com\nDNSSEC: \nICANN WHOIS Data Problem Reporting System: http://www.icann.org/en/resources/compliance/complaints/whois/inaccuracy-form\n\nWhois History: 164 records have been archived since 2010-06-15\nhttp://www.domaintools.com/research/whois-history/?page=results&Affiliate_ID=1001861&q=vulnweb.com\n", "\nWhois Server Version 2.0\n\nDomain names in the .com and .net domains can now be registered\nwith many different competing registrars. Go to http://www.internic.net\nfor detailed information.\n\n Domain Name: VULNWEB.COM\n Registrar: EURODNS S.A\n Whois Server: whois.eurodns.com\n Referral URL: http://www.eurodns.com\n Name Server: NS1.EURODNS.COM\n Name Server: NS2.EURODNS.COM\n Name Server: NS3.EURODNS.COM\n Name Server: NS4.EURODNS.COM\n Status: clientTransferProhibited\n Updated Date: 08-apr-2014\n Creation Date: 14-jun-2010\n Expiration Date: 14-jun-2017\n\n>>> Last update of whois database: Sun, 27 Apr 2014 23:32:17 UTC <<<\n\nNOTICE: The expiration date displayed in this record is the date the \nregistrar's sponsorship of the domain name registration in the registry is \ncurrently set to expire. This date does not necessarily reflect the expiration \ndate of the domain name registrant's agreement with the sponsoring \nregistrar. Users may consult the sponsoring registrar's Whois database to \nview the registrar's reported date of expiration for this registration.\n\nTERMS OF USE: You are not authorized to access or query our Whois \ndatabase through the use of electronic processes that are high-volume and \nautomated except as reasonably necessary to register domain names or \nmodify existing registrations; the Data in VeriSign Global Registry \nServices' (\"VeriSign\") Whois database is provided by VeriSign for \ninformation purposes only, and to assist persons in obtaining information \nabout or related to a domain name registration record. VeriSign does not \nguarantee its accuracy. By submitting a Whois query, you agree to abide \nby the following terms of use: You agree that you may use this Data only \nfor lawful purposes and that under no circumstances will you use this Data \nto: (1) allow, enable, or otherwise support the transmission of mass \nunsolicited, commercial advertising or solicitations via e-mail, telephone, \nor facsimile; or (2) enable high volume, automated, electronic processes \nthat apply to VeriSign (or its computer systems). The compilation, \nrepackaging, dissemination or other use of this Data is expressly \nprohibited without the prior written consent of VeriSign. You agree not to \nuse electronic processes that are automated and high-volume to access or \nquery the Whois database except as reasonably necessary to register \ndomain names or modify existing registrations. VeriSign reserves the right \nto restrict your access to the Whois database in its sole discretion to ensure \noperational stability. VeriSign may restrict or terminate your access to the \nWhois database for failure to abide by these terms of use. VeriSign \nreserves the right to modify these terms at any time. \n\nThe Registry database contains ONLY .COM, .NET, .EDU domains and\nRegistrars.\n"], "whois_server": ["whois.eurodns.com"], "registrar": ["Eurodns S.A."], "creation_date": ["2010-06-14T00:00:00"], "id": ["D4569573-COM"]} \ No newline at end of file diff --git a/test/target_normalized/vulnweb.com b/test/target_normalized/vulnweb.com new file mode 100644 index 0000000..c3351a1 --- /dev/null +++ b/test/target_normalized/vulnweb.com @@ -0,0 +1 @@ +{"status": ["clientTransferProhibited"], "updated_date": ["2014-04-08T10:03:21"], "contacts": {"admin": {"city": "Nicosia", "name": "Abela Robert", "phone": "+443302020190", "street": "Block B, Office 303, Engomi Business Center, 1, 28th October Street", "country": "Cyprus", "postalcode": "2414", "organization": "Acunetix Ltd", "email": "ra@acunetix.com"}, "tech": {"city": "Nicosia", "name": "Abela Robert", "phone": "+443302020190", "street": "Block B, Office 303, Engomi Business Center, 1, 28th October Street", "country": "Cyprus", "postalcode": "2414", "organization": "Acunetix Ltd", "email": "ra@acunetix.com"}, "registrant": {"city": "Nicosia", "name": "Abela Robert", "phone": "+443302020190", "street": "Block B, Office 303, Engomi Business Center, 1, 28th October Street", "country": "Cyprus", "postalcode": "2414", "organization": "Acunetix Ltd", "email": "ra@acunetix.com"}, "billing": null}, "nameservers": ["ns1.eurodns.com", "ns2.eurodns.com", "ns3.eurodns.com", "ns4.eurodns.com"], "expiration_date": ["2017-06-13T00:00:00"], "raw": ["\nThe Data in EuroDNS WHOIS database is provided for information purposes only.\nThe fact that EuroDNS display such information does not provide any guarantee\nexpressed or implied on the purpose for which the database may be used, its\naccuracy or usefulness. By submitting a WHOIS query, you agree that you will\nuse this Data only for lawful purposes and that, under no circumstances will\nyou use this Data to:\n\n(1) allow, enable, or otherwise support the transmission of mass unsolicited,\ncommercial advertising or solicitations via e-mail (spam); or\n(2) enable high volume, automated, electronic processes that apply to EuroDNS\n(or its systems). EuroDNS reserves the right to modify these terms at any time.\n\nBy submitting this query, you agree to abide by the above policy.\n\nDomain Name: vulnweb.com\nRegistry Domain ID: D4569573-COM\nRegistrar WHOIS Server: whois.eurodns.com\nRegistrar URL: http://www.eurodns.com\nUpdated Date: 2014-04-08T10-03-21Z\nCreation Date: 2010-06-14T00-00-00Z\nRegistrar Registration Expiration Date: 2017-06-13T00-00-00Z\nRegistrar: Eurodns S.A.\nRegistrar IANA ID: 1052\nRegistrar Abuse Contact Email: legalservices[at]eurodns.com\nRegistrar Abuse Contact Phone: +352.27220150\nDomain Status: clientTransferProhibited\nRegistry Registrant ID: \nRegistrant Name: Abela Robert\nRegistrant Organization: Acunetix Ltd\nRegistrant Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street\nRegistrant City: Nicosia\nRegistrant State/Province:\nRegistrant Postal Code: 2414\nRegistrant Country: CYPRUS\nRegistrant Phone: +443302020190\nRegistrant Fax: \nRegistrant Email: ra@acunetix.com\nRegistry Admin ID: \nAdmin Name: Abela Robert\nAdmin Organization: Acunetix Ltd\nAdmin Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street\nAdmin City: Nicosia\nAdmin State/Province:\nAdmin Postal Code: 2414\nAdmin Country: CYPRUS\nAdmin Phone: +443302020190\nAdmin Fax: \nAdmin Email: ra@acunetix.com\nRegistry Tech ID: \nTech Name: Abela Robert\nTech Organization: Acunetix Ltd\nTech Street: Block B, Office 303, Engomi Business Center, 1, 28th October Street\nTech City: Nicosia\nTech State/Province:\nTech Postal Code: 2414\nTech Country: CYPRUS\nTech Phone: +443302020190\nTech Fax: \nTech Email: ra@acunetix.com\nName Server: ns1.eurodns.com\nName Server: ns2.eurodns.com\nName Server: ns3.eurodns.com\nName Server: ns4.eurodns.com\nDNSSEC: \nICANN WHOIS Data Problem Reporting System: http://www.icann.org/en/resources/compliance/complaints/whois/inaccuracy-form\n\nWhois History: 164 records have been archived since 2010-06-15\nhttp://www.domaintools.com/research/whois-history/?page=results&Affiliate_ID=1001861&q=vulnweb.com\n", "\nWhois Server Version 2.0\n\nDomain names in the .com and .net domains can now be registered\nwith many different competing registrars. Go to http://www.internic.net\nfor detailed information.\n\n Domain Name: VULNWEB.COM\n Registrar: EURODNS S.A\n Whois Server: whois.eurodns.com\n Referral URL: http://www.eurodns.com\n Name Server: NS1.EURODNS.COM\n Name Server: NS2.EURODNS.COM\n Name Server: NS3.EURODNS.COM\n Name Server: NS4.EURODNS.COM\n Status: clientTransferProhibited\n Updated Date: 08-apr-2014\n Creation Date: 14-jun-2010\n Expiration Date: 14-jun-2017\n\n>>> Last update of whois database: Sun, 27 Apr 2014 23:32:17 UTC <<<\n\nNOTICE: The expiration date displayed in this record is the date the \nregistrar's sponsorship of the domain name registration in the registry is \ncurrently set to expire. This date does not necessarily reflect the expiration \ndate of the domain name registrant's agreement with the sponsoring \nregistrar. Users may consult the sponsoring registrar's Whois database to \nview the registrar's reported date of expiration for this registration.\n\nTERMS OF USE: You are not authorized to access or query our Whois \ndatabase through the use of electronic processes that are high-volume and \nautomated except as reasonably necessary to register domain names or \nmodify existing registrations; the Data in VeriSign Global Registry \nServices' (\"VeriSign\") Whois database is provided by VeriSign for \ninformation purposes only, and to assist persons in obtaining information \nabout or related to a domain name registration record. VeriSign does not \nguarantee its accuracy. By submitting a Whois query, you agree to abide \nby the following terms of use: You agree that you may use this Data only \nfor lawful purposes and that under no circumstances will you use this Data \nto: (1) allow, enable, or otherwise support the transmission of mass \nunsolicited, commercial advertising or solicitations via e-mail, telephone, \nor facsimile; or (2) enable high volume, automated, electronic processes \nthat apply to VeriSign (or its computer systems). The compilation, \nrepackaging, dissemination or other use of this Data is expressly \nprohibited without the prior written consent of VeriSign. You agree not to \nuse electronic processes that are automated and high-volume to access or \nquery the Whois database except as reasonably necessary to register \ndomain names or modify existing registrations. VeriSign reserves the right \nto restrict your access to the Whois database in its sole discretion to ensure \noperational stability. VeriSign may restrict or terminate your access to the \nWhois database for failure to abide by these terms of use. VeriSign \nreserves the right to modify these terms at any time. \n\nThe Registry database contains ONLY .COM, .NET, .EDU domains and\nRegistrars.\n"], "whois_server": ["whois.eurodns.com"], "registrar": ["Eurodns S.A."], "creation_date": ["2010-06-14T00:00:00"], "id": ["D4569573-COM"]} \ No newline at end of file