Originally written by Ipwhois class
/*** Class:ip Whois Verson 1.0* Info:get IPs Information Form 4 whois server* author:php (as the current mainstream development language) up Studio* date:12/12/2004* Www.acnow.net**/Class Ipwhois{var $server = whois.arin.net;var $target;var $timeout = 10;var $msg;function Ipwhois ($target){$this->target = $target;}function Showinfo (){if ($this->_checkip ($this->targ
Whois
Function Description: search for and display user information.Method: whois [Account name]Note: The whois command will search for and display the user information of the specified account, because it is found in the WHOIS database of network solutions, so the account name must be registered above for retrieval, t
traceroute
The tracepath command is similar to the traceroute command, but does not require the root permission. The traceroute command is not pre-installed in Ubuntu. Tracepath traces the network path of the specified destination address and provides each hop on the path ). If your network is faulty or slow, tracepath can find out where the network is broken or slow.
Tracepath example.com
4. mtr
The mtr command combines the ping command with the tracepath command. Mtr continuously sends p
Common Linux ports nbsp; famous ports nbsp; 1tcpmuxTCP port service multiplexing nbsp; 5e E remote job portal nbsp; 7echoEcho Service nbsp; 9discard: Null service used for connection testing nbsp; 111_at is used to list connected terminals
Common Linux ports
Famous Port
1 tcpmux TCP port service multiplexing
5. objective E remote job portal
7. echo service
9 discard is an empty service used for connection testing
11 systat is used to list the system status of the connected port.
13 daytime
ultricies elit lacus quis ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pretium ullamcorper urna quis iaculis. Etiam ac massa sed turpis tempor luctus. Curabitur sed nibh eu elit mollis congue. Praesent ipsum diam, consectetur vitae ornare a, aliquam a nunc. In id magna pellentesque tellus posuere adipiscing. Sed non mi metus, at lacinia augue. Sed magna nisi, ornare in mollis in, mollis sed nunc. Etiam at justo in leo congue mollis. Nullam in
found that the file php_mbstring.dll is not copied to the directory where php. ini is located.
In Linux:
When the following problem occurs:
PHP 1. {main} ()/home/xu/web/whois/AB .cn. php: 0PHP 2. base_func-> is_exist ()/home/xu/web/whois/AB .cn. php: 21PHP 3. strftime ()/home/xu/web/whois. mysql. php: 46AB. cnis existPHP Fatal error: Call to undefined function m
Always want to find a free unlimited frequency domain name query interface, online find for a long time did not find, finally simply write a domain name lookup interface, the principle is directly with PHP to find the domain name whois information, but directly find whois too slow, you want to first find the domain name of the NS record, If there is an NS record, this domain name is already registered, so t
When we collect the target system information, we mainly need to collect :Target Server System Information (IP, system used by the server, etc.);Target site sub-domain name;The open port of the target website (server);Target domain information, target site Content management System (CMS) and so on.First, sub-domain name collectionWe are not able to all the sub-domain name all out, we can find only the domain name indexed by the search engine.Site: domain name such as site:baidu.comintitle: Backg
Network Vulnerability attack tools
Metasploit
First msfupdate upgrade:
Then select msfconsole:
Next:
/shell/
In this way, a cmd shell can be rebounded.
Hydra
Introduction to penetration tools in Windows
MaltegoCE
DNS collection.
IBM Rational AppScan
Automated web Application Security Vulnerability Assessment can scan and detect common web application security vulnerabilities, such as SQL injection, cross-site scripting attacks, buffer overflow, and the latest FLASH/FLEX applic
so on.Content Summary
Website and server information
Search engine
Google Hacking
Social networking Sites
Non-disclosure of data by third parties
Website and server information: WhoisWHOIS is a transport protocol used to query the IP of a domain name and the owner of such information. In short, WHOIS is a database (such as the domain owner, domain name registrar) that is used to inquire about whether a domain name has be
, Consectetur vitae ornare A, aliquam a nunc. In ID magna pellentesque tellus posuere adipiscing. Sed non mi metus, at Lacinia Augue. Sed magna nisi, ornare in mollis in, mollis sed nunc. Etiam at Justo in Leo Congue mollis. Nullam in Neque eget metus hendrerit scelerisque eu non enim. Ut malesuada lacus EU nulla bibendum ID euismod urna sodales. "; $compressed = gzcompress ($string); echo "Original size:". Strlen ($string). " \ n "; /* Prints Original size:800 */echo "compre
Modified by the Geotrace script, the original script has a lot of problems, looked up some awk data to solve the original problem.mtr-0.86 version installation failed, need to update some software, so the use of 0.80can also use Nali this software, very convenient.This script is often used for network monitoring, which can be displayed: hop count, IP, latency, regional operators, if you want to be able to connect.
Yum Install Jwhois-ywget ftp://ftp.bitwizard.nl/mtr/mtr-0.80.tar.g
Practical goalsMaster the basic skills of information collection and the use of common tools.Experimental content (1) application of various search techniques
such as ip2location location query
Queried for their
IP route Detection Tool: Traceroutetraceroute www.baidu.comBut it seems that the command is not right, read the other blog, the Internet search, is this
(2) query for DNS IP registration informationInformation about the target Web site is mined through DNS and
Recently, I often see someone ask how to query the domain name in ASP is registered, so write this component, the main principle is to the Gopher site whois server to send WHOIS request, because not too much time, so very simple, at present can only realize to cnnic query, And the returned information is not processed, if you want to use, clear in the ASP to deal with it yourself. Later if there is time wil
provide comprehensive services.
Of course, there are many domain name agents than cnnic of those domain registrars are also large: whether the technical level, the number of employees, one year turnover. Therefore, domain name agents are not said to be smaller than domain registrars.
2, Service disadvantage: Indirect service, service vacancy
Because the domain name Agent registration port is the domain name registrar to provide, therefore provides the domain name registration for the user, they
pellentesquetellus posuere adipiscing. Sed non mi metus, at laciniaaugue. Sed magna nisi, ornare in mollis in, mollissed nunc. Etiam at justo in leo congue mollis.Nullam in neque eget metus hendrerit scelerisqueeu non enim. Ut malesuada lacus eu nulla bibendumid euismod urna sodales. ";$compressed = gzcompress($string);echo "Original size: ". strlen($string)."\n";/* printsOriginal size: 800*/echo "Compressed size: ". strlen($compressed)."\n";/* printsCompressed size: 418*/// getting it back$ori
congue. Praesent ipsum diam, consectetur vitae ornare a, aliquam a nunc. In id magna pellentesque tellus posuere adipiscing. Sed non mi metus, at lacinia augue. Sed magna nisi, ornare in mollis in, mollis sed nunc. Etiam at justo in leo congue mollis. Nullam in neque eget metus hendrerit scelerisque eu non enim. Ut malesuada lacus eu nulla bibendum id euismod urna sodales. "; $compressed = gzcompress($string); echo "Original size: ". strlen($string)."\n"; /
= $curlopt _useragent, Curlopt_url = $url, Curlopt_timeout = 1, curlopt_referer = ' http:/'. $_server[' Http_host '],); Curl_setopt_array ($ch, $curl _opt); $content = curl_exec ($ch); if (!is_null ($curl _info)) {$curl _info = Curl_getinfo ($ch); } curl_close ($ch); if (Preg_match (' {
Grammar:
5. Get the source code for the Web page
Use the following function to get the HTML code for any Web page
function Display_sourcecode ($url) {$lines = file ($ur
Every Programmer and developer likes to discuss their favorite code snippets, especially when PHP developers spend several hours coding for webpages or creating applications, they know the importance of these codes. To save coding time, I collected some useful code snippets to help developers improve their work efficiency. Every Programmer and developer likes to discuss their favorite code snippets, especially when PHP developers spend several hours coding for webpages or creating applications,
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.