Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Get Safe Downloads List last update time and current version' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get Safe Downloads List last update time and current version
Authored by: whustedt on Jun 03, '11 10:25:11AM

I wrote a shellscript to debug the update-process in more detail.

It displays:
1. The changedates of the relevant files.
2. The version of the malware-def
3. Entries related to XProtect from System.log

You might need to modify the username for the grep-command though. Mine is "admin".


#!/bin/bash
# this is to test the XProtectUpdater-service.

XPROTECT_DIR="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/"
LOG_DIR="/private/var/log/"

echo
echo -e "\033[1;37m META-INFO \033[0m"
ls -l ${XPROTECT_DIR}XP*

echo
echo -e "\033[1;37m META-CONTENT \033[0m"
defaults read ${XPROTECT_DIR}XProtect.meta

echo
echo -e "\033[1;37m SYSTEM.LOG \033[0m"
su admin -c "grep XProtect* ${LOG_DIR}System.log"



[ Reply to This | # ]