I am trying to login to a CAS server using cURL. Here is where I am so far.
I grabbed the authentication page and replaced POST with GET to see what my fields are.
file:///cas/login;jsessionid=89C2DA1B80B0C4E812F2D09CC01C05DB?username=&password=<=LT-2960-zIS6pxYZHdsBX7IkykfbW14oLJhdNL&execution=e1s1&_eventId=submit&submit=LOGIN
so I run
curl -k --cookie-jar dump --data "jsessionid=89C2DA1B80B0C4E812F2D09CC01C05DB?username=&password=<=LT-2960-zIS6pxYZHdsBX7IkykfbW14oLJhdNL&execution=e1s1&_eventId=submit&submit=LOGIN" https://CASHOST/cas/login > output
(filling out the username, password, and CASHOST obviously)
But my output is blank. If I remove the jsessionid field its also blank.
Something that is worrying me is the jsessionid field because its constantly changing.
Any ideas?