From a08c43230b274d7545313e9b8c367516a6b799f7 Mon Sep 17 00:00:00 2001 From: jackofnotrades Date: Thu, 7 Feb 2019 16:02:33 -0600 Subject: [PATCH] moved auth to a more specific name --- auth-curl.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 auth-curl.sh 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'