Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.82 KB | None | 0 0
  1. czesio@gd-debian:~$ curl -L -v -k -d "username=xxx&password=yyy" https://cloud.seafile.com/api2/auth-token/
  2. * Hostname was NOT found in DNS cache
  3. *   Trying 23.21.191.188...
  4. * Connected to cloud.seafile.com (23.21.191.188) port 443 (#0)
  5. * successfully set certificate verify locations:
  6. *   CAfile: none
  7.   CApath: /etc/ssl/certs
  8. * SSLv3, TLS handshake, Client hello (1):
  9. * SSLv3, TLS handshake, Server hello (2):
  10. * SSLv3, TLS handshake, CERT (11):
  11. * SSLv3, TLS handshake, Server key exchange (12):
  12. * SSLv3, TLS handshake, Server finished (14):
  13. * SSLv3, TLS handshake, Client key exchange (16):
  14. * SSLv3, TLS change cipher, Client hello (1):
  15. * SSLv3, TLS handshake, Finished (20):
  16. * SSLv3, TLS change cipher, Client hello (1):
  17. * SSLv3, TLS handshake, Finished (20):
  18. * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  19. * Server certificate:
  20. *        subject: CN=seafile.com
  21. *        start date: 2017-04-17 01:55:00 GMT
  22. *        expire date: 2017-07-16 01:55:00 GMT
  23. *        issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
  24. *        SSL certificate verify ok.
  25. > POST /api2/auth-token/ HTTP/1.1
  26. > User-Agent: curl/7.38.0
  27. > Host: cloud.seafile.com
  28. > Accept: */*
  29. > Content-Length: 34
  30. > Content-Type: application/x-www-form-urlencoded
  31. >
  32. * upload completely sent off: 34 out of 34 bytes
  33. < HTTP/1.1 301 Moved Permanently
  34. * Server nginx/1.1.19 is not blacklisted
  35. < Server: nginx/1.1.19
  36. < Date: Mon, 22 May 2017 14:54:14 GMT
  37. < Content-Type: text/html
  38. < Content-Length: 185
  39. < Connection: keep-alive
  40. < Location: https://www.seafile.com/api2/auth-token/
  41. < Strict-Transport-Security: max-age=15768000
  42. <
  43. * Ignoring the response-body
  44. * Connection #0 to host cloud.seafile.com left intact
  45. * Issue another request to this URL: 'https://www.seafile.com/api2/auth-token/'
  46. * Switch from POST to GET
  47. * Hostname was NOT found in DNS cache
  48. *   Trying 23.21.191.188...
  49. * Connected to www.seafile.com (23.21.191.188) port 443 (#1)
  50. * successfully set certificate verify locations:
  51. *   CAfile: none
  52.   CApath: /etc/ssl/certs
  53. * SSLv3, TLS handshake, Client hello (1):
  54. * SSLv3, TLS handshake, Server hello (2):
  55. * SSLv3, TLS handshake, CERT (11):
  56. * SSLv3, TLS handshake, Server key exchange (12):
  57. * SSLv3, TLS handshake, Server finished (14):
  58. * SSLv3, TLS handshake, Client key exchange (16):
  59. * SSLv3, TLS change cipher, Client hello (1):
  60. * SSLv3, TLS handshake, Finished (20):
  61. * SSLv3, TLS change cipher, Client hello (1):
  62. * SSLv3, TLS handshake, Finished (20):
  63. * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  64. * Server certificate:
  65. *        subject: CN=seafile.com
  66. *        start date: 2017-04-17 01:55:00 GMT
  67. *        expire date: 2017-07-16 01:55:00 GMT
  68. *        issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
  69. *        SSL certificate verify ok.
  70. > GET /api2/auth-token/ HTTP/1.1
  71. > User-Agent: curl/7.38.0
  72. > Host: www.seafile.com
  73. > Accept: */*
  74. >
  75. < HTTP/1.1 404 NOT FOUND
  76. * Server nginx/1.1.19 is not blacklisted
  77. < Server: nginx/1.1.19
  78. < Date: Mon, 22 May 2017 14:54:14 GMT
  79. < Content-Type: text/html; charset=utf-8
  80. < Transfer-Encoding: chunked
  81. < Connection: keep-alive
  82. < Vary: Accept-Language
  83. < Content-Language: zh-CN
  84. <
  85. <!DOCTYPE html>
  86. <html>
  87. <head>
  88. Page not found
  89. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  90. <meta name="keywords" content="文件 共享 同步 企业云盘 云盘" />
  91. <meta name="viewport" content="width=device-width, initial-scale=1">
  92.  
  93. <link rel="stylesheet" type="text/css" href="/media/css/bootstrap.min.css" />
  94. <link rel="stylesheet" type="text/css" href="/media/css/seasite.css?t=27" />
  95. <link rel="icon" type="image/png" href="/media/img/favicon.png?t=3" />
  96.  
  97. <script type="text/javascript" src="/media/js/ga.js"></script>
  98. </head>
  99.  
  100. <body>
  101. <div id="wrapper">
  102.     <div id="header">
  103.         <nav class="navbar navbar-default navbar-fixed-top">
  104.             <div class="container">
  105.                 <div class="navbar-header">
  106.                     <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1">
  107.                         <span class="sr-only">Toggle navigation</span>
  108.                         <span class="icon-bar"></span>
  109.                         <span class="icon-bar"></span>
  110.                         <span class="icon-bar"></span>
  111.                     </button>
  112.                     <a href="/home/" id="logo" class="navbar-brand"><img src="/media/img/seafile-logo.png" alt="seafile logo" width="128"/></a>
  113.                 </div>
  114.  
  115.                 <div class="collapse navbar-collapse" id="navbar-collapse-1">
  116.                     <ul class="nav navbar-nav navbar-right">
  117.                         <li>
  118.                             <a href="/features/">产品</a>
  119.                         </li>
  120.                         <li>
  121.                             <a href="/product/private_server/">购买</a>
  122.                         </li>
  123.                         <li>
  124.                             <a href="/download/">下载</a>
  125.                         </li>
  126.                         <li>
  127.                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">支持 <span class="caret"></span></a>
  128.                             <ul class="dropdown-menu" role="menu">
  129.                                 <li><a href="/help/">使用帮助</a></li>
  130.                                 <li><a href="http://manual-cn.seafile.com/">服务器手册</a></li>
  131.                             </ul>
  132.                         </li>
  133.                         <li>
  134.                             <a href="https://bbs.seafile.com">论坛</a>
  135.                         </li>
  136.                         <li>
  137.                             <a href="/about/">关于</a>
  138.                         </li>
  139.                         <li>
  140.                             <a href="https://blogs-cn.seafile.com">博客</a>
  141.                         </li>
  142.  
  143.  
  144.                         <li>
  145.                         <a href="#" class="lang" id="to-en"><img src="/media/img/en_flag.jpg" alt="English" /></a>
  146.                         </li>
  147.                     </ul>
  148.                 </div>
  149.             </div>
  150.         </nav>
  151.     </div>
  152.  
  153.     <div id="main">
  154.        
  155. <h1>Page not found</h1>
  156.  
  157. <p>Sorry, but the requested page could not be found.</p>
  158.  
  159.     </div>
  160.  
  161.     <div id="footer">
  162.         <div class="container">
  163.         <div class="row">
  164.             <div class="col-md-3 col-sm-3">
  165.                 <h4>社区</h4>
  166.                 <ul>
  167.                     <li><a href="/roadmap/">Roadmap</a></li>
  168.                     <li><a href="/filing_issues/">提交 Bug</a></li>
  169.                     <li><a href="/responsible_disclosure_policy/">安全问题报告</a></li>
  170.                 </ul>
  171.             </div>
  172.             <div class="col-md-2 col-sm-2">
  173.                 <h4>关于</h4>
  174.                 <ul>
  175.                     <li><a href="/about/">关于我们</a></li>
  176.                     <li><a href="/about/#about-team">团队信息</a></li>
  177.                     <li><a href="/about/#about-contact">联系方式</a></li>
  178.                 </ul>
  179.             </div>
  180.             <div class="col-md-4 col-sm-3">
  181.                 <h4>支持</h4>
  182.                 <ul>
  183.                     <li><a href="/help/">使用帮助</a></li>
  184.                     <li><a href="http://manual-cn.seafile.com/">服务器手册</a></li>
  185.                 </ul>
  186.             </div>
  187.             <div class="col-md-3 col-sm-4 copyright">
  188.                 <p>Copyright ©2017 海文互知.</p>
  189.                 <p>联系电话:400-819-0653.</p>
  190.                 <p>联系邮箱:seafile@vip.163.com</p>
  191.                 <p><a href="http://www.miibeian.gov.cn" class="beian" target="_blank">京ICP备12015883号-1</a></p>
  192.                 <a href="http://weibo.com/seafile" target="_blank"><img src="/media/img/weibo48.png" alt="新浪微博" title="新浪微博" width="20" /></a>
  193.                 <a href="https://github.com/haiwen/seafile" target="_blank"><img src="/media/img/github48.png" alt="github" title="github" width="20" style="margin-left:5px;" /></a>
  194.                 </p>
  195.             </div>
  196.         </div>
  197.         </div>
  198.     </div>
  199.  
  200. </div><!-- wrapper -->
  201. <script type="text/javascript" src="/media/js/jquery-1.11.2.min.js"></script>
  202. <script type="text/javascript" src="/media/js/bootstrap.min.js"></script>
  203. <script type="text/javascript">
  204. // when the page is 'short', make the footer on the bottom
  205. $(window).load(function() {
  206.     if ($(window).height() > $('#wrapper').height()) {
  207.         $('#main').height($(window).height() - $('#header').outerHeight(true) - $('#footer').outerHeight(true));
  208.     }
  209. });
  210.  
  211. // turn to corresponding en page.
  212. $('#to-en').attr('href', '/en' + location.pathname); // e.g. '/home/' --> '/en/home/'
  213.  
  214. $('#main').css({'margin-top': $('nav').outerHeight()});
  215. </script>
  216.  
  217. </body>
  218. </html>
  219. * Connection #1 to host www.seafile.com left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement