# \[Math\]\[Pentesting\] Password requirements are harmful. A password with required digit/special character may be weaker. Part II.

DevFeed: [\[Math\]\[Pentesting\] Password requirements are harmful. A password with required digit/special character may be weaker. Part II.](<https://devfeed.tech/articles/math-pentesting-password-requirements-are-harmful-a-password-with-required-digit-special-character-may-be-weaker-part-ii-20574.md>)

Original publisher: [Read original article](<https://yurichev.com/blog/password_req/>)

Published: 2026-01-11T23:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Yurichev](<https://devfeed.tech/sources/dennis-yurichev.md>)

Topics: [passwords](<https://devfeed.tech/topics/passwords.md>), [math](<https://devfeed.tech/topics/math.md>)

Tags: [files](<https://devfeed.tech/tags/files.md>), [math](<https://devfeed.tech/tags/math.md>), [password](<https://devfeed.tech/tags/password.md>), [script](<https://devfeed.tech/tags/script.md>)

## AI overview

This article uses mathematical counting and scripts to examine password requirements for Dahua and Hikvision CCTV cameras. It argues that requiring digits or special characters can reduce the number of possible passwords, while noting that Hikvision's requirements produce a number close to the full set of possible eight-character passwords.

## Source excerpt

[Math][Pentesting] Password requirements are harmful. A password with required digit/special character may be weaker. Part II.