adding in some password/username hiding
This commit is contained in:
parent
7041ca4c81
commit
d67efcea2d
2 changed files with 11 additions and 1 deletions
6
auth.sh
Normal file → Executable file
6
auth.sh
Normal file → Executable file
|
@ -1,2 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
curl 'https://captiveportal.ialab.dsu.edu:6082/php/uid.php?vsys=1&rule=2' -d 'inputStr=&escapeUser=&preauthid=&user=USERNAME&passwd=PASSWORD&ok=Login'
|
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'
|
||||||
|
|
6
try2.sh
Executable file
6
try2.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=USERNAME&passwd=PASSWORD&ok=Login'
|
Loading…
Reference in a new issue