change context.memory to context.layers per 272224a

This commit is contained in:
Analyst
2019-07-15 21:16:32 +01:00
committed by ikelos
parent a26b9bb57d
commit 79c7c6df95
@@ -140,7 +140,7 @@ class SvcScan(interfaces.plugins.PluginInterface):
filter_func = filter_func):
proc_layer_name = task.add_process_layer()
layer = self.context.memory[proc_layer_name]
layer = self.context.layers[proc_layer_name]
for offset in layer.scan(context = self.context,
scanner = scanners.BytesScanner(needle = service_tag),