Teach you how to write a private server list thief [php html cache]

Source: Internet
Author: User
This is because haosf.com is stolen. You can steal other sites by yourself. Generally, you only need to steal the latest list of private servers. You can steal several more sites, it becomes a private server release site that does not need to be updated. my server has sent n private server ip addresses, so I forgot to cache them during the test :(
It's useless for me now. Give it to the person you need.
You can modify the target site once every 20 hours. You can see how to get other sites.
Chuanqi. php // private server thief

<?
Extract ($ _ GET); extract ($ _ POST );
$ Clinchurl = "http://www.haosf.com"; // target site
$ Url = $ clinchurl. $ domain;
$ Fp = @ fopen ($ url, "r") or die ("timeout"); // determine whether a webpage can be opened
$ Fcontents = file_get_contents ($ url );
// Echo $ fcontents;
If (eregi ('Legend server name </font> </B> </div> </td> (. *)> Next page </a> </div> </td> ', $ fcontents, $ regs ))
{
// The above (. *) is the content you want-the location of the list
$ Clinch = "<table width =" 1004 "border =" 0 "align =" center "cellpadding =" 5 "cellspacing =" 1 "bgcolor =" # CCCCCC ">
<Tr bgcolor = "#990000" type = "codeph" text = "/codeph">
<Td width = "96"> <div align = "left"> <B> <font color = "# FFFFFF"> legendary server name </font> </B> </div> </td> ". $ regs [1]. "</a> </div> </td> ";
// Complete the html of the obtained content and use it by yourself
} // END IF
$ Clinch = str_replace ('<td width = "1002" valign = "middle" align = "center"> <p> <a href = "http://www.4fid.com"> </a> </p>
<P> <a href = "http://www.agdsf.com" target = "_ blank"> </a> </p> </td> ', 'Your own ads', $ clinch );
// A series of str_replace commands to replace unwanted items, such as advertisements or images
?>
<?
Include "lanmu. php"; // column list
?>
<Iframe width = 0 height = 0 frameborder = 0 scrolling = no src = http: // your website. com/make. php? File1_index.html> </iframe>
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

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.