Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions procdup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import logging
from typing import List
from volatility3.framework import interfaces, renderers
from volatility3.framework.configuration import requirements

vollog = logging.getLogger(__name__)

class Test(interfaces.plugins.PluginInterface):
"""Test plugin to verify plugin loading."""

_required_framework_version = (2, 0, 0)
_version = (1, 0, 0)

@classmethod
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
return [
requirements.ModuleRequirement(
name="kernel",
description="Windows kernel module",
architectures=["Intel32", "Intel64"],
),
]

def _generator(self):
yield (0, ("Test", "Success", "Plugin is working"))

def run(self):
return renderers.TreeGrid(
[("Status", str), ("Message", str), ("Result", str)],
self._generator()
)