pentesting, updated

Testing for weak password policy

Check minimum complexity, length, and whether the policy is enforced server-side rather than only in client-side JS.

Goal

Confirm the server actually enforces the password policy shown to the user.

How to test

Submit a weak password (123456, your email address, a single character) directly to the registration/change-password endpoint, bypassing any client-side JS:

curl -s https://example.com/register -d "email=test@example.com&password=123456"

Also check whether the policy blocks the top common passwords (via a breach list), not just length/charset rules.

What to look for

A weak password accepted despite a stated policy, proving the check only runs client-side.

References

§ home
~/knubertus/home/
1,1 Top