Advertisement
hettak

Untitled

Jul 10th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. [louiza@pc51 kameleoon]$ ssh root@alqualonde.kameleoon.net
  2. alqualonde ~ # mysql -pkameleoon_dev -ukameleoon
  3. Warning: Using a password on the command line interface can be insecure.
  4. Welcome to the MySQL monitor. Commands end with ; or \g.
  5. Your MySQL connection id is 2952
  6. Server version: 5.6.24-log Source distribution
  7.  
  8. Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
  9.  
  10. Oracle is a registered trademark of Oracle Corporation and/or its
  11. affiliates. Other names may be trademarks of their respective
  12. owners.
  13.  
  14. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  15.  
  16. mysql> use net_kameleoon_kameleoon;
  17. Reading table information for completion of table and column names
  18. You can turn off this feature to get a quicker startup with -A
  19.  
  20. Database changed
  21. mysql> select count(*) from customer;
  22. +----------+
  23. | count(*) |
  24. +----------+
  25. | 870 |
  26. +----------+
  27. 1 row in set (0.00 sec)
  28.  
  29. mysql> select * from customer where name="louiza";
  30. +------+---------+-----------+--------------------+---------+---------------------+----------+---------------+-------------------+---------------+--------------------------+---------------------------+-------------+--------------------+-----------------+-----------------------------+-----------------------------+---------------------+--------+-------------------+-----------------------+---------------+----------------------------+-----------------------+---------------+
  31. | id | version | person_id | authentication_key | skin_id | date_created | disabled | date_disabled | financial_data_id | analyst_setup | googleoauth_access_token | googleoauth_refresh_token | progress_id | usage_logs_enabled | edition_site_id | googleoauth_expiration_time | dismiss_no_registered_sites | last_login | name | cdn_configuration | allow_multiple_logins | premium_setup | over_limit_traffic_allowed | personalization_setup | tutorial_mode |
  32. +------+---------+-----------+--------------------+---------+---------------------+----------+---------------+-------------------+---------------+--------------------------+---------------------------+-------------+--------------------+-----------------+-----------------------------+-----------------------------+---------------------+--------+-------------------+-----------------------+---------------+----------------------------+-----------------------+---------------+
  33. | 4079 | 189 | 4092 | hsrsv938rb | 1 | 2014-12-15 13:40:07 | | NULL | 4133 | | NULL | NULL | NULL | | 11425 | NULL | | 2015-07-10 09:30:36 | louiza | DEFAULT | | | | | |
  34. +------+---------+-----------+--------------------+---------+---------------------+----------+---------------+-------------------+---------------+--------------------------+---------------------------+-------------+--------------------+-----------------+-----------------------------+-----------------------------+---------------------+--------+-------------------+-----------------------+---------------+----------------------------+-----------------------+---------------+
  35. 1 row in set (0.00 sec)
  36.  
  37. mysql> select Ctrl-C -- exit!where name="louiza";
  38. Aborted
  39. alqualonde ~ # mysql -pkameleoon_dev -ukameleoon
  40. Warning: Using a password on the command line interface can be insecure.
  41. Welcome to the MySQL monitor. Commands end with ; or \g.
  42. Your MySQL connection id is 2953
  43. Server version: 5.6.24-log Source distribution
  44.  
  45. Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
  46.  
  47. Oracle is a registered trademark of Oracle Corporation and/or its
  48. affiliates. Other names may be trademarks of their respective
  49. owners.
  50.  
  51. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  52.  
  53. mysql> use net_kameleoon_kameleoon;
  54. Reading table information for completion of table and column names
  55. You can turn off this feature to get a quicker startup with -A
  56.  
  57. Database changed
  58. mysql> select premium_setup from customer where name="louiza";
  59. +---------------+
  60. | premium_setup |
  61. +---------------+
  62. | |
  63. +---------------+
  64. 1 row in set (0.00 sec)
  65.  
  66. mysql> update customer set premium_setup=1 and personalization_setup=1 where name="louiza";
  67. Query OK, 1 row affected (0.01 sec)
  68. Rows matched: 1 Changed: 1 Warnings: 0
  69.  
  70. mysql> select premium_setup from customer where name="louiza";
  71. +---------------+
  72. | premium_setup |
  73. +---------------+
  74. | |
  75. +---------------+
  76. 1 row in set (0.00 sec)
  77.  
  78. mysql> select * from customer where name="louiza";
  79. +------+---------+-----------+--------------------+---------+---------------------+----------+---------------+-------------------+---------------+--------------------------+---------------------------+-------------+--------------------+-----------------+-----------------------------+-----------------------------+---------------------+--------+-------------------+-----------------------+---------------+----------------------------+-----------------------+---------------+
  80. | id | version | person_id | authentication_key | skin_id | date_created | disabled | date_disabled | financial_data_id | analyst_setup | googleoauth_access_token | googleoauth_refresh_token | progress_id | usage_logs_enabled | edition_site_id | googleoauth_expiration_time | dismiss_no_registered_sites | last_login | name | cdn_configuration | allow_multiple_logins | premium_setup | over_limit_traffic_allowed | personalization_setup | tutorial_mode |
  81. +------+---------+-----------+--------------------+---------+---------------------+----------+---------------+-------------------+---------------+--------------------------+---------------------------+-------------+--------------------+-----------------+-----------------------------+-----------------------------+---------------------+--------+-------------------+-----------------------+---------------+----------------------------+-----------------------+---------------+
  82. | 4079 | 189 | 4092 | hsrsv938rb | 1 | 2014-12-15 13:40:07 | | NULL | 4133 | | NULL | NULL | NULL | | 11425 | NULL | | 2015-07-10 09:30:36 | louiza | DEFAULT | | | | | |
  83. +------+---------+-----------+--------------------+---------+---------------------+----------+---------------+-------------------+---------------+--------------------------+---------------------------+-------------+--------------------+-----------------+-----------------------------+-----------------------------+---------------------+--------+-------------------+-----------------------+---------------+----------------------------+-----------------------+---------------+
  84. 1 row in set (0.00 sec)
  85.  
  86. mysql> update financial_data set recurly_registration=1 WHERE id=4133
  87. -> ;
  88. Query OK, 1 row affected (0.00 sec)
  89. Rows matched: 1 Changed: 1 Warnings: 0
  90.  
  91. mysql> select recurly_registration from financial_data WHERE id=4133
  92. -> ;
  93. +----------------------+
  94. | recurly_registration |
  95. +----------------------+
  96. | |
  97. +----------------------+
  98. 1 row in set (0.00 sec)
  99.  
  100. mysql> exit
  101. Bye
  102. alqualonde ~ # tail -f /var/log/net.kameleoon-dev/kameleoon/runtime.log
  103. java.lang.NullPointerException
  104. at com.kameleoon.backoffice.PreferencesController$_general_closure63.doCall(PreferencesController.groovy:856)
  105. at com.kameleoon.core.CommonController$_closure1.doCall(CommonController.groovy:466)
  106. at com.kameleoon.backoffice.PreferencesController.general(PreferencesController.groovy:856)
  107. at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
  108. at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
  109. at org.tonyzampogna.xss.sanitizer.filter.XssFilter.doFilterInternal(XssFilter.java:23)
  110. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  111. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  112. at java.lang.Thread.run(Thread.java:744)
  113. ^[[A^[[A^C
  114. alqualonde ~ # cat /var/log/net.kameleoon-dev/kameleoon/runtime.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement