On 3/19/21 5:44 PM, G.W. Haywood via clamav-users wrote:
Hi Grant,
Hi Ged,
Did you see this? https://blog.clamav.net/2021/03/clamav-cvds-cdiffs-and-magic-behind.html
Thank you for that link. It got me started down a twisty and windy path. I ended up with this.% dig +short current.cvd.clamav.net txt | sed 's/"//g;s/:/ /g' | read newVersion mainVersion dailyVersion recordTime versionWarning remoteFLevel safebrowsingVersion bytecodeVersion && printf " Scanning Engine: %s\n Current Time: %s\n DNS Record Time: %s\n main.cvd: %s\n daily.cvd: %s\n bytecode.cvd: %s\nsafebrowsing.cvd: %s\n Remote F-Level: %s\n Version Warning: %s\n" $newVersion "$(date "+%a %b %d %H:%M:%S %Y")" "$(date "+%a %b %d %H:%M:%S %Y" -d "@$recordTime")" $mainVersion $dailyVersion $bytecodeVersion $safebrowsingVersion $remoteFLevel $versionWarning
Scanning Engine: 0.103.1 Current Time: Fri Mar 19 21:06:56 2021 DNS Record Time: Fri Mar 19 19:29:00 2021 main.cvd: 59 daily.cvd: 26113 bytecode.cvd: 333 safebrowsing.cvd: 49191 Remote F-Level: 63 Version Warning: 0 Note: The read works in Zsh, but may not work as is in Bash. Also, Linux date, macOS date is cranky. -- Grant. . . . unix || die
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml