Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Web security

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Browse around for all files and directories that apache users can access

Lock the range that the php module can access (cage environment)

DocumentRoot / share/1310

ServerName 10.1.1.21

ErrorLog logs/10.1.1.21-error_log

CustomLog logs/10.1.1.21-access_log common

Options Indexes FollowSymLinks

AllowOverride All

Php_admin_value open_basedir "/ share/1310:/var/lib/php/session:/tmp"

Can execute system instructions

# vim / etc/php.ini

Disable_functions = exec,shell_exec,system,passthru,popen

You can delete files that can be deleted by apache users, typically you can delete files in the website directory

You can modify the site page

The valid identity of the httpd process is apache

Suppose the website directory / var/www/html/ root:root 755

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.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report