Skip to content

Latest commit

 

History

History
155 lines (93 loc) · 2.97 KB

File metadata and controls

155 lines (93 loc) · 2.97 KB

Credentials

Checkpasswords Index / Checkpasswords / Credentials

Auto-generated documentation for checkpasswords.credentials module.

Credentials

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/

Signature

class Credentials: ...

Credentials().post_init

Show source in credentials.py:49

Populate/ update various attributes using auxiliary functions.

Signature

def __post_init__(self) -> Credentials: ...

applyPasswordDuplicate

Show source in credentials.py:62

Apply duplicate password flag to each credentials.

Arguments


  • credentials list[Credentials] - list of all credentials

Signature

def applyPasswordDuplicate(credentials: list[Credentials]) -> None: ...

See also

emails

Show source in credentials.py:77

Return a set of unique emails from the list of credentials.

Arguments


  • credentials list[Credentials] - list of all credentials

Returns


  • set[str] - set of unique emails

Signature

def emails(credentials: list[Credentials]) -> set[str]: ...

See also

generateTables

Show source in credentials.py:108

generateTables.

Arguments


  • credentials list[Credentials] - list of credentials parsed from some input file. Such as a bitwarden export to CSV

Signature

def generateTables(
    credentials: list[Credentials],
) -> tuple[list[tuple[str, ...]], ...]: ...

See also

orderCredentials

Show source in credentials.py:92

Order credentials by password crack time.

Arguments


  • credentials list[Credentials] - list of credentials parsed from some input file. Such as a bitwarden export to CSV

Returns


  • list[Credentials] - sorted credentials

Signature

def orderCredentials(credentials: list[Credentials]) -> list[Credentials]: ...

See also