Skip to content

Instantly share code, notes, and snippets.

@sebastianwagner
Last active August 29, 2015 13:57
Show Gist options
  • Save sebastianwagner/9672762 to your computer and use it in GitHub Desktop.
Save sebastianwagner/9672762 to your computer and use it in GitHub Desktop.
#!/bin/sh
# splash.sh
HOST=$(/sbin/ip route | awk '/default/ { print $3 }')
#echo \
curl \
-d target_url=stern.de_2F \
-d password=Hotspot \
-d username=Freifunk \
"$HOST"/cgi-bin/splash_click.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment