Home Backend Development PHP Tutorial Follow me and learn the thief program to successfully steal the home page (Day 3)_PHP Tutorial

Follow me and learn the thief program to successfully steal the home page (Day 3)_PHP Tutorial

Jul 21, 2016 pm 04:09 PM
ht different host analyze success us of program need front page


Today we teach how to steal the homepage. Different homepages require different stealing methods, mainly analyzing the HTML code. The functions and methods were introduced very clearly in the previous two days. Today we will explain and use them in practice.

Let’s start with Huajun Software Park.
Open the homepage of Huajun Software Park
http://www.onlinedown.net/index.htm
Use Dreamweaver to create a new page of index.php.
Note:
First make the homepage template you want, and then start to steal the homepage. Taking into account the tutorial for beginners, so first put the template and PHP processing code on the same webpage.
I will teach you HTML and PHP later. separation.

After the template is created, we start stealing.
Insert PHP code above
, as follows:
require ' ./commom.php';
update("index.htm");
$file=readfromfile("cache/index.htm");

?>
Explanation
require './commom.php'//Introduce the commom.php file
update("index.htm")//Read and write the index.htm web page
$file=readfromfile("cache/index .htm")//Read index.htm from the local folder cache
The $file here is a variable, you can name it whatever you want. You can also call it $html
but it needs to be used later. Unification.

The above code does not process anything, nor does it output anything. If $file is output, then it is all the html code of index.htm.
Let’s start with index.htm Get what we want.

1 Get the code for foreign software update.
You can name a variable $gwrj //You can choose the name of the foreign software as you like
How to get it from this index. How about htm taking out this foreign software we want? Here we take out the cut function we talked about in the previous section
$gwrj = cut($file,"");
Explanation
$xxx = cut($file,"$first","$end");
How does it work? Just cut $file (index.htm) Cut the lower part from $first, and take the upper part from $end.
For example:
$file = "111222333444";
$xxx = cut($file," 1","3");//The result is 11222. This explanation should be clear, right?
Note:
""
在" "If there is content within", you need to add
example
""
to become
""
The following code successfully steals foreign software:
require './commom.php';
update(" index.htm");
$file=readfromfile("cache/index.htm");
$gwrj = cut($file," ","");
?>
Then in your html template, insert the code where it needs to be displayed


The same goes for other thefts.
Note:
The HTML taken here needs to be replaced with its own code. It can be replaced altogether or one by one.
We talk about changing the code individually. :
$gwrj = cut($file,"","");
$gwrj = str_replace("soft/ ","soft.php?id=",$gwrj);
$gwrj = str_replace(".htm","",$gwrj);
Explanation:
It is a stolen foreign software Code replacement in.
The original

has become the current


Basically, it should be very detailed for a newbie. First make the homepage template, and then dig out what you want one by one.
Think A question.
In index.htm, there is a lot of classified information, which is displayed by calling JS. How do you take it and display it on your homepage?
I hope everyone can steal it smoothly.
Let’s briefly talk about stealing categories. It’s the same as stealing the homepage. The code is as follows:
require './commom.php';

