Add a little information to the log to see when the cache is being built.

This commit is contained in:
Mike Auty
2017-07-10 01:24:52 +01:00
parent d1cdf805df
commit 2453b7f180
@@ -1,3 +1,4 @@
import logging
import os
import pathlib
import pickle
@@ -5,6 +6,8 @@ import pickle
from volatility.framework import interfaces, constants
from volatility.framework.symbols import intermed
vollog = logging.getLogger(__name__)
cached_linuxbanner_filepath = os.path.join(constants.CACHE_PATH, "linux_banners.cache")
@@ -36,6 +39,8 @@ class LinuxSymbolCache(interfaces.automagic.AutomagicInterface):
cacheables.remove(json_file)
total = len(cacheables)
if total > 0:
vollog.info("Building linux caches...")
for current in range(total):
progress_callback(current / total)
isf_url = cacheables[current]