Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set COOKIES=cookies.txt
- set USER=jts
- set PASSWORD=jts
- set HOST="https://jazz.server.com:9443/qm"
- curl -k -c %COOKIES% "%HOST%/authenticated/identity"
- curl -k -L -b %COOKIES% -c %COOKIES% -d j_username=%USER% -d j_password=%PASSWORD% "%HOST%/authenticated/j_security_check"
- # Netscape HTTP Cookie File
- # https://curl.haxx.se/docs/http-cookies.html
- # This file was generated by libcurl! Edit at your own risk.
- #HttpOnly_jazz.server.com FALSE / TRUE 0 LtpaToken2 0VkNWt7dIquUiEJJ4XlPqEgsIKW/PJD2x4ckihZTCC6Iofo+KGtXYUuWhwk8wLnQZCxA0SP9/lgkWte/sH3/3k1HFFbM7UX07pFbh/MxVBcGtzY9Yr2YC6T3jZClxVDOU2R6fQk1SAu8/6Mia9LgrBnqsvauldoChU0ZFEDhI/ogHbyUKsOhM8gZNx8kJrkUCj0NPOci07UjKgILCorDZoiw5uYAIyC07ZBS6CY3juxkwgkYXwRCbyhpZY6dEeQg+CE97OwFhQCO7KesrflVF6xGRmEiz7f5DDG7oscqM72HJ9SF4zSMgKBko38l60ba
- #HttpOnly_jazz.server.com FALSE / TRUE 0 JSESSIONID 0000bzfBh88AbZ6yGgn-IVAccGA:34261533-f9f3-43a1-a58d-95e3dfca7322
- #HttpOnly_jazz.server.com FALSE /qm/authenticated/ TRUE 0 X-com-ibm-team-foundation-auth-loop-avoidance false
- Method: GET<br>
- URI: https://jazz.server.com:9443/qm/authenticated/identity
- Status Code: 200 OK
- Cache-Control: no-cache="set-cookie, set-cookie2"
- Content-Encoding: gzip
- Content-Language: en-US
- Content-Length: 1028
- Content-Type: text/html; charset=UTF-8
- Date: Mon, 18 Sep 2017 17:33:06 GMT
- Expires: Thu, 01 Dec 1994 16:00:00 GMT
- Set-Cookie: JazzFormAuth=Form; Path=/qm; Secure
- X-Powered-By: Servlet/3.0
- X-com-ibm-team-repository-web-auth-msg: authrequired
- Method: POST<br>
- URI: https://jazz.server.com:9443/qm/authenticated/j_security_check?j_username=jts&j_password=jts
- Status Code: 400 Bad Request
- Connection: Close
- Content-Language: en-US
- Content-Length: 757
- Content-Type: text/html;UTF-8
- Date: Mon, 18 Sep 2017 18:35:02 GMT
- X-Powered-By: Servlet/3.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement