Thanks to Webmaster Tips for the reminder about using lynx to pull the content of a web page without saving it to a file.
Using their method, we can quickly check the "Total Threat count" on Norton's Safe Web site for a domain using:
lynx -source "http://safeweb.norton.com/report/show?name=domain.com" | grep -i "Total threats found:" | awk -F '>' '{print $2}' | awk -F '<' '{print $1}'
Not all that pretty, but effective nonetheless. Looking to add 2-3 more command line based checks, including Google's Safe Browsing API.
Wednesday, September 9, 2009
Subscribe to:
Posts (Atom)