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

Function profiler_decrypt_optional

Scripts/ButSystem.py:15187–15210  ·  view source on GitHub ↗

profiler_decrypt_optional. Internal helper function. This docstring was added automatically to improve maintainability. Args: optional_enc: Parameter. Returns: Varies.

(optional_enc: Optional[str])

Source from the content-addressed store, hash-verified

15185# Groups (chat + admins)
15186# ---------------------------
15187
15188def all_usernames() -> List[str]:
15189 """all_usernames.
15190
15191Internal helper function.
15192
15193This docstring was added automatically to improve maintainability.
15194
15195Returns:
15196 Varies.
15197"""
15198 conn = db_connect()
15199 rows = conn.execute("SELECT username FROM users ORDER BY username COLLATE NOCASE").fetchall()
15200 conn.close()
15201 return [r["username"] for r in rows]
15202
15203def group_role(gid: int, username: str) -> Optional[str]:
15204 """group_role.
15205
15206Internal helper function.
15207
15208This docstring was added automatically to improve maintainability.
15209
15210Args:
15211 gid: Parameter.
15212 username: Parameter.
15213

Callers 4

profiler_getFunction · 0.70
profilerFunction · 0.70
profiler_exportFunction · 0.70

Calls 1

aesgcm_decrypt_textFunction · 0.70

Tested by

no test coverage detected