I have tried using various method from Google search without success.
Before this page I am prompted with a page with some links(Continue or Always... ) to click.
Pls see portal outlook here:-
http://postimage.org/image/g6j050xs9/
http://postimage.org/image/547mlzmlt/
Portal source here:-
https://www.box.com/s/qehgwwxyb6ymnfa778rk
Edited
Hi Hamza,
Sorry for misunderstanding you. Pls see zip file in above link.
Solution provided by Hamza:-
Code: Select all
#!/bin/bash
# Replace with your firewall username
user="YOUR_USERNAME"
# Replace with your firewall password
pass="YOUR_PASSWORD"
# Replace only the x.x.x.x with the firewall web IP which is 192.168.127.254 in your screenshot.
url="http://x.x.x.x/users/authenticate"
cookies=/tmp/captive-cookie.txt
wget --keep-session-cookies --save-cookies $cookies -o /tmp/captive-login.log --post-data="username=$user&password=$pass" $url