Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. security@BB:~$ mysql -u root -psecret
  2. Welcome to the MySQL monitor. Commands end with ; or \g.
  3. Your MySQL connection id is 45
  4. Server version: 5.5.38-0ubuntu0.12.04.1 (Ubuntu)
  5.  
  6. Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  7.  
  8. Oracle is a registered trademark of Oracle Corporation and/or its
  9. affiliates. Other names may be trademarks of their respective
  10. owners.
  11.  
  12. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  13.  
  14. mysql> create database evilDB
  15. -> ;
  16. Query OK, 1 row affected (0.00 sec)
  17.  
  18. mysql> use evilDB;
  19. Database changed
  20. mysql> create table cookies (cookie text);
  21. Query OK, 0 rows affected (0.13 sec)
  22.  
  23. mysql> select * from cookies;
  24. Empty set (0.01 sec)
  25.  
  26. mysql> select * from cookies;
  27. +--------+
  28. | cookie |
  29. +--------+
  30. | 12345 |
  31. +--------+
  32. 1 row in set (0.00 sec)
  33.  
  34. mysql> select * from cookies;
  35. +--------+
  36. | cookie |
  37. +--------+
  38. | 12345 |
  39. | 123456 |
  40. +--------+
  41. 2 rows in set (0.00 sec)
  42.  
  43. mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement