Skip to content

Instantly share code, notes, and snippets.

@robert-jm
robert-jm / weblogin.sh
Created October 24, 2012 00:28
Penn WebLogin automation
#!/bin/sh
# weblogin.sh [-k] url
# k=keep, use in scripts to avoid re-logging in each time
# Make sure to delete the cookiejar!! it allows people to impersonate you
# Unless you use the -k option, it will be deleted after the script runs
# Take the usual precautions if you have the pennkey/password in this file.
# (i.e., chmod 700 weblogin.sh)