⭐️ & 🔱
- Purpose
- Method
- Installation
- Execution
- Licence
- Help
- Contribution
- The program checks a list of passwords for a given username at a website login page and finds if and which is accepted.
- The code follows the procedural paradigm & automated browsing via the Selenium WebDriver that sends & displays actions onto the Chrome web browser with appropriate delays.
- Download the installer.
- Run & follow the steps of the installer.
- This is the used programming language.
- Download the compressed
chromedriverinstaller corresponding to your Chrome version & OS version. - The used Chrome version is on the 1st output line when requesting
chrome://versionin Chrome's search bar. - The filename to download is
chromedriver_win32.zipfor Windows &chromedriver_mac64.zipfor Mac. - Unzip the compressed installer.
- Run & follow the steps of the installer.
- This is the automatic driver for Chrome.
- Install with
pip install seleniumfrom the terminal. - These are the Python bindings to the
Selenium Webdriver.
- Download the installer.
- Run & follow the steps of the installer.
- This is the web browser Chrome.
- Download the Python source.
- Download the sample password list text file.
- Set the value of
DRIVER_PATHon line 20 to the path of the chromedriver executable on your operating system (OS), e.g.DRIVER_PATH = 'D:/utils/net/chromedriver'orDRIVER_PATH = '/users/username/utils/net/chromedriver'. - Set the value of
WEBSITEon line 72 to the URL of the website to be checked. - Set the value of
USERNAME_SELECTORon line 74 to the username field CSS selector. This can be found by right clicking on the username input field and then right clicking on the highlighted line under the Elements tab and selecting Copy > Copy selector from the drop-down menu. - Set the value of
PASSWORD_SELECTORon line 76 to the password field CSS selector. This can be found similarly to the username selector. - Set the value of
LOGIN_BUTTON_SELECTORon line 78 to the login button CSS selector. This can be found similarly to the username selector. - If any of the previous 4 is left blank the user is asked for a value in the terminal.
- Replace the 3 passwords in the
password_list.txtwith the passwords to be checked, 1 per line. - These are the source code and the input file of the program.
- Run
WebLoginCheckerwithpython WebLoginChecker.pyfrom the terminal. - Just
WebLoginChecker.pyor double clicking may also work.
- The program loads Chrome.
- If any of the required details, that is, website, username CSS selector, password CSS selector, login button CSS selector, or password list filename, is missing it is asked from the user in the terminal.
- The program visits the provided website on Chrome.
- It prints a message in the terminal informing whether the website is accessible.
- If the website is not accessible it exits.
- If the provided username CSS selector is found it enters the username into the corresponding entry box of the webpage. Else it exits.
- If the password list has remaining passwords it reads the next one. Else it exits.
- If the provided password CSS selector is found it enters the next password into the corresponding entry box of the webpage. Else it exits.
- If the provided login button CSS selector is found it presses the login button. Else it exits.
- It prints the number, username, password, and result of each attempt in the terminal.
- If the password is found or the website does not allow further attempts it prints a message in the terminal, waits for 1 min for the user to check what happened, and exits. Else it returns to step 6.
WebLoginChecker 2020 - by @lxndroc-@aoctut
------------------------------------------
[The url was replaced below to keep it safer]
[v] Website https://[url].com/ is accessible!
[The following 2 lines can be ignored]
DevTools listening on ws://127.0.0.1:53693/devtools/browser/f92c5a82-ff80-437e-9b62-24c138900cef
[32084:33248:0602/093816.431:ERROR:device_event_log_impl.cc(208)] [09:38:16.431] Bluetooth: bluetooth_adapter_winrt.cc:1060 Getting Default Adapter failed.
------------------------------------------
[!] 1. User: test
Password: wEb_pAs1!
[x] Login unsuccessful!
------------------------------------------
[!] 2. User: test
Password: &p@sS#2.1
[x] Login unsuccessful!
------------------------------------------
[!] 3. User: test
Password: p@sswOrd%3
[x] Login unsuccessful!
------------------------------------------
[!] Exiting
WebLoginChecker is released with the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) licence.
To ask for help with running the bot, you can contact us on Instagram.
- To offer us suggestions or financial support to improve the bot, you can contact us on Instagram.
- To contribute to this project, you can fork this repository, make improvements, and submit them via a pull request.