Today, on an official government website, I came across the following password rules:
"Your password has to be at least 8 characters long. It can't have any blank spaces. It has to use characters from at least three of the following sets:"
- Upper case letters A-Z
- Lower case letters a-z
- Numerals 0-9
- Special characters #?!@$%^&*-
- Your password can't start with #.
Perhaps I'm massively overthinking this, but what's the rationale behind not allowing passwords to start with a '#'? This screams improper handling of passwords to me. Assuming the passwords are actually properly stored, why would it matter? Why specifically '#' and not any other of the permitted special characters?
"; drop table PASSWORD
:) – Harper - Reinstate Monica Apr 23 '23 at 23:35#this
where all generating the same hash and thus caused the admin to notice (hence the restriction). However, a passwordlike#this
whie generating a diff hash than an empty string might have the same hash aslike
orlike#th
. Might be worth testing ... and reporting to the admin if you find something. – CaffeineAddiction Apr 24 '23 at 00:51#
as comments. Possibly related? – Mooing Duck Apr 24 '23 at 16:01