MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / news

Function news

Scripts/ButSystem.py:10574–10581  ·  view source on GitHub ↗

News page: worldwide headlines by topic, in EN/EL based on the UI language.

()

Source from the content-addressed store, hash-verified

10572 return "Password must be at least 10 characters."
10573 if len(pw) > 256:
10574 return "Password is too long."
10575 low = pw.lower()
10576 u = (username or "").strip().lower()
10577 if u and u in low:
10578 return "Password must not contain your username."
10579 score = 0
10580 score += bool(re.search(r"[a-z]", pw))
10581 score += bool(re.search(r"[A-Z]", pw))
10582 score += bool(re.search(r"\d", pw))
10583 score += bool(re.search(r"[^A-Za-z0-9]", pw))
10584 if score < 3:

Callers

nothing calls this directly

Calls 2

get_langFunction · 0.70
_Function · 0.70

Tested by

no test coverage detected