module Metasploit::Model::Realm::Key

Canonical `Metasploit::Credential::Realm#key`s.

`Metasploit::Credential::Realm#key` is restricted to values in {ALL}, so new valid values need to be added to this module:

  1. Add a String constant where the constant name is in SCREAMING_SNAKE_CASE and the String in Title Case.

  2. Add the new constant to {ALL}.

  3. Add a new key/value to {SHORT_NAMES} for this constant.

Constants

ACTIVE_DIRECTORY_DOMAIN

An Active Directory domain that is used for authenication in Windows environments.

@see en.wikipedia.org/wiki/Active_Directory

ALL

All values that are valid for {Metasploit::Credential::Realm#key}.

DB2_DATABASE

A DB2 database name. Like PostgreSQL, DB2 requires a database to authenticate to.

ORACLE_SYSTEM_IDENTIFIER

A System Identifier for an Oracle Database.

@see docs.oracle.com/cd/E11882_01/server.112/e40540/startup.htm#CNCPT89037

POSTGRESQL_DATABASE

A PostgreSQL database name. Unlike, MySQL, PostgreSQL requires the user to authenticate to a specific database and does not allow authenticating to just a server (which would be an `Mdm::Service`).

RSYNC_MODULE

An RSYNC module (share) name, which can optionally require authentication.

SHORT_NAMES

A map of short names, suitable for use on the command line, to the full human-readable constants above.

WILDCARD

This is a Wildcard Realm Type which indicates we don't know or care what type of Realm it is.