Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
coditva committed Feb 4, 2017
1 parent 436091c commit 56fba6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bitsnet
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 56fba6b

Please sign in to comment.