From 3a9e5459a30d550e2011f4c6366224aa282edca0 Mon Sep 17 00:00:00 2001
From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com>
Date: Thu, 2 May 2024 10:17:22 -0300
Subject: [PATCH 01/11] python2? bruh
---
README.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 457ccd0..34b18b9 100644
--- a/README.md
+++ b/README.md
@@ -10,13 +10,13 @@
## About
- - Originally made for `python2` but it runs using `pyhon3` too.
+ - Originally made for `python2` but now just works using `python3`.
- Originally it was made for router's login pages but it works fine in any login page site, even on internet.
## Prerequisites
1. Your laptop/computer must be **connected to the Wi-Fi** network whose router or site login page will be pentested.
-2. A laptop/computer that has `python` or `python3` installed.
+2. A laptop/computer that has `python3` installed.
### How to install Python/Python3
@@ -34,8 +34,8 @@ 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 (compatible with both Python 2.7 and Python 3).
-- Usage: `python wfs.py`.
+- Requires Python 3.x
+- Usage: `python3 wfs.py`.
- Before running, ensure you have the router's IP address, usernames, and passwords.
### wfs-browser.py
@@ -43,7 +43,7 @@ Wifi-Sploit provides three scripts:
- 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 and Selenium WebDriver.
-- Usage: `python wfs-browser.py`.
+- Usage: `python3 wfs-browser.py`.
- Similar prerequisites apply as in `wfs.py`.
### wfs-browser-input.py
@@ -52,7 +52,7 @@ Wifi-Sploit provides three scripts:
- 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 and Selenium WebDriver.
-- Usage: `python wfs-browser-input.py`.
+- Usage: `python3 wfs-browser-input.py`.
- Allows users to specify HTML element names for username, password, and submit button.
From cb425b44d0b95cf50e68dccb2d87bb3b147b5c4f Mon Sep 17 00:00:00 2001
From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com>
Date: Thu, 2 May 2024 10:19:05 -0300
Subject: [PATCH 02/11] python2? bruh
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 34b18b9..65626fb 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
## Prerequisites
1. Your laptop/computer must be **connected to the Wi-Fi** network whose router or site login page will be pentested.
-2. A laptop/computer that has `python3` installed.
+2. A laptop/computer that has `Python 3.x` installed.
### How to install Python/Python3
@@ -42,7 +42,7 @@ Wifi-Sploit provides three scripts:
- 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 and Selenium WebDriver.
+- Requires Python 3.x and Selenium WebDriver.
- Usage: `python3 wfs-browser.py`.
- Similar prerequisites apply as in `wfs.py`.
@@ -51,7 +51,7 @@ Wifi-Sploit provides three scripts:
- 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 and Selenium WebDriver.
+- 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.
From 6a77d16fad00cfc2fd78d87cc823de475698ed18 Mon Sep 17 00:00:00 2001
From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com>
Date: Mon, 5 Aug 2024 09:30:14 -0300
Subject: [PATCH 03/11] Update wfs-browser.py
---
wfs-browser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wfs-browser.py b/wfs-browser.py
index 1d0d815..faa373d 100644
--- a/wfs-browser.py
+++ b/wfs-browser.py
@@ -72,7 +72,7 @@ def brute_with_requests(username, password):
print("\nBrute Forcing...")
print("[+] Username: ", username)
print("[+] Password: ", password)
- print("Server Response:", r.content)
+ print("Server Response:", r_content)
sys.exit()
def brute(username, password):
From 3c97eed65f062d8d9c697e4f2efd2f0432c016c4 Mon Sep 17 00:00:00 2001
From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com>
Date: Tue, 6 Aug 2024 10:42:56 -0300
Subject: [PATCH 04/11] Update requirements.txt
---
requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt
index 2503dd4..ca4e7c4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
requests==2.22.0
-selenium
+selenium==4.17.2
requests-html
From 77b62002c34f79e1d609bd54d7cb8562c3989011 Mon Sep 17 00:00:00 2001
From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com>
Date: Tue, 6 Aug 2024 10:44:44 -0300
Subject: [PATCH 05/11] Update wfs-browser-input.py
---
wfs-browser-input.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/wfs-browser-input.py b/wfs-browser-input.py
index cb5fd47..a74059c 100644
--- a/wfs-browser-input.py
+++ b/wfs-browser-input.py
@@ -47,7 +47,7 @@ def main():
url = get_user_input('http://192.168.1.1', "Router's ip (default: http://192.168.1.1) : ", RESET)
print("\r")
- expression = {b"error", b"incorrect", b"failure", b"try", b"again", b"invalid"} #you can add your own login page errors messages here
+ expression = {"error", "incorrect", "failure", "try", "again", "invalid"} # You can add your own login page errors messages here
u_name = get_user_input("username", "Username html element name (default: username): ", YELLOW)
username_element_type = get_user_input("i", "Is username element an id or a name? (i/n): ", YELLOW)
@@ -157,13 +157,13 @@ def brute(username, password, combinations_tested, total_combinations, driver, u
time.sleep(2)
- driver_lower_content = driver.page_source.lower().encode('utf-8')
-
+ driver_lower_content = driver.page_source.lower()
+
if not any(item in driver_lower_content for item in expression):
print("\nBrute Forcing...")
print("[+] Username: ", username)
print("[+] Password: ", password)
- print("Server Response:", driver.page_source.encode('utf-8'))
+ print("Server Response:", driver.page_source)
sys.exit()
else:
print("Success condition not met")
From d488294264aa8e51c1ba69d0326f45f3d90d7cad Mon Sep 17 00:00:00 2001
From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com>
Date: Tue, 6 Aug 2024 13:12:18 -0300
Subject: [PATCH 06/11] Atualizar o README.md
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 65626fb..8b8401a 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,8 @@
🔒 A password cracker for any login page
From 11ee5acb7931527a651da2ecbb513e56a6954b17 Mon Sep 17 00:00:00 2001 From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:13:24 -0300 Subject: [PATCH 09/11] Update wfs-browser-input.py --- wfs-browser-input.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/wfs-browser-input.py b/wfs-browser-input.py index a74059c..2539ab3 100644 --- a/wfs-browser-input.py +++ b/wfs-browser-input.py @@ -14,17 +14,11 @@ GREEN = "\033[92m" RESET = "\033[0m" -line1 = "__ _______ ____" -line2 = "\ \ / / ___/ ___| YOUR" -line3 = " \ \ /\ / /| |_ \___ \ LOGIN" -line4 = " \ V V / | _| ___) |PAGE" -line5 = " \_/\_/ |_| |____/ SPLOIT" - -print(line1) -print(line2) -print(line3) -print(line4) -print(line5) +print("""__ _______ ____ +\ \ / / ___/ ___| YOUR + \ \ /\ / /| |_ \___ \ LOGIN + \ V V / | _| ___) |PAGE + \_/\_/ |_| |____/ SPLOIT""") def colored_print(text, color): return f"{color}{text}{RESET}" From 60705328b678a74472b7fca32f2c0eb1b785866a Mon Sep 17 00:00:00 2001 From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:13:37 -0300 Subject: [PATCH 10/11] Update wfs-browser.py --- wfs-browser.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/wfs-browser.py b/wfs-browser.py index faa373d..14d3e75 100644 --- a/wfs-browser.py +++ b/wfs-browser.py @@ -9,17 +9,11 @@ from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC -line1 = "__ _______ ____" -line2 = "\ \ / / ___/ ___| YOUR" -line3 = " \ \ /\ / /| |_ \___ \ LOGIN" -line4 = " \ V V / | _| ___) |PAGE" -line5 = " \_/\_/ |_| |____/ SPLOIT" - -print(line1) -print(line2) -print(line3) -print(line4) -print(line5) +print("""__ _______ ____ +\ \ / / ___/ ___| YOUR + \ \ /\ / /| |_ \___ \ LOGIN + \ V V / | _| ___) |PAGE + \_/\_/ |_| |____/ SPLOIT""") usage = input("Show URL usage? y/n: ") if usage.lower() == "y": From 6e1bce181123f296c9e0affadc3886611862fc37 Mon Sep 17 00:00:00 2001 From: d4v1-sudo <139714828+d4v1-sudo@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:13:49 -0300 Subject: [PATCH 11/11] Update wfs.py --- wfs.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/wfs.py b/wfs.py index e82633f..6fa35d8 100644 --- a/wfs.py +++ b/wfs.py @@ -1,17 +1,11 @@ import requests import sys -line1 = "__ _______ ____" -line2 = "\ \ / / ___/ ___| YOUR" -line3 = " \ \ /\ / /| |_ \___ \ LOGIN" -line4 = " \ V V / | _| ___) |PAGE" -line5 = " \_/\_/ |_| |____/ SPLOIT" - -print(line1) -print(line2) -print(line3) -print(line4) -print(line5) +print("""__ _______ ____ +\ \ / / ___/ ___| YOUR + \ \ /\ / /| |_ \___ \ LOGIN + \ V V / | _| ___) |PAGE + \_/\_/ |_| |____/ SPLOIT""") usage = input("Show URL usage? y/n: ") if usage.lower() == "y":