diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2a01b66..cbae5a7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,6 @@ - - @@ -97,7 +95,7 @@ - + @@ -639,7 +637,7 @@ - + diff --git a/modules/__pycache__/mft.cpython-34.pyc b/modules/__pycache__/mft.cpython-34.pyc index edffb1d..a0f6321 100644 --- a/modules/__pycache__/mft.cpython-34.pyc +++ b/modules/__pycache__/mft.cpython-34.pyc diff --git a/modules/mft.py b/modules/mft.py index 61e334f..57ca2f5 100644 --- a/modules/mft.py +++ b/modules/mft.py @@ -1,6 +1,7 @@ from module import Module from runcmd import runProcess import tomb +import os def getInstance(): return MFTModule() @@ -14,6 +15,7 @@ class MFTModule(Module): self.vars = {} def run(self): + os.mkdir(tomb.getPath() + "mft/") for vol in self.vars['ntfsvol'].value: result = runProcess(["icat","/dev/" + vol,"0"]) mftbin = open(tomb.getPath() + "mft/" + vol + ".bin",'wb')