forked from p15670423/monkey
Common: Use Enum.auto() for CredentialComponentType values
This commit is contained in:
parent
7c9c4cf9fb
commit
8e953359f8
|
@ -1,9 +1,9 @@
|
||||||
from enum import Enum
|
from enum import Enum, auto
|
||||||
|
|
||||||
|
|
||||||
class CredentialComponentType(Enum):
|
class CredentialComponentType(Enum):
|
||||||
USERNAME = "username"
|
USERNAME = auto()
|
||||||
PASSWORD = "password"
|
PASSWORD = auto()
|
||||||
NT_HASH = "nt_hash"
|
NT_HASH = auto()
|
||||||
LM_HASH = "lm_hash"
|
LM_HASH = auto()
|
||||||
SSH_KEYPAIR = "ssh_keypair"
|
SSH_KEYPAIR = auto()
|
||||||
|
|
Loading…
Reference in New Issue