diff --git a/auth-curl.sh b/auth-curl.sh new file mode 100755 index 0000000..eea178b --- /dev/null +++ b/auth-curl.sh @@ -0,0 +1,6 @@ +#!/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'