forked from p34709852/monkey
Island: Format with Black
This commit is contained in:
parent
86b8cf63b9
commit
fda0411555
|
@ -56,8 +56,8 @@ class PasswordBasedBytesEncryptor(IEncryptor):
|
||||||
|
|
||||||
|
|
||||||
class InvalidCredentialsError(Exception):
|
class InvalidCredentialsError(Exception):
|
||||||
""" Raised when password for decryption is invalid """
|
"""Raised when password for decryption is invalid"""
|
||||||
|
|
||||||
|
|
||||||
class InvalidCiphertextError(Exception):
|
class InvalidCiphertextError(Exception):
|
||||||
""" Raised when ciphertext is corrupted """
|
"""Raised when ciphertext is corrupted"""
|
||||||
|
|
|
@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class AttackTechnique(object, metaclass=abc.ABCMeta):
|
class AttackTechnique(object, metaclass=abc.ABCMeta):
|
||||||
""" Abstract class for ATT&CK report components """
|
"""Abstract class for ATT&CK report components"""
|
||||||
|
|
||||||
config_schema_per_attack_technique = None
|
config_schema_per_attack_technique = None
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ from monkey_island.cc.services.attack.technique_reports import AttackTechnique
|
||||||
|
|
||||||
|
|
||||||
class PostBreachTechnique(AttackTechnique, metaclass=abc.ABCMeta):
|
class PostBreachTechnique(AttackTechnique, metaclass=abc.ABCMeta):
|
||||||
""" Class for ATT&CK report components of post-breach actions """
|
"""Class for ATT&CK report components of post-breach actions"""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
|
|
Loading…
Reference in New Issue