Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum password lenght not enforced #3

Open
missbala opened this issue Jul 18, 2013 · 0 comments
Open

Minimum password lenght not enforced #3

missbala opened this issue Jul 18, 2013 · 0 comments

Comments

@missbala
Copy link

Hey,

index.php says that wlan passwords should at least have 8 characters, but the actual minimum length is NOT enforced in function apply_config() . Instead password is written to hostapd.conf without further validation.

Thus, if user enters a password with less than 8 characters hostapd service fails to start (error message: password length must be at least 8 characters or something similar)

A one-liner javascript could address this issue (if lengh(pw1) < 8 .. FAIL WITH ERROR MESSAGE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant