Advertisement
3xp1r3mind

8th

Aug 24th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. CHTO TO DO IF SOMETHING FILTERS
  2. let us recall that the SQL type of design / ** / is equal
  3. to the gap
  4. There is an interesting function CHAR () which returns
  5. the code symbol itself simvol.Predpolozhim filtered
  6. character ... Well, let him be an asterisk (*). First, we
  7. need to know the code for this symbol. In MYSQL is a
  8. function ASCII () returns the leftmost character of the
  9. string passed to it so yuzaem
  10. SELECT ASCII ('*');
  11. only on a vulnerable host, do not make sense (The
  12. symbol '*' filtered) it must be done on the LAN. We
  13. learn that the code is 42 and yuzaem function CHAR ()
  14. so
  15. SELECT CHAR (42, 42, 42);
  16. Outputs three zvezdochki.Esche one way is to use a
  17. 16-hexadecimal character code. Now suppose that the
  18. filtered light bay 'login'. In MYSQL is a function of HEX
  19. () which issues a 16-hexadecimal code line. Yuzaetsya
  20. so
  21. SELECT HEX ( 'login');
  22. Will produce '6 C6F67696E 'ahead appends "0x" (To
  23. SQL realized he was dealing with a 16-hexadecimal
  24. encoding) and obtain '0 x6C6F67696E' is juzat without
  25. CHAR () so
  26. SELECT 0x6C6F67696E FROM User;
  27. either the CHAR () so
  28. SELECT CHAR (0x6C, 0x6F, 0x67, 0x69, 0x6E) FROM
  29. User;
  30. our lesson today was short...
  31. wait the final lesson ^_____*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement