Git Product home page Git Product logo

iitp-wifi-sign-in's Introduction

A very simple script to sign-in to the IIT Patna WiFi.

The script takes around ~0.7s if already signed-in and around ~5s if not signed-in.

Caution: The file contains your password in plain text.

Run

python3 sign-in.py

ProTip: If you use zsh or some other shell which support aliases then you can put alias go='python3 ~/sign-in.py' or something similar in your ~/.zshrc file and just run go in your terminal when you want to sign-in.

Requirements

  1. Python3

  2. Selenium (Python Library)

  3. wireless (Python Library)

  4. requests (Python Library)

  5. Chromedriver for Chrome or Geckodriver for Firefox

Install Selenium

pip3 install selenium

Install wireless

pip3 install wireless

Install requests

pip3 install requests

Install Chromedriver using brew

Run brew info chromedriver and follow steps that it shows or download the chromedriver from here and place it in /usr/local/bin/ directory.

If you are using Windows then the method to install chromedriver might be different, just google it or something.

If you use Firefox or some other browser then google for it specifically.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.