<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AB-WebLog.com&#187; VirusTotal</title>
	<atom:link href="http://www.ab-weblog.com/en/tag/virustotal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ab-weblog.com/en</link>
	<description>Andreas Breitschopp</description>
	<lastBuildDate>Wed, 18 Mar 2015 09:47:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP Script for Accessing VirusTotal API Version 2.0</title>
		<link>http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/</link>
		<comments>http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 10:53:28 +0000</pubDate>
		<dc:creator>Andreas Breitschopp</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[VirusTotal]]></category>

		<guid isPermaLink="false">http://www.ab-weblog.com/en/?p=443</guid>
		<description><![CDATA[Recently VirusTotal updated its API to version 2.0. As the version 1.0 is now deprecated, I have also updated my PHP script for accessing this API: Download PHP script for accessing VirusTotal API version 2.0 For a detailed description of this API &#8230; <a href="http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently <a title="VirusTotal Service Website" href="http://www.virustotal.com" target="_blank">VirusTotal</a> updated its API to version 2.0. As the version 1.0 is now deprecated, I have also <a title="Using PHP to Access the Public VirusTotal API" href="http://www.ab-weblog.com/en/using-php-to-access-the-public-virustotal-api/">updated my PHP script for accessing this API</a>:</p>
<p style="text-align: center;"><strong><a title="VirusTotal API 2.0 PHP Implementation" href="http://www.ab-weblog.com/en/files/virustotal-api-2-0-php-implementation.zip">Download PHP script for accessing VirusTotal API version 2.0</a></strong></p>
<p style="text-align: left;">For a detailed description of this API implementation, please have a look on my <a title="Using PHP to Access the Public VirusTotal API" href="http://www.ab-weblog.com/en/using-php-to-access-the-public-virustotal-api/">post about VirusTotal API version 1.0</a>.</p>
<p style="text-align: left;"><em>Let me know if you have any questions or problems using this PHP API script.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Using PHP to Access the Public VirusTotal API</title>
		<link>http://www.ab-weblog.com/en/using-php-to-access-the-public-virustotal-api/</link>
		<comments>http://www.ab-weblog.com/en/using-php-to-access-the-public-virustotal-api/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 15:42:04 +0000</pubDate>
		<dc:creator>Andreas Breitschopp</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[VirusTotal]]></category>

		<guid isPermaLink="false">http://www.ab-weblog.com/en/?p=411</guid>
		<description><![CDATA[Updated script for VirusTotal API Version 2.0! As there is nowadays many spyware and malware out there, it is important to make sure that your own server stays clean. Therefore I often use the great VirusTotal service to check suspicious &#8230; <a href="http://www.ab-weblog.com/en/using-php-to-access-the-public-virustotal-api/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong><a title="PHP Script for Accessing VirusTotal API Version 2.0" href="http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/">Updated script for VirusTotal API Version 2.0!</a></strong></p>
<p>As there is nowadays many spyware and malware out there, it is important to make sure that your own server stays clean.</p>
<p>Therefore I often use the great <a title="VirusTotal Service Website" href="http://www.virustotal.com" target="_blank">VirusTotal service</a> to check suspicious files.</p>
<p>For a certain project I wanted to automate this to be able to check some files and URLs in defined time intervals automatically. This can be easily done with the public VirusTotal API.</p>
<p>Unfortunately the link to the PHP implementation provided on the VirusTotal website is down. Therefore I decided to do my own PHP implementation of this API.</p>
<p>You can <a title="VirusTotal API PHP Implementation" href="http://www.ab-weblog.com/en/files/virustotal-api-php-implementation.zip">download a copy of my implementation</a>. The download contains also a small example script explaining how to use it. You&#8217;re free to use the implementation in your own projects. Of course, I&#8217;d be happy about a small backlink. <img src='http://www.ab-weblog.com/en/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In my API implementation not only the default API functions are implemented that are well documented and therefore not explained here, but there are also several helper functions to make life easier which I will explain in the following:</p>
<ul>
<li><code class="brush: php; gutter: false">getScanID($result)</code>: returns the scan ID of a scan result that you can use to query a scan report later on.</li>
<li><code class="brush: php; gutter: false">displayResult($result)</code>: displays a scan or submission result in a user readable way.</li>
<li><code class="brush: php; gutter: false">getSubmissionDate($report)</code>: returns the submission date of a scan report.</li>
<li><code class="brush: php; gutter: false">getTotalNumberOfChecks($report)</code>: returns the total number of anti-virus checks of a scan report.</li>
<li><code class="brush: php; gutter: false">getNumberHits($report)</code>: returns the number of anti-virus hits (malware) of a scan report.</li>
<li><code class="brush: php; gutter: false">getReportPermalink($report, $withDate = TRUE)</code>: returns the permalink of the scan report. If <code class="brush: php; gutter: false">$withDate == TRUE</code>, permalink returns exactly the current scan report, otherwise it returns always the most recent scan report.</li>
</ul>
<p>These helper functions should make it much easier to work with the API results as you don&#8217;t need to care about the details of the returned JSON object anymore. <a title="VirusTotal API PHP Implementation" href="http://www.ab-weblog.com/en/files/virustotal-api-php-implementation.zip">Therefore here again the download of my free API implementation.</a></p>
<p><strong><a title="PHP Script for Accessing VirusTotal API Version 2.0" href="http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/">Updated script for VirusTotal API Version 2.0!</a></strong></p>
<p><em>Did you use the VirusTotal service already yourself?</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ab-weblog.com/en/using-php-to-access-the-public-virustotal-api/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->