Skip to content

A small python script to automatically login to the captive portal in the NITK's intranet.

Notifications You must be signed in to change notification settings

samvid25/Captive-Portal-Auto-Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Captive-Portal-Auto-Login

A small python script to automatically login to the captive portal in the NITK's intranet.

Pre-Requisites:

Selenium library for Python (install using $ pip install selenium)
geckodriver for Firefox and added to PATH (Download link) (support for Chrome coming soon)

Usage:

 $ git clone https://github.com/samvid25/Captive-Portal-Auto-Login.git
 $ cd Captive-Portal-Auto-Login/
 $ gedit login.py

Replace "staff" with your username and password. Save and exit.

 $ gedit login

Replace /path/to/login.py with the path to login.py in your PC. Save and exit.

Make the 'login' shell script executable:

 $ chmod +x login

Now whenever you want to log-on, use ./login.
If you want to add the script to your PATH:

 $ sudo cp login /usr/local/bin

And execute it from anywhere as:

 $ login

Updated March 2018

About

A small python script to automatically login to the captive portal in the NITK's intranet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published