dissect.target.helpers.cyber

Module Contents

Classes

Color

Generic enumeration.

CyberIO

Text I/O implementation using an in-memory buffer.

Functions

Attributes

dissect.target.helpers.cyber.CAN_CYBER = True
dissect.target.helpers.cyber.NMS_MASK_TABLE = ['!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '~', '.', '/', ':', ';', '<',...
dissect.target.helpers.cyber.NMS_TYPE_EFFECT_SPEED
dissect.target.helpers.cyber.NMS_JUMBLE_SECONDS = 1
dissect.target.helpers.cyber.NMS_JUMBLE_LOOP_SPEED = 35
dissect.target.helpers.cyber.NMS_REVEAL_SECONDS = 2
dissect.target.helpers.cyber.NMS_REVEAL_LOOP_SPEED = 50
dissect.target.helpers.cyber.MATRIX_CHARS
dissect.target.helpers.cyber.MATRIX_MAX_SPEED = 5
dissect.target.helpers.cyber.MATRIX_MAX_CASCADES = 600
dissect.target.helpers.cyber.MATRIX_MAX_COLS = 20
dissect.target.helpers.cyber.MATRIX_FRAME_DELAY = 0.03
dissect.target.helpers.cyber.MATRIX_REVEAL_SECONDS = 4
class dissect.target.helpers.cyber.Color

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

BLACK = 30
RED = 31
GREEN = 32
YELLOW = 33
BLUE = 34
MAGENTA = 35
CYAN = 36
WHITE = 37
class dissect.target.helpers.cyber.CyberIO(color: Color | None = None, run_at_end: bool = False, **kwargs)

Bases: io.StringIO

Text I/O implementation using an in-memory buffer.

The initial_value argument sets the value of object. The newline argument is like the one of TextIOWrapper’s constructor.

write(s: str) int

Write string to file.

Returns the number of characters written, which is always equal to the length of the string.

dissect.target.helpers.cyber.cyber(color: Color | None = Color.YELLOW, run_at_end: bool = False, **kwargs) Iterator[None]
dissect.target.helpers.cyber.cyber_print(buf: str, color: Color | None = None, **kwargs) None
dissect.target.helpers.cyber.nms(buf: str, color: Color | None = None, mask_space: bool = False, mask_indent: bool = True, **kwargs) None
dissect.target.helpers.cyber.matrix(buf: str, color: Color | None = None, **kwargs) None