You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: