moved auth to a more specific name
This commit is contained in:
parent
bd6a578cb6
commit
a08c43230b
1 changed files with 6 additions and 0 deletions
6
auth-curl.sh
Executable file
6
auth-curl.sh
Executable file
|
@ -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'
|
Loading…
Reference in a new issue