Commit ab37d6aa456491495aadbb4b96a4ea3a85155a3f

Authored by Imanol-Mikel Barba Sabariego
1 parent 1a41e03b

Minor edit

digger.py
... ... @@ -161,7 +161,8 @@ if __name__ == "__main__":
161 161 for module in runlist:
162 162 logger.msgLog("Running " + module.name + "...", "digger", logger.TYPE_INFO)
163 163 try:
164   - module.run()
  164 + #Battle routine, set!
  165 + module.execute()
165 166 except Exception as e:
166 167 logger.msgLog("Exception raised while running \"" + module.name + "\": " + str(e), module.name, logger.TYPE_ERROR)
167 168 #logger.msgLog(traceback.format_exc(), module.name, logger.TYPE_ERROR)
... ...
modules/edb.py
... ... @@ -19,7 +19,7 @@ class RegistryModule(Module):
19 19 self.requiredVars = ["winvol"]
20 20 self.vars = {}
21 21  
22   - def run(self):
  22 + def execute(self):
23 23 path = tomb.getPath() + self.name + "/"
24 24 if(not os.path.exists(path)):
25 25 os.mkdir(path)
... ...
modules/evt.py
... ... @@ -19,7 +19,7 @@ class RegistryModule(Module):
19 19 self.requiredVars = ["winvol"]
20 20 self.vars = {}
21 21  
22   - def run(self):
  22 + def execute(self):
23 23 path = tomb.getPath() + self.name + "/"
24 24 if(not os.path.exists(path)):
25 25 os.mkdir(path)
... ...
modules/info.py
... ... @@ -16,7 +16,7 @@ class INFOModule(Module):
16 16 self.requiredVars = []
17 17 self.vars = {}
18 18  
19   - def run(self):
  19 + def execute(self):
20 20 path = tomb.getPath() + self.name + "/"
21 21 if(not os.path.exists(path)):
22 22 os.mkdir(path)
... ...
modules/mft.py
... ... @@ -17,7 +17,7 @@ class MFTModule(Module):
17 17 self.requiredVars = ["ntfsvol"]
18 18 self.vars = {}
19 19  
20   - def run(self):
  20 + def execute(self):
21 21 path = tomb.getPath() + self.name + "/"
22 22 if(not os.path.exists(path)):
23 23 os.mkdir(path)
... ...
modules/module.py
... ... @@ -9,7 +9,7 @@ class Module(object):
9 9 requiredVars = []
10 10  
11 11 @abstractmethod
12   - def run(self):
  12 + def execute(self):
13 13 pass
14 14  
15 15 def getVars(self):
... ...
modules/winreg.py
... ... @@ -19,7 +19,7 @@ class RegistryModule(Module):
19 19 self.requiredVars = ["winvol"]
20 20 self.vars = {}
21 21  
22   - def run(self):
  22 + def execute(self):
23 23 path = tomb.getPath() + self.name + "/"
24 24 if(not os.path.exists(path)):
25 25 os.mkdir(path)
... ...