How I created a Python Bot to automatically log into a Captive Portal

278 阅读1分钟

How I created a Python Bot to automatically log into a Captive Portal

A step by step Python tutorial to build a login bot

Go to the profile of Ritvik Khanna
Ritvik KhannaBlockedUnblockFollowFollowing
Photo by rawpixel on Unsplash

Nowadays the Internet is not a privilege, it’s a necessity. Wherever we go, we require a constant connection to the Internet using either a Wi-Fi or mobile data based network.

Imagine we join a new university or an organisation, which provides us with Internet through Wi-Fi. The organisation might implement a very common login page for authentication of their users called a Captive Portal (also known as a Walled Garden).

A Captive Portal is used for a number of reasons.

  • They are used by universities and organisations to restrict the number of devices that are connected to the Wi-Fi network from one account/person.
  • They are implemented to provide access to services that require authentication, payment, or other valid credentials that both the service provider and user agree to adhere by.

There are a number of reasons and benefits to use a captive portal, but that’s not what this post is about.