🔒 A login cracker for any login page
Checkou the new beta
branch
- Originally made for
python2
but now just works usingpython3
. - Originally it was made for router's login pages but it works fine in any login page site, even on internet.
- Your laptop/computer must be connected to the Wi-Fi network whose router or site login page will be pentested.
- A laptop/computer that has
Python 3.x
installed.
- Windows
- MacOS
- Linux/Unix (Well.. python comes preinstalled on most Linux distributions. Otherwise, you can download it here)
Wifi-Sploit provides three scripts:
- This script performs password brute-forcing on a login page.
- Initially designed for router login pages but works on any login page of a website.
- Requires Python 3.x
- Usage:
python3 wfs.py
. - Before running, ensure you have the router's IP address, usernames, and passwords.
- Utilizes Selenium to interact with login pages through a web browser.
- Also designed for router login pages but adaptable to other websites' login pages.
- Requires Python 3.x and Selenium WebDriver.
- Predefined elements with
name
attributes:username
for user andpassword
for password - Usage:
python3 wfs-browser.py
.
- Another Selenium-based script but with customizable HTML element names.
- Offers more flexibility in specifying HTML element names for username, password, and submit button.
- Useful when the default element names don't match the target webpage's structure.
- Requires Python 3.x and Selenium WebDriver.
- Usage:
python3 wfs-browser-input.py
. - Allows users to specify HTML element names for username, password, and submit button.
- On linux:
chmod +x /PATH-TO/selenium/webdriver/common/linux/selenium-manager
- On windows: just to be sure, run the scripts as administrator
- Clone this repository:
git clone https://github.com/kevinadhiguna/wifi-sploit.git
- Change directory to
wifi-sploit
:
cd wifi-sploit
- Install dependencies:
pip install -r requirements.txt
or
pip3 install -r requirements.txt
- Run the desired script:
- For
wfs.py
:python3 wfs.py
- For
wfs-browser.py
:python3 wfs-browser.py
- For
wfs-browser-input.py
:python3 wfs-browser-input.py
- For
- It is recommended to check out the
address.md
file for the Wi-Fi router's IP address before running the scripts. - Default usernames and passwords for Wi-Fi routers can be found in the
username.txt
andpassword.txt
files, respectively. - Important: The logic implemented in the codes that tells whether a login was successful or not is the absence of a phrase or word in the "expression" set in the codes, so make sure that the phrase that represents a login error on your login page is there and make sure that there are no conflicts with the HTML code, as some words may persist in the HTML even if the login is successful. See more at HTML.md
- Make sure to put the correct inputs in
wfs-browser-input.py
for the code to work correctly, See more at HTML.md - Remember, these tools are for educational purposes only. Misuse is not condoned.
I am not responsible for any misuse. These tools are only for educational purposes.