Add in proper passord check lib, show results in form

This commit is contained in:
2025-07-20 15:46:25 +01:00
parent 0127326b77
commit 2dae8b0ece
10 changed files with 1023 additions and 623 deletions

View File

@@ -1,13 +1,57 @@
nohup: ignoring input
Starting SME Server Password Change Application in Demo Mode
Demo users available:
Username: testuser, Password: oldpassword123
Username: admin, Password: adminpass456
Username: john, Password: johnpass789
INFO:smeserver_utils:Using zxcvbn library for password validation
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
Starting Corrected SME Server Password Change Application
Features:
- Correct SME Server database structure (Users/Admin/Ibays)
- External zxcvbn password validation library
- Password visibility toggles
- Real-time strength checking
- Admin configuration panel
Current password strength settings:
Users: NORMAL
Admin: NORMAL
Ibays: NORMAL
Using zxcvbn library: Yes
Access the application at: http://localhost:5000
Demo info available at: http://localhost:5000/demo-info
* Serving Flask app 'demo_mode'
Admin panel at: http://localhost:5000/admin
* Serving Flask app 'app'
* Debug mode: on
Address already in use
Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://169.254.0.21:5000
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
INFO:smeserver_utils:Using zxcvbn library for password validation
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 120-238-632
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:41] "GET / HTTP/1.1" 200 -
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:41] "GET /static/css/style.css HTTP/1.1" 304 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -
ERROR:smeserver_utils:Database command not found: /sbin/e-smith/db
INFO:werkzeug:10.109.188.1 - - [20/Jul/2025 10:33:47] "POST /api/password-strength HTTP/1.1" 200 -