-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathsystem.py
More file actions
34 lines (29 loc) · 914 Bytes
/
system.py
File metadata and controls
34 lines (29 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""Data model to define compromised systems found in leaks."""
from dataclasses import dataclass
@dataclass
class System:
"""Class defining a compromised system information.
Attributes
----------
machine_id : str, optional
The device ID (UID or machine ID).
computer_name : str, optional
The machine's name.
hardware_id : str, optional
The hardware ID (HWID).
machine_user : str, optional
The machine user's name.
ip_address : str, optional
The machine IP address.
country : str, optional
The machine's country code.
log_date : str, optional
The compromission date.
"""
machine_id: str | None = None
computer_name: str | None = None
hardware_id: str | None = None
machine_user: str | None = None
ip_address: str | None = None
country: str | None = None
log_date: str | None = None