mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-09 11:17:38 +02:00
Fix up development code with previous changes to the ContextInterface.
This commit is contained in:
@@ -8,7 +8,6 @@ from volatility.framework import contexts
|
||||
from volatility.framework import interfaces
|
||||
from volatility.framework import layers
|
||||
from volatility.framework.automagic import windows
|
||||
from volatility.framework.symbols import native
|
||||
|
||||
if __name__ == '__main__':
|
||||
import argparse
|
||||
@@ -26,8 +25,7 @@ if __name__ == '__main__':
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
nativelst = native.x86NativeTable
|
||||
ctx = contexts.Context(nativelst)
|
||||
ctx = contexts.Context()
|
||||
for filename in args.filenames:
|
||||
ctx.config[
|
||||
interfaces.configuration.path_join('config' + str(args.filenames.index(filename)), "filename")] = filename
|
||||
|
||||
@@ -10,7 +10,6 @@ from volatility.framework.automagic.pdbscan import scan
|
||||
if __name__ == '__main__':
|
||||
import argparse
|
||||
|
||||
from volatility.framework.symbols import native
|
||||
from volatility.framework import contexts
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
@@ -19,8 +18,7 @@ if __name__ == '__main__':
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
nativelst = native.x86NativeTable
|
||||
ctx = contexts.Context(nativelst)
|
||||
ctx = contexts.Context()
|
||||
scan_layers = []
|
||||
for filename in args.filenames:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user