nocatlogin - A login script for NoCat


NoCatAuth is a web-based authentication tool for (semi-)public networks like WLANs.
Since September 2003, NoCat is in use for the Welcome WLAN of the
University of Ulm.

I have been looking for an alternative to the web login for NoCat, but found none... so I wrote a little perl script which does the appropriate HTTP GETs and POSTs. The script requires libwww-perl, openssl, and Crypt::SSLeay to be installed.

Download

Trackback-URL für diesen Artikel:

http://stefan.ploing.de/trackback/6

update

USER=bernd
PASSWORD=bernd

CAPO_URL="https://welcome.uni-ulm.de/capo/"

case "$1" in
--login)
#wget "$CAPO_URL " -O/dev/null
wget -q --post-data "username=$USER&password=$PASSWORD&login=Login" "$CAPO_URL" -O/dev/null
;;

--logout)
wget -q --post-data "logout=Logout" "$CAPO_URL" -O/dev/null
;;

esac

Vielen Dank!

Dankeschön für das Update - die Uni Ulm liegt bei mir inzwischen doch in ziemlich weiter Ferne, und NoCat habe ich sonst nirgendwo mehr im Einsatz erlebt.