From 56fba6bf38dddfadc30940dcb82a10805d4a8fd5 Mon Sep 17 00:00:00 2001 From: UTkarsh Date: Sat, 4 Feb 2017 19:47:32 +0530 Subject: [PATCH] Minor changes --- bitsnet | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitsnet b/bitsnet index 2a6190a..25787ca 100755 --- a/bitsnet +++ b/bitsnet @@ -80,7 +80,8 @@ debug_msg "Using url: $login_url" debug_msg "" debug_msg "Logging in" if [[ "$dev" == "2" ]]; then - wget --post-data="username=$username&password=$password&loginAccept=1&buttonClicked=4&err_flag=0&info_flag=0&Submit=Submit&err_msg=&info_msg=&redirect_url=" https://20.20.2.11/login.html --no-check-certificate --quiet + debug_msg "Connected to wifi. Sending request to cisco router form" + wget --post-data="username=$username&password=$password&loginAccept=1&buttonClicked=4&err_flag=0&info_flag=0&Submit=Submit&err_msg=&info_msg=&redirect_url=" https://20.20.2.11/login.html --no-check-certificate --quiet -O /dev/null fi reply=$(curl -ks -d "mode=191&username=$username&password=$password" $login_url)