winreg.py
513 Bytes
from module import Module
from runcmd import runProcess
import tomb
import os
def getInstance():
return RegistryModule()
class RegistryModule(Module):
def __init__(self):
self.name = "winreg"
self.description = "Extracts Windows Registry files"
self.requiredVars = ["ntfsvol"]
self.vars = {}
def run(self):
path = tomb.getPath() + self.name + "/"
os.mkdir(path)
for vol in self.vars['ntfsvol'].value:
pass
#runstuff