From 4231c4bb84c54f216a1eb5e75b89d4b8ea6bb9dc Mon Sep 17 00:00:00 2001 From: jackofnotrades Date: Thu, 7 Feb 2019 16:13:18 -0600 Subject: [PATCH] created a wget version --- auth-wget.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 auth-wget.sh diff --git a/auth-wget.sh b/auth-wget.sh new file mode 100644 index 0000000..a2827b1 --- /dev/null +++ b/auth-wget.sh @@ -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'