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):
|
||||
USERNAME = "username"
|
||||
PASSWORD = "password"
|
||||
NT_HASH = "nt_hash"
|
||||
LM_HASH = "lm_hash"
|
||||
SSH_KEYPAIR = "ssh_keypair"
|
||||
USERNAME = auto()
|
||||
PASSWORD = auto()
|
||||
NT_HASH = auto()
|
||||
LM_HASH = auto()
|
||||
SSH_KEYPAIR = auto()
|
||||
|
|
Loading…
Reference in New Issue