Implements enhanced table formatting for analysis results in vt-cli.py using PrettyTable, improving readability and detail of the output.
Table Formatting: Replaces the previous text output for URL and file hash analysis with detailed table formatting. Each analysis attribute (e.g., First Submission Date, Last Submission Date, Times Submitted) is now a separate row in the table, making the output more organized and easier to read.
Stats Presentation: Converts the last_analysis_stats from a JSON format into a more readable string format within the table, detailing counts of malicious, suspicious, and harmless findings.
Output Function: Modifies the out_printer function to directly print the PrettyTable instance, removing the need for a global output variable and enhancing the overall code structure.
Visual Enhancements: Utilizes color formatting for the analysis header (e.g., Analysis for: URL or hash) to distinguish it from the table content, improving visual hierarchy and readability.
Implements enhanced table formatting for analysis results in
vt-cli.py
usingPrettyTable
, improving readability and detail of the output.last_analysis_stats
from a JSON format into a more readable string format within the table, detailing counts of malicious, suspicious, and harmless findings.out_printer
function to directly print thePrettyTable
instance, removing the need for a globaloutput
variable and enhancing the overall code structure.