summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-12-24 06:33:34 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-12-24 06:33:34 +0530
commit94d6ac5906b71397bd618d342047aecf37427b19 (patch)
tree7d886a1512b13eaecfc195140b504328ce7b230c
parent6faa2b3ee536f7d9c67a872064f317284a63ceec (diff)
readme - minor changes
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 43777e5..b12f238 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
# Auto-Captive-Portal-Login
-A small python script which allows you to automatically login to a captive portal by Selenium using XPath values.
+A small python script which allows you to automatically login to a captive portal with Selenium using XPath values.
## Pre-Requisites:
[Selenium Webdriver](https://www.selenium.dev/documentation/webdriver/) for Python (install using `pip install selenium` or `pip install -r requirements.txt`)
-[GNU pass](https://www.passwordstore.org/) for storing wifi-credentials (One can store their credentials in the script as plaintext aswell)
+[GNU pass](https://www.passwordstore.org/) for storing login-credentials (One can store their credentials in the script as plaintext aswell)
geckodriver for Firefox in PATH (optional if not already included in selenium webdriver)
([Download link](https://github.com/mozilla/geckodriver/releases))
@@ -51,14 +51,14 @@ And execute it from anywhere as:
```
## Intentions:
-I originally wished to create a bashscript to log into my College wifi-portal just using the terminal.
+I originally wished to create a shellscript to log into my College wifi-portal just using the terminal.
I later set up [this makeshift script](https://github.com/justsaumit/.dotfiles/blob/main/.scripts/wifi-captive-login)
which just finds out the gateway IP and uses st's -e flag that allows st to open the captive-portal in a webbrowser on a new temporary terminal window.
-Issue was I still had to type in my wifi credentials _everytime_ :/
+Issue was I still had to type in my login credentials _everytime_ :/
With this it is the same except I get to automate it using [gnu pass](https://www.passwordstore.org/)
and that using XPath(XML Path) to find elements is really convenient.
## Future additions:
Update the script upon reaching college as the Xpath values would differ.
Make the python-script platform independent
-or just Make a separate pure bashscript to log in via CLI using curl.
+or just Make a separate shellscript to log in via CLI using curl.