Update the disclaimer detection strings

When possible they have been future-proofed by hiding everything until
the end of the input.
This commit is contained in:
Marco d'Itri 2015-03-23 04:23:29 +01:00
parent b26a58fd25
commit 78d2e38a64

73
data.h
View File

@ -1,8 +1,6 @@
/* /*
* RIPE-like servers. * RIPE-like servers.
* All of them do not understand -V2.0Md with the exception of RA and RIPN. * All of them do not understand -V2.0Md with the exception of RA and RIPN.
* 6bone-derived servers will accept the flag with a warning (the flag must
* match /^V [a-zA-Z]{1,4}\d+[\d\.]{0,5}$/).
*/ */
/* servers which accept the new syntax (-V XXn.n) */ /* servers which accept the new syntax (-V XXn.n) */
@ -24,31 +22,28 @@ const char *ripe_servers[] = {
}; };
const char *hide_strings[] = { const char *hide_strings[] = {
"NOTICE AND TERMS OF USE: You", "", /* NetSol */ "The data in Networksolutions.com's WHOIS database", NULL,
"NOTICE: The expiration date", "reserves the right", /* crsnic */ /* Some registrars like .wang copied the first paragraph of this
"The data in Register", "", /* Register.Com */ * disclaimer, so the detection here needs to be split in two parts. */
"The Data in the Tucows", "RECORD DOES NOT", "NOTICE: The expiration date", "", /* crsnic */
"The information in this whois database", "", /* DOTSTER */ "TERMS OF USE: You are not authorized", "reserves the right", /* crsnic */
"This whois service currently only", "top-level domains.", /* NameSecure */ "The data in Register.com's WHOIS database", NULL,
"The Data in Gabia", "you agree to abide", "The Data in the Tucows Registrar WHOIS database", NULL,
"The data contained in GoDaddy.com", "is not the registrant", "The data in NameSecure.com's WHOIS database", NULL,
"Disclaimer: The Global Name Registry", "for any commercial", "The Data in Gabia's WHOIS database", NULL,
"Access to America Online", "time. By accessing", /* AOL */ "The data contained in GoDaddy.com", NULL,
"# Access and use restricted", "", /* GANDI */ "Personal data access and use are governed by French", NULL, /* GANDI */
"% The data in the WHOIS database of 1&1 Internet", "", "The data in this whois database is provided to you", NULL, /* enom */
"The data in this whois database is", NULL, /* enom, activeregistrar.com */ "; Please register your domains at; http://www.", NULL, /* key-systems.net */
"The Data in Moniker's WHOIS database", "of Moniker.", "%% NOTICE: Access to this information is provided", NULL, /* bookmyname.com */
"The Data in OnlineNIC", " By starting this query", "% NOTICE: Access to the domains information", NULL, /* CORE */
"Interdomain's WHOIS", "DOES NOT SIGNIFY", "The Data in MarkMonitor.com's", NULL, /* MarkMonitor */
"The Data provided by Stargate Holdings", "(2) enable any",
"; This data is provided by domaindiscount24.com", "",
"%% NOTICE: Access to this information is provided", "%% By submitting", /* bookmyname.com */
"% NOTICE: Access to the domains information", "% this query", /* CORE */
"The Data in MarkMonitor.com's", "--", /* MarkMonitor */
"Corporation Service Company(c) (CSC) The Trusted Partner", "Register your domain name at", /* CSC */ "Corporation Service Company(c) (CSC) The Trusted Partner", "Register your domain name at", /* CSC */
"The data in Networksolutions.com's", "By submitting this query", /* Networksolutions */ "The data in Networksolutions.com's", NULL, /* Networksolutions */
"% Copyright (c)2003 by Deutsche Telekom AG", "% DOMAIN full", /* Deutsche Telekom */ "# Welcome to the OVH WHOIS Server", "", /* ovh */
"# Welcome to the OVH WHOIS Server", "# soumettant une", /* ovh */ "TERMS OF USE OF MELBOURNE IT WHOIS DATABASE", NULL,
"The data contained in this Registrar's Whois", NULL, /* wildwestdomains.com */
"The data in the FastDomain Inc. WHOIS database", NULL,
/* gTLDs */ /* gTLDs */
"Access to .AERO WHOIS information", "", "Access to .AERO WHOIS information", "",
@ -56,13 +51,13 @@ const char *hide_strings[] = {
"The .coop registry WHOIS", "VERIFICATION, NOR DO", "The .coop registry WHOIS", "VERIFICATION, NOR DO",
"%% puntCAT Whois Server", "%% any time.", "%% puntCAT Whois Server", "%% any time.",
"This Registry database contains ONLY .EDU", "type: help", /* edu */ "This Registry database contains ONLY .EDU", "type: help", /* edu */
"Access to AFILIAS WHOIS information is provided", "", /* .info */ "Access to AFILIAS WHOIS information is provided", NULL, /* .info */
"mTLD WHOIS LEGAL STATEMENT", "integrity of the database.", /* .mobi */ "mTLD WHOIS LEGAL STATEMENT", "integrity of the database.", /* .mobi */
"Access to .ORG WHOIS information", "", "Access to Public Interest Registry WHOIS information", NULL, /* .org */
"Access to RegistryPro's Whois", "All rights", /* .pro */ "Access to .PRO REGISTRY WHOIS information", "",
"Telnic, Ltd., the Registry Operator", "(b) harass any person;", /* .tel */ "Telnic, Ltd., the Registry Operator for .TEL", NULL,
"Tralliance, Inc., the Registry", "", /* .travel */ "Tralliance, Inc., the Registry Operator for .travel", NULL,
"Access to .XXX ICM REGISTRY WHOIS", "", /* .xxx */ "Access to .XXX ICM REGISTRY WHOIS", NULL, /* .xxx */
/* new gTLDs */ /* new gTLDs */
"Terms of Use: Users accessing the Donuts WHOIS", NULL, "Terms of Use: Users accessing the Donuts WHOIS", NULL,
@ -72,14 +67,20 @@ const char *hide_strings[] = {
"The whois information provided on this site", "", /* mm-registry.com */ "The whois information provided on this site", "", /* mm-registry.com */
"; This data is provided by ", NULL, /* ksregistry.net */ "; This data is provided by ", NULL, /* ksregistry.net */
"This whois service is provided by CentralNic Ltd", "", "This whois service is provided by CentralNic Ltd", "",
".Club Domains, LLC, the Registry Operator", NULL,
"% Except for agreed Internet operational purposes", NULL, /* .berlin */
"TERMS OF USE: The information in the Whois database", NULL, /* .wang */
"The WHOIS service offered by Neustar, Inc, on behalf", NULL,
"The WHOIS service offered by the Registry Operator", NULL, /* .science */
"", NULL,
/* ccTLDs */ /* ccTLDs */
"Access to CCTLD WHOIS information is provided", "", /* Afilias */ "Access to CCTLD WHOIS information is provided", "", /* Afilias */
"Access to ASNIC", "by this policy.", /* as */ "This WHOIS information is provided", NULL, /* as */
"% The WHOIS service offered by DNS.be", "% protect the privacy", /* be */ "% The WHOIS service offered by DNS Belgium", "", /* be */
"% The WHOIS service offered by EURid", "% of the database", /* eu */ "% The WHOIS service offered by EURid", "% of the database", /* eu */
"% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS", "", /* sx */ "% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS", NULL, /* sx */
"NeuStar, Inc., the Registry", "OF THE AVAILABILITY", /* us */ "NeuStar, Inc., the Registry Administrator for .US", NULL,
NULL, NULL NULL, NULL
}; };