views:

51

answers:

1
+1  Q: 

logins with cURL

I'm looking to use cURL to login to Blackboard, a course management system used a many universities. (For example, http://blackboard.unh.edu)

How would I do this? Blackboard uses HTTPS certificates and cookies too I believe. Thanks!

+2  A: 

Do a view source of "https://blackboard.unh.edu/webapps/portal/frameset.jsp" and figure out what form fields are login and password.

Then use curl's --data option to POST that data. If compiled w/ SSL, curl will handle https as easily as it handles http.

A truly ugly (but easy) option: install paros proxy and set your web browser to use it. Then you can see unencrypted the traffic that you're sending to the site.

barrycarter