$ wget http://www.example.com 302 Found Location: https://login.wlan.eircom.net/sd/init?scheme=http&host=www.example.com&path=%2f [following] --2015-05-06 08:33:07-- https://login.wlan.eircom.net/sd/init?scheme=http&host=www.hs.fi&path=%2f
etc. Now we have the login page source code to see what goes, on, specifically, this:
<form id="tscstemp" action="/sd/login" method="post"> <input type="hidden" name="username" value="guest@scstemp"/> <input type="hidden" name="password" value="trialpass"/> <a onclick="$('#tscstemp').submit()" class="btn test"> <img src="img/phone/continue.png"/> </a> </form>
At this point, it’s easy to formulate what to do, I just used wget to formulate the necessary GET call like so:
$ wget 'https://login.wlan.eircom.net/sd/login?username=guest@scstemp&password=trialpass'
presto. Did not need further doings, mission accomplished.