Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. curl --ntlm --user user@domain.com:password --upload-file test.docx https://contoso.sharepoint.com/sites/mysite/leansite/TestDoc/test.docx -verbose
  2.  
  3. * Trying 104.146.208.34...
  4. * TCP_NODELAY set
  5. * Connected to contoso.sharepoint.com (104.146.208.34) port 443 (#0)
  6. * ALPN, offering h2
  7. * ALPN, offering http/1.1
  8. * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  9. * successfully set certificate verify locations:
  10. * CAfile: C:ContosoPALcurl-7.52.1-win32-mingwcurl-7.52.1-win32-mingwbincurl-ca-bundle.crt
  11. CApath: none
  12. * TLSv1.2 (OUT), TLS handshake, Client hello (1):
  13. * TLSv1.2 (IN), TLS handshake, Server hello (2):
  14. * TLSv1.2 (IN), TLS handshake, Certificate (11):
  15. * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
  16. * TLSv1.2 (IN), TLS handshake, Server finished (14):
  17. * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
  18. * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
  19. * TLSv1.2 (OUT), TLS handshake, Finished (20):
  20. * TLSv1.2 (IN), TLS handshake, Finished (20):
  21. * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-SHA384
  22. * ALPN, server did not agree to a protocol
  23. * Server certificate:
  24. * subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; OU=Microsoft Corporation; CN=*.sharepoint.com
  25. * start date: Feb 23 19:42:10 2016 GMT
  26. * expire date: Feb 22 19:42:10 2018 GMT
  27. * subjectAltName: host "contoso.sharepoint.com" matched cert's "*.sharepoint.com"
  28. * issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation; OU=Microsoft IT; CN=Microsoft IT SSL SHA2
  29. * SSL certificate verify ok.
  30. * Server auth using NTLM with user 'user@domain.com'
  31. > PUT /sites/Maynilad/leansite/TestDoc/test.docx HTTP/1.1
  32. > Host: contoso.sharepoint.com
  33. > Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAKADk4AAAADw==
  34. > User-Agent: curl/7.52.1
  35. > Accept: */*
  36. > Referer: rbose
  37. > Content-Length: 0
  38. >
  39. < HTTP/1.1 401 Unauthorized
  40. < Server: Microsoft-IIS/8.5
  41. < WWW-Authenticate: NTLM TlRMTVNTUAACAAAADAAMADgAAAAFgomihBuCtJg24sMAAAAAAAAAAPIA8gBEAAAABgOAJQAAAA9ZAEwATwAwADAAMQACAAwAWQBMAE8AMAAwADEAAQAeAFUAUwBSADEANQA3ADEANQA4ADEANQAtADIANgA0AAQALABZAEwATwAwADAAMQAuAE0AUwBPAFAAUgBEAC4ATQBTAEYAVAAuAE4ARQBUAAMATABVAFMAUgAxADUANwAxADUAOAAxADUALQAyADYANAAuAFkATABPADAAMAAxAC4ATQBTAE8AUABSAEQALgBNAFMARgBUAC4ATgBFAFQABQAsAFkATABPADAAMAAxAC4ATQBTAE8AUABSAEQALgBNAFMARgBUAC4ATgBFAFQABwAIAKGzFCrTcNIBAAAAAA==
  42. < SPRequestGuid: 32f2cb9d-d031-3000-bd41-8829cb9968bc
  43. < request-id: 32f2cb9d-d031-3000-bd41-8829cb9968bc
  44. < Strict-Transport-Security: max-age=31536000
  45. < X-FRAME-OPTIONS: SAMEORIGIN
  46. < SPRequestDuration: 4
  47. < SPIisLatency: 2
  48. < X-Powered-By: ASP.NET
  49. < MicrosoftSharePointTeamServices: 16.0.0.6105
  50. < X-Content-Type-Options: nosniff
  51. < X-MS-InvokeApp: 1; RequireReadOnly
  52. < P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
  53. < Date: Tue, 17 Jan 2017 15:05:38 GMT
  54. < Content-Length: 0
  55. <
  56. * Curl_http_done: called premature == 0
  57. * Connection #0 to host contoso.sharepoint.com left intact
  58. * Issue another request to this URL: 'https://contoso.sharepoint.com/sites/Maynilad/leansite/TestDoc/test.docx'
  59. * Found bundle for host contoso.sharepoint.com: 0x33d88c8 [can pipeline]
  60. * Re-using existing connection! (#0) with host contoso.sharepoint.com
  61. * Connected to contoso.sharepoint.com (104.146.208.34) port 443 (#0)
  62. * Server auth using NTLM with user 'user@domain.com'
  63. > PUT /sites/mysite/leansite/TestDoc/test.docx HTTP/1.1
  64. > Host: contoso.sharepoint.com
  65. > Authorization: NTLM TlRMTVNTUAADAAAAGAAYAJwAAAB6AXoBtAAAAAAAAABYAAAAMgAyAFgAAAASABIAigAAAAAAAAAuAgAABYKIogoAOTgAAAAPCXakIO68kku98ZzxgDsBa0wAZQBhAG4AQABjAGwAaQBuAGsAaQB0AHMAbwBsAHUAdABpAG8AbgBzAC4AYwBvAG0ATABFAEEATgAtAEQARQBMAEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPkUT7d53BAivjcEqnWQnMQEBAAAAAAAAobMUKtNw0gFseLkaGI+DNAAAAAACAAwAWQBMAE8AMAAwADEAAQAeAFUAUwBSADEANQA3ADEANQA4ADEANQAtADIANgA0AAQALABZAEwATwAwADAAMQAuAE0AUwBPAFAAUgBEAC4ATQBTAEYAVAAuAE4ARQBUAAMATABVAFMAUgAxADUANwAxADUAOAAxADUALQAyADYANAAuAFkATABPADAAMAAxAC4ATQBTAE8AUABSAEQALgBNAFMARgBUAC4ATgBFAFQABQAsAFkATABPADAAMAAxAC4ATQBTAE8AUABSAEQALgBNAFMARgBUAC4ATgBFAFQABwAIAKGzFCrTcNIBBgAEAAIAAAAIADAAMAAAAAAAAAAAAAAAADAAAK18CI9jD04glSs15ZOtvhr5xAix32o2pTP80JxFY/pyCgAQAAAAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAAAAAAAAAAA
  66. > User-Agent: curl/7.52.1
  67. > Accept: */*
  68. > Referer: rbose
  69. > Content-Length: 11272
  70. > Expect: 100-continue
  71. >
  72. < HTTP/1.1 401 Unauthorized
  73. < Server: Microsoft-IIS/8.5
  74. < SPRequestGuid: 32f2cb9d-5046-3000-bd41-8e88997aa3bc
  75. < request-id: 32f2cb9d-5046-3000-bd41-8e88997aa3bc
  76. < Strict-Transport-Security: max-age=31536000
  77. < X-FRAME-OPTIONS: SAMEORIGIN
  78. < SPRequestDuration: 7
  79. < SPIisLatency: 1
  80. * NTLM handshake rejected
  81. * Authentication problem. Ignoring this.
  82. < WWW-Authenticate: NTLM
  83. < X-Powered-By: ASP.NET
  84. < MicrosoftSharePointTeamServices: 16.0.0.6105
  85. < X-Content-Type-Options: nosniff
  86. < X-MS-InvokeApp: 1; RequireReadOnly
  87. < P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
  88. < Date: Tue, 17 Jan 2017 15:05:38 GMT
  89. < Content-Length: 0
  90. * HTTP error before end of send, stop sending
  91. <
  92. * Curl_http_done: called premature == 0
  93. * Closing connection 0
  94. * TLSv1.2 (OUT), TLS alert, Client hello (1):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement