In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to hide your Webshell gracefully. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Make a kill-free webshell
The most important thing to hide webshell is to avoid killing, you can put webshell in the library file or in the picture horse, there are too many places to put, as long as the killing tool can not find, your webshell can survive for a long time, after all, the administrator does not have so much energy to check each code.
The method of command execution
Here we use our most commonly used php sentence horse to demonstrate. PHP version is 5.6. before writing a sentence horse, let's analyze the method of executing commands in PHP.
1. Direct execution
Use the php function to run the command directly, the common functions are (eval, system, assert), etc., you can directly call the command execution.
@ eval ('echo this is the output;')
2. Dynamic function execution
We first pass a function name to a variable as a string, and then execute it as a function.
$a = "phpinfo"; $a ()
3. The file contains the execution
There are two php files. We put the execution of the command in file b and use file a to include it to achieve the effect of execution.
B.php
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.