Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Security Basics: RE: Table enumeration in mysql injection

RE: Table enumeration in mysql injection

From: Matt Gibson <MattG_at_blueedgetech.ca>
Date: Fri, 4 Mar 2005 10:11:44 -0800

Unless I'm missing something, the only bit in that article to do with finding a table name involves looking through the html/javascript code. I'm looking for a method for finding the name within mysql itself. I realize commands like "show table" exist, but they do not seem to work within the format of the injection.

-Matt

-----Original Message-----
From: Mert Eren ÜSTÜNKAYA [mailto:mustunkaya_at_cepdunyasi.com]
Sent: March 4, 2005 12:38 AM
To: Matt Gibson
Cc: security-basics_at_securityfocus.com
Subject: Re: Table enumeration in mysql injection

A nice and easy document on how to get table names and injection process ...

http://www.tgs-security.com/tutorials/advsqlinj.txt

----- Original Message -----
From: "Matt Gibson" <MattG_at_blueedgetech.ca>
To: <security-basics_at_securityfocus.com>
Sent: Thursday, March 03, 2005 9:40 AM
Subject: Table enumeration in mysql injection

Hi everyone!

Working on some SQL injection to hone my skills, but I'm coming up
against a problem early on. I'm working on a mysql database, and it
seems I can directly inject into the url. However, since I don't know
the name of the table I'm on, I don't seem to be able to extract any
information from it. How does one go about determining the current
table, or even a list of all tables in the database?

Thanks!

-Matt
Received on Mar 04 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]