Commit ab37d6aa456491495aadbb4b96a4ea3a85155a3f
1 parent
1a41e03b
Minor edit
Showing
7 changed files
with
8 additions
and
7 deletions
digger.py
@@ -161,7 +161,8 @@ if __name__ == "__main__": | @@ -161,7 +161,8 @@ if __name__ == "__main__": | ||
161 | for module in runlist: | 161 | for module in runlist: |
162 | logger.msgLog("Running " + module.name + "...", "digger", logger.TYPE_INFO) | 162 | logger.msgLog("Running " + module.name + "...", "digger", logger.TYPE_INFO) |
163 | try: | 163 | try: |
164 | - module.run() | 164 | + #Battle routine, set! |
165 | + module.execute() | ||
165 | except Exception as e: | 166 | except Exception as e: |
166 | logger.msgLog("Exception raised while running \"" + module.name + "\": " + str(e), module.name, logger.TYPE_ERROR) | 167 | logger.msgLog("Exception raised while running \"" + module.name + "\": " + str(e), module.name, logger.TYPE_ERROR) |
167 | #logger.msgLog(traceback.format_exc(), module.name, logger.TYPE_ERROR) | 168 | #logger.msgLog(traceback.format_exc(), module.name, logger.TYPE_ERROR) |
modules/edb.py
@@ -19,7 +19,7 @@ class RegistryModule(Module): | @@ -19,7 +19,7 @@ class RegistryModule(Module): | ||
19 | self.requiredVars = ["winvol"] | 19 | self.requiredVars = ["winvol"] |
20 | self.vars = {} | 20 | self.vars = {} |
21 | 21 | ||
22 | - def run(self): | 22 | + def execute(self): |
23 | path = tomb.getPath() + self.name + "/" | 23 | path = tomb.getPath() + self.name + "/" |
24 | if(not os.path.exists(path)): | 24 | if(not os.path.exists(path)): |
25 | os.mkdir(path) | 25 | os.mkdir(path) |
modules/evt.py
@@ -19,7 +19,7 @@ class RegistryModule(Module): | @@ -19,7 +19,7 @@ class RegistryModule(Module): | ||
19 | self.requiredVars = ["winvol"] | 19 | self.requiredVars = ["winvol"] |
20 | self.vars = {} | 20 | self.vars = {} |
21 | 21 | ||
22 | - def run(self): | 22 | + def execute(self): |
23 | path = tomb.getPath() + self.name + "/" | 23 | path = tomb.getPath() + self.name + "/" |
24 | if(not os.path.exists(path)): | 24 | if(not os.path.exists(path)): |
25 | os.mkdir(path) | 25 | os.mkdir(path) |
modules/info.py
@@ -16,7 +16,7 @@ class INFOModule(Module): | @@ -16,7 +16,7 @@ class INFOModule(Module): | ||
16 | self.requiredVars = [] | 16 | self.requiredVars = [] |
17 | self.vars = {} | 17 | self.vars = {} |
18 | 18 | ||
19 | - def run(self): | 19 | + def execute(self): |
20 | path = tomb.getPath() + self.name + "/" | 20 | path = tomb.getPath() + self.name + "/" |
21 | if(not os.path.exists(path)): | 21 | if(not os.path.exists(path)): |
22 | os.mkdir(path) | 22 | os.mkdir(path) |
modules/mft.py
@@ -17,7 +17,7 @@ class MFTModule(Module): | @@ -17,7 +17,7 @@ class MFTModule(Module): | ||
17 | self.requiredVars = ["ntfsvol"] | 17 | self.requiredVars = ["ntfsvol"] |
18 | self.vars = {} | 18 | self.vars = {} |
19 | 19 | ||
20 | - def run(self): | 20 | + def execute(self): |
21 | path = tomb.getPath() + self.name + "/" | 21 | path = tomb.getPath() + self.name + "/" |
22 | if(not os.path.exists(path)): | 22 | if(not os.path.exists(path)): |
23 | os.mkdir(path) | 23 | os.mkdir(path) |
modules/module.py
modules/winreg.py
@@ -19,7 +19,7 @@ class RegistryModule(Module): | @@ -19,7 +19,7 @@ class RegistryModule(Module): | ||
19 | self.requiredVars = ["winvol"] | 19 | self.requiredVars = ["winvol"] |
20 | self.vars = {} | 20 | self.vars = {} |
21 | 21 | ||
22 | - def run(self): | 22 | + def execute(self): |
23 | path = tomb.getPath() + self.name + "/" | 23 | path = tomb.getPath() + self.name + "/" |
24 | if(not os.path.exists(path)): | 24 | if(not os.path.exists(path)): |
25 | os.mkdir(path) | 25 | os.mkdir(path) |