Alibabacloud.com offers a wide variety of articles about domain name history whois, easily find your domain name history whois information here online.
Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy the Code code as follows:
function Whois_hichina ($domain) {Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $
"Original": before using php to query domain name whois information, a whois query tool was specially deployed on the plog.cn server to implement "plog.cn 1-6 Super-expecting to delete short domain names. PS: method of use http://plog.cn/
nearly 1000 of ICANN's authorized registrars. The domain registrar will check whether the domain name is available and establish a WHOIS record according to the information provided by the registrant. The registrant may also register the domain
Author: Guang mangoSource: evil baboons Information Security Team (www.eviloctal.com)Note: This article has been published in the non-secure guest manual.Since the announcement of whois technology, bypass attacks have become a very common attack method for hackers. In addition to configuring directory permissions, we can also block hackers when querying whois.Let's first analyze the principle of whois query
PHP code for domain name whois query (data source HiChina, Xinnet ). The code for copying the HiChina whois code is as follows: functionwhois_hichina ($ domain) {preg_match (| pre (. + ?) Pre | is, @ file_get_contents (whois HiChi
Php function: Domain name whois query (query using interfaces of HiChina and Xinnet ). Function 1 :? Php HiChina whois (the interface used to provide valid interfaces for HiChina) functionwhois_hichina ($ domain) {preg_match (| pre (.?) Pre | is, @ file_get_contents (
Use PHP to query the domain name status whois class. Copy the code as follows :? ClassSearchDomain {var $ domain; functionSetDomain ($ udomain) {$ this-domain $ udomain;} get whois and analyze the
Function 1: lt ;? Php // HiChina whois (the interface used to provide valid interfaces for HiChina) functionwhois_hichina ($ domain) { nbsp; preg_match (| lt; pre gt; (.?) Lt;/pre gt; | is, @ file_get_contents (http: // whois function 1:
// HiChina whois (the interfaces used provide valid interfaces for HiChina)
function One:
Million-net Whois (the interface used to provide a legal interface to the WAN)
function Whois_hichina ($domain) {
Preg_match ("|
(. ?)|is ", @file_get_contents (http://whois.hichina.com/cgi-bin/whois?domain=. $domain.), $w
I. Classification of information collection
The methods of information collection can be grouped into two categories:
1. Active Collection: Active collection is to obtain relevant information, such as ICMP ping or TCP port scan, by directly initiating interaction with the target network being tested.
2. Passive collection: Passive collection is through Third-party services to obtain information on the target network, such as the use of Google search engine.
second, the
bytes. If it fails, it returns false.
PHP $file fopen ("Test.txt", "R"); while feof ($file)) { echofgets($file). "; } fclose ($file); ? >
The FGETSS () function reads a row from an open file and filters out HTML and PHP tags. As with Fgets (), the difference is that FGETSS attempts to remove any HTML and PHP markup from the text that is being read.
FGETSS (file,length,tags) can use the optional third parameter tags to specify which tags are not removed. If it fai
Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy CodeThe code is as follows:
function Whois_hichina ($domain) {
Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $
Whois is simply a database that queries whether the domain name has been registered, as well as the details of the registered domain name (such as domain name owner,
Query of most domain name suffixes and punycode domain names such as Chinese. The interface outputs plain Whois text data without any advertisement code! None? Php $ DomainNameoschina.net; defines the domain name variable value $
Copy CodeThe code is as follows:
Class Searchdomain{var $domain = "";function SetDomain ($udomain){$this->domain = $udomain;}//Get whois and analyze domain name statusOK is not registeredNon-null value expiration timeNull value Unknown//function GetInfo (){/*$dinfo = Trim
Use PHP to query the domain name status whois class
The code is as follows:
Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain whois and analyze the
According to the 2014 ICANN regulations, all in the GoDaddy domain name registrars (including other registrars, of course) new registration, new transfer, the new transfer of domain names require WHOIS mailbox activation verification. After our new domain
Hichina whois (the interfaces used provide valid interfaces for hichina)Copy codeThe Code is as follows:Function whois_hichina ($ domain ){Preg_match ("| $ Whois [0] = str_replace ('note: as required by the Registry, expired domain names may be in the automatic renewal phase of the Registrar, the
Copy codeThe Code is as follows:Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain whois and analyze the domain name status// OK is not registered// Non-null expiration time// Null value unknown//Function GetInfo (){/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.