Checkpasswords Index / Checkpasswords / Credentials
Auto-generated documentation for checkpasswords.credentials module.
Show source in credentials.py:20
Credentials storing raw data from IO and inferred data such as:
- zxcvbnScore
- isPasswordDuplicate
- passwordPrint
- isHttp
- isMfaAvailable
- isMfaEnabled.
Used to:
- check for duplicate passwords
- check for weak passwords
- identify http sites
- list available 2fa options using data from https://2fa.directory/
class Credentials: ...Show source in credentials.py:49
Populate/ update various attributes using auxiliary functions.
def __post_init__(self) -> Credentials: ...Show source in credentials.py:62
Apply duplicate password flag to each credentials.
credentialslist[Credentials] - list of all credentials
def applyPasswordDuplicate(credentials: list[Credentials]) -> None: ...Show source in credentials.py:77
Return a set of unique emails from the list of credentials.
credentialslist[Credentials] - list of all credentials
set[str]- set of unique emails
def emails(credentials: list[Credentials]) -> set[str]: ...Show source in credentials.py:108
generateTables.
credentialslist[Credentials] - list of credentials parsed from some input file. Such as a bitwarden export to CSV
def generateTables(
credentials: list[Credentials],
) -> tuple[list[tuple[str, ...]], ...]: ...Show source in credentials.py:92
Order credentials by password crack time.
credentialslist[Credentials] - list of credentials parsed from some input file. Such as a bitwarden export to CSV
list[Credentials]- sorted credentials
def orderCredentials(credentials: list[Credentials]) -> list[Credentials]: ...