if($soft){
                                                                                                                            update("${soft}.htm","soft"); >soft.php
Where $soft is soft.php?id=1234 passed from before ;
That’s it for today, I’ll teach you templates tomorrow.




http://www.bkjia.com/PHPjc/314495.html

www.bkjia.com

true

TechArticleToday we teach how to steal the homepage. Different homepages require different stealing methods, mainly analyzing HTML code. Functions And the method was introduced very clearly two days ago. Today we explain and use it in practice...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to make Google Maps the default map in iPhone How to make Google Maps the default map in iPhone Apr 17, 2024 pm 07:34 PM

The default map on the iPhone is Maps, Apple's proprietary geolocation provider. Although the map is getting better, it doesn't work well outside the United States. It has nothing to offer compared to Google Maps. In this article, we discuss the feasible steps to use Google Maps to become the default map on your iPhone. How to Make Google Maps the Default Map in iPhone Setting Google Maps as the default map app on your phone is easier than you think. Follow the steps below – Prerequisite steps – You must have Gmail installed on your phone. Step 1 – Open the AppStore. Step 2 – Search for “Gmail”. Step 3 – Click next to Gmail app

How to set up the keyboard boot function on a GIGABYTE motherboard (enable keyboard boot mode on GIGABYTE motherboard) How to set up the keyboard boot function on a GIGABYTE motherboard (enable keyboard boot mode on GIGABYTE motherboard) Dec 31, 2023 pm 05:15 PM

How to set up keyboard startup on Gigabyte's motherboard. First, if it needs to support keyboard startup, it must be a PS2 keyboard! ! The setting steps are as follows: Step 1: Press Del or F2 to enter the BIOS after booting, and go to the Advanced (Advanced) mode of the BIOS. Ordinary motherboards enter the EZ (Easy) mode of the motherboard by default. You need to press F7 to switch to the Advanced mode. ROG series motherboards enter the BIOS by default. Advanced mode (we use Simplified Chinese to demonstrate) Step 2: Select to - [Advanced] - [Advanced Power Management (APM)] Step 3: Find the option [Wake up by PS2 keyboard] Step 4: This option The default is Disabled. After pulling down, you can see three different setting options, namely press [space bar] to turn on the computer, press group

Clock app missing in iPhone: How to fix it Clock app missing in iPhone: How to fix it May 03, 2024 pm 09:19 PM

Is the clock app missing from your phone? The date and time will still appear on your iPhone's status bar. However, without the Clock app, you won’t be able to use world clock, stopwatch, alarm clock, and many other features. Therefore, fixing missing clock app should be at the top of your to-do list. These solutions can help you resolve this issue. Fix 1 – Place the Clock App If you mistakenly removed the Clock app from your home screen, you can put the Clock app back in its place. Step 1 – Unlock your iPhone and start swiping to the left until you reach the App Library page. Step 2 – Next, search for “clock” in the search box. Step 3 – When you see “Clock” below in the search results, press and hold it and

The first choice for CS players: recommended computer configuration The first choice for CS players: recommended computer configuration Jan 02, 2024 pm 04:26 PM

1. Processor When choosing a computer configuration, the processor is one of the most important components. For playing games like CS, the performance of the processor directly affects the smoothness and response speed of the game. It is recommended to choose Intel Core i5 or i7 series processors because they have powerful multi-core processing capabilities and high frequencies, and can easily cope with the high requirements of CS. 2. Graphics card Graphics card is one of the important factors in game performance. For shooting games such as CS, the performance of the graphics card directly affects the clarity and smoothness of the game screen. It is recommended to choose NVIDIA GeForce GTX series or AMD Radeon RX series graphics cards. They have excellent graphics processing capabilities and high frame rate output, and can provide a better gaming experience. 3. Memory power

Can't allow access to camera and microphone in iPhone Can't allow access to camera and microphone in iPhone Apr 23, 2024 am 11:13 AM

Are you getting "Unable to allow access to camera and microphone" when trying to use the app? Typically, you grant camera and microphone permissions to specific people on a need-to-provide basis. However, if you deny permission, the camera and microphone will not work and will display this error message instead. Solving this problem is very basic and you can do it in a minute or two. Fix 1 – Provide Camera, Microphone Permissions You can provide the necessary camera and microphone permissions directly in settings. Step 1 – Go to the Settings tab. Step 2 – Open the Privacy & Security panel. Step 3 – Turn on the “Camera” permission there. Step 4 – Inside, you will find a list of apps that have requested permission for your phone’s camera. Step 5 – Open the “Camera” of the specified app

How to set up Google Chrome homepage How to set up Google Chrome homepage Mar 02, 2024 pm 04:04 PM

How to set up Google Chrome homepage? Google Chrome is the most popular web browser software today. This browser has simple and efficient features that users like. When using browsers, different people have different settings preferences. Some people like to use Google Chrome. The browser is set as the default homepage, and some people like to set the homepage as other search engines, so where should it be set? Next, the editor will bring you a quick method to set up the homepage of Google Chrome. I hope it can be helpful to you. How to quickly set the Google Chrome homepage 1. Open Google Chrome (as shown in the picture). 2. Click the menu button in the upper right corner of the interface (as shown in the picture). 3. Select the "Settings" option (as shown in the picture). 4. In the settings menu, find "Search Engine" (such as

Digital audio output interface on the motherboard-SPDIF OUT Digital audio output interface on the motherboard-SPDIF OUT Jan 14, 2024 pm 04:42 PM

SPDIFOUT connection line sequence on the motherboard. Recently, I encountered a problem regarding the wiring sequence of the wires. I checked online. Some information says that 1, 2, and 4 correspond to out, +5V, and ground; while other information says that 1, 2, and 4 correspond to out, ground, and +5V. The best way is to check your motherboard manual. If you can't find the manual, you can use a multimeter to measure it. Find the ground first, then you can determine the order of the rest of the wiring. How to connect motherboard VDG wiring When connecting the VDG wiring of the motherboard, you need to plug one end of the VGA cable into the VGA interface of the monitor and the other end into the VGA interface of the computer's graphics card. Please be careful not to plug it into the motherboard's VGA port. Once connected, you can

Glodon Software's computer configuration recommendations; Glodon Software's computer configuration requirements Glodon Software's computer configuration recommendations; Glodon Software's computer configuration requirements Jan 01, 2024 pm 12:52 PM

Glodon Software is a software company focusing on the field of building informatization. Its products are widely used in all aspects of architectural design, construction, and operation. Due to the complex functions and large data volume of Glodon software, it requires high computer configuration. This article will elaborate on the computer configuration recommendations of Glodon Software from many aspects to help readers choose a suitable computer configuration processor. Glodon Software requires a large amount of data calculation and processing when performing architectural design, simulation and other operations. Therefore, the requirements for the processor are higher. It is recommended to choose a multi-core, high-frequency processor, such as Intel i7 series or AMD Ryzen series. These processors have strong computing power and multi-thread processing capabilities, and can better meet the needs of Glodon software. Memory Memory is affecting computing

See all articles