mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 21:27:39 +02:00
Add a little information to the log to see when the cache is being built.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user