Closed d4v1-sudo closed 9 months ago
This looks fire, let me have a look!
I just forgot to mention that the selenium-manager directory in /PATH-TO/selenium/webdriver/common/linux/selenium-manager needs file execute permission (chmod +x on linux), but I don't know how it works exactly on Windows, I haven't tested it yet. But wfs.py should work normally.
Looks fire! Thank you for your contribution!
When to Use Each Script:
wfs.py
(New): Use this script when performing brute-force attacks on a router's login page using HTTP POST requests. It provides flexibility in specifying the router's IP address and offers comprehensive error detection, making it suitable for a wide range of router configurations.wfs-browser.py
(New): Utilize this script when the router does not recognize the script as a browser, causing issues with login attempts. It employs Selenium WebDriver with Firefox to simulate browser interactions, ensuring compatibility and bypassing such recognition issues.wfs-browser-input.py
(New): Choose this script for enhanced interactivity and customization in login form handling. It allows dynamic input of HTML element names and types, offering a more tailored approach to handling login forms with varying structures or configurations.About improvements:
wfs.py
(Old):requests
library to send HTTP POST requests to the router's login page.wfs.py
(New):requests_html
library to parse HTML, expanding the script's capabilities beyond simple HTTP requests.wfs-browser.py
(New):wfs-browser-input.py
(New):Note
These improvements enhance the functionality, flexibility, and user-friendliness of the scripts, making them more reliable and adaptable to various router configurations and environments. The migration to Selenium WebDriver in
wfs-browser.py
andwfs-browser-input.py
ensures compatibility with routers that do not recognize the script as a browser. With detailed error handling, comprehensive error detection, and interactive features, these scripts provide a powerful toolkit for network security testing and troubleshooting.