Table of Contents

Hacking - SQL Injection - MySQL - Obtain Database Structure

Getting User defined Tables

SELECT TABLE_NAME FROM information_schema.tables WHERE table_schema = 'databasename'

Getting Column Names

SELECT TABLE_NAME, column_name FROM information_schema.columns WHERE TABLE_NAME = 'tablename'