Automate login to Cisco and Aruba controller based Guest WLAN

Tired of logging manually to Cisco or Aruba controller based guest wlans with captive portal?

Cisco: 
curl -vk --data "buttonClicked=4&redirect_url=www.google.com%2F&err_flag=0&username=guest&password=nomoresecrets" https://login.company.net/login.html

Aruba: 
curl -vk --data "user=guest&password=nomoresecrets&cmd=authenticate&Login=Log+In" https://securelogin.arubanetworks.com/cgi-bin/login

Comments