created a wget version

This commit is contained in:
jackofnotrades 2019-02-07 16:13:18 -06:00
parent a08c43230b
commit 4231c4bb84

6
auth-wget.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
read -p "Username: " AUTH_USERNAME
stty -echo
read -p "Password: " AUTH_PASSWORD
stty echo
wget -qO- 'https://captiveportal.ialab.dsu.edu:6082/php/uid.php?vsys=1&rule=2' --post-data='inputStr=&escapeUser=&preauthid=&user='$AUTH_USERNAME'&passwd='$AUTH_PASSWORD'&ok=Login'