mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-23 06:42:21 +02:00
add sample abstraction
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class Sample:
|
||||
def __init__(self, path: str):
|
||||
self.path = path
|
||||
|
||||
|
||||
class WindowsSamples(Enum):
|
||||
WINDOWSXP_GENERIC = Sample("./test_images/win-xp-laptop-2005-06-25.img")
|
||||
"""WindowsXP sample from early Volatility training."""
|
||||
|
||||
|
||||
class LinuxSamples(Enum):
|
||||
LINUX_GENERIC = Sample("./test_images/linux-sample-1.bin")
|
||||
"""Linux Debian 3.2.0-4 sample from early Volatility training."""
|
||||
|
||||
Reference in New Issue
Block a user