r/PythonProjects2 • u/uknown67789 • 25d ago
Built a Python framework to automate authentication testing for JavaScript-based Dahua DVR logins. Looking for feedback
Hi everyone,
I'm a 15-year-old student from Morocco who's been learning Python and cybersecurity over the past year.
While experimenting in an authorized environment, I discovered that traditional tools such as Hydra couldn't interact with a Dahua DVR's JavaScript-based login page. Instead of giving up, I decided to build my own Python framework using Selenium to automate browser-driven authentication testing.
The project is called RedaForce.
GitHub: https://github\[.\]com/REDA-MAH/RedaForce
I'm not posting this to ask for stars. I'd genuinely appreciate technical feedback on:
Code quality and project structure
README and documentation
Python best practices
Repository organization
Features you think would make the project more useful
I'm still learning, so I'm especially interested in constructive criticism from more experienced developers.
Thanks for taking the time to look!
1
u/caramel_mutt 24d ago
You have a good starting point, I would advise on having a watchdog feature to observe if the DVR is on. When the user tries to log on if it's not active they don't get access. But a on screen notification for that.
Password attempt limits for brute force attacks, set a limit to 20. I also see the opportunity to make this into more, if you start to think about the data flow of it you can build more on top