Agent: remove ssh_keypair, as it's not used anywhere
This commit is contained in:
parent
ae9fed3c2b
commit
d392de4a02
|
@ -2,6 +2,5 @@ from .i_credential_collector import ICredentialCollector
|
||||||
from .credential_components.nt_hash import NTHash
|
from .credential_components.nt_hash import NTHash
|
||||||
from .credential_components.lm_hash import LMHash
|
from .credential_components.lm_hash import LMHash
|
||||||
from .credential_components.password import Password
|
from .credential_components.password import Password
|
||||||
from .credential_components.ssh_keypair import SSHKeypair
|
|
||||||
from .credential_components.username import Username
|
from .credential_components.username import Username
|
||||||
from .credentials import Credentials
|
from .credentials import Credentials
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
from ..credential_type import CredentialType
|
|
||||||
from .i_credential_component import ICredentialComponent
|
|
||||||
|
|
||||||
|
|
||||||
class SSHKeypair(ICredentialComponent):
|
|
||||||
def __init__(self, content: dict):
|
|
||||||
super().__init__(type=CredentialType.SSH_KEYPAIR)
|
|
||||||
self.content = content
|
|
|
@ -2,7 +2,6 @@ from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
class CredentialType(Enum):
|
class CredentialType(Enum):
|
||||||
SSH_KEYPAIR = 1
|
|
||||||
USERNAME = 2
|
USERNAME = 2
|
||||||
PASSWORD = 3
|
PASSWORD = 3
|
||||||
NTLM_HASH = 4
|
NTLM_HASH = 4
|
||||||
|
|
Loading…
Reference in New Issue