Skip to content

Instantly share code, notes, and snippets.

@gjask
Created January 27, 2019 11:07
Show Gist options
  • Save gjask/6b2a2156ca6250b68af394a57610aca6 to your computer and use it in GitHub Desktop.
Save gjask/6b2a2156ca6250b68af394a57610aca6 to your computer and use it in GitHub Desktop.
DevConfCZ WiFi login script
#!/bin/bash
USER='devconfcz'
PASSWORD='Brno2019'
curl https://147.229.254.98/login.php \
-H 'Host: wifigw.cis.vutbr.cz' \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data "user=${USER}&auth=any&password=${PASSWORD}" \
--compressed -k -o /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment