cap-port-auth/auth-curl.sh

7 lines
268 B
Bash
Raw Normal View History

2019-02-07 14:02:33 -08:00
#!/bin/sh
read -p "Username: " AUTH_USERNAME
stty -echo
read -p "Password: " AUTH_PASSWORD
stty echo
curl 'https://captiveportal.ialab.dsu.edu:6082/php/uid.php?vsys=1&rule=2' -d 'inputStr=&escapeUser=&preauthid=&user='$AUTH_USERNAME'&passwd='$AUTH_PASSWORD'&ok=Login'