Created
January 27, 2019 11:07
-
-
Save gjask/6b2a2156ca6250b68af394a57610aca6 to your computer and use it in GitHub Desktop.
DevConfCZ WiFi login script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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