From 644a028ee4472aa12113535d3153b64577fa9c25 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 22 Feb 2016 01:54:19 +0000 Subject: [PATCH] Fix up the dtbfinder output a little. --- volatility/framework/automagic/windows.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/automagic/windows.py b/volatility/framework/automagic/windows.py index 904ffdfb9..33c2aef31 100644 --- a/volatility/framework/automagic/windows.py +++ b/volatility/framework/automagic/windows.py @@ -163,11 +163,10 @@ if __name__ == '__main__': print("[*] Scanning...") hits = scan(ctx, "data", tests) print("[*] Results") - print(hits) for key in tests: arch_hits = hits.get(key.layer_type, []) if arch_hits: - print(key.layer_type.__name__ + ": " + hex(min(arch_hits)[1])) + print(key.layer_type.__name__ + ": " + repr([hex(x[1]) for x in sorted(arch_hits)])) print("[*] OS Guess") guesses = [] for key in hits: