<?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>Adtools &#187; decompilation</title>
	<atom:link href="http://blog.adtools.co.uk/tag/decompilation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adtools.co.uk</link>
	<description>Advertising Operations &#38; Ad Technology, insights from within the world of AdOps.</description>
	<lastBuildDate>Wed, 25 Aug 2010 09:56:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Contenio &#8211; &#8216;Pre-flighting&#8217; your creative before your you do.</title>
		<link>http://blog.adtools.co.uk/contenio-pre-flighting-your-creative-before-your-you-do/370/</link>
		<comments>http://blog.adtools.co.uk/contenio-pre-flighting-your-creative-before-your-you-do/370/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 10:20:35 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[AdOps]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[decompilation]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[qa]]></category>
		<category><![CDATA[quality assurance]]></category>
		<category><![CDATA[swf]]></category>

		<guid isPermaLink="false">http://blog.adtools.co.uk/?p=370</guid>
		<description><![CDATA[A number of years ago I had a meeting with OneVision, a company used in newspaper/print for pre-production/press Quality Assurance amongst others things. At the time we were looking at trying to resolve issues with badly coded flash ads, where the clickTag() hadn&#8217;t been set properly or been set to CLICKTAG() or cLiCKTag() or some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.onevision.com/contenio.html"><img src="http://blog.adtools.co.uk/wp-content/uploads/2010/01/contenio.gif" alt="contenio" title="contenio" width="299" height="218" class="alignright size-full wp-image-377" /></a>A number of years ago I had a meeting with <a href="http://www.onevision.com/">OneVision</a>, a company used in newspaper/print for pre-production/press Quality Assurance amongst others things. At the time we were looking at trying to resolve issues with badly coded flash ads, where the clickTag() hadn&#8217;t been set properly or been set to CLICKTAG() or cLiCKTag() or some equally silly alternative. </p>
<p>In the past we used, and still do, tools such as <a href="http://www.sothink.com/product/flashdecompiler/">Sothink SWF Decompiler</a> and <a href="http://www.buraks.com/uae/">URLActionEditor</a> to analyse flash files and amend them accordingly. But enter OneVision wo&#8217;ve been busy in the intervening years and by all accounts have built out a fully-featured pre-flighting tool called <a href="http://www.onevision.com/contenio.html">Contenio</a> for use by online AdOps departments to check and authorise creatives as they come into the department. I haven&#8217;t yet seen the product working but I&#8217;m hopeful it will address some of the ore recurrent themes such as checking for clickTag() case sensitivity/spelling, fix _root. issues, check for embedded urls, check for target=&#8221;_blank&#8221; etc, but hopefully we&#8217;ll get to see this in action soon and report back our findings.</p>
<p>For those of you trying to automate out your QA process this could be of vital interest. I look forward to speaking to someone who&#8217;s currently or planning on working with this soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adtools.co.uk/contenio-pre-flighting-your-creative-before-your-you-do/370/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SWFTools on Dreamhost accounts</title>
		<link>http://blog.adtools.co.uk/installing-swftools-on-dreamhost-accounts/12/</link>
		<comments>http://blog.adtools.co.uk/installing-swftools-on-dreamhost-accounts/12/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 15:49:54 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AdOps]]></category>
		<category><![CDATA[adtools]]></category>
		<category><![CDATA[decompilation]]></category>
		<category><![CDATA[decompiler]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[swftools]]></category>

		<guid isPermaLink="false">http://blog.adtools.co.uk/?p=12</guid>
		<description><![CDATA[I&#8217;ve been with Dreamhost for a fair few years now. They provide good value feature-rich hosting on (usually) solid servers. One of the reasons I was attracted to them was they gave you SSH access which back in 2001/2 was hard to come by. Since then I&#8217;ve built Adtools up as a solid reliable platform [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been with Dreamhost for a fair few years now. They provide good value feature-rich hosting on (usually) solid servers. One of the reasons I was attracted to them was they gave you SSH access which back in 2001/2 was hard to come by. Since then I&#8217;ve built Adtools up as a solid reliable platform for the <a href="http://www.telegraph.co.uk">Telegraph</a>&#8216;s Advertising Operations Department with lots of tools which I will be detailing and explaining through this blog over the coming months.</p>
<p>Recently I&#8217;ve been looking at ways we can programmatically analyse ad file types and then test them against agreed standards. This will be for GIFs, JPG, PNG and more importantly SWFs. However, SWF decompilation can be a tricky beast and I plan on delving into the more in-depth in a related article but for the meantime here are a few tools that can accomplish it that we use ourselves. So lets begin:</p>
<p><strong>SWFTools: [<a href="http://www.swftools.org/">http://www.swftools.org/</a>]</strong><br />
SWFTools is a set of command-line utilities for interacting with Flash files on the server. They provide the ability to create and decompile flash units and as they are on the command line means that web-services are able to interact with them, meaning you can build your own web-tools or incorporate them into back-systems you may have built in-house. I&#8217;m not going to delve into how to use this tool here just yet but I will go about showing you how, given shell access to your hosting account you should be able to install these tools locally.</p>
<p>The quick answer to getting this up on your account is to amend the <strong>./configure</strong> line to include a <strong>&#8211;prefix=/home/UASERNAMEHERE/swtoolsinstalldir</strong> I&#8217;ll cover this in full below.</p>
<p>The <a href="http://wiki.swftools.org/index.php/FAQ">SWFTools FAQ</a> details standard installation as:<br />
<code><strong><br />
tar -zvxf swftools-0.x.x.tar<br />
cd swftools-0.x.x<br />
./configure<br />
make<br />
make install<br />
</strong></code><br />
This would fail on Dreamhost accounts as the <code>make install</code> requires <strong>root</strong> access which you&#8217;re not going to get top be honest. But never fear, this is easily circumvented without putting security at risk. The key here is to not try and install this on a machine-wide basis, that is create your own instance this program locally to your account.</p>
<ul>
<li> Create a directory called swftools in your home directory</li>
<li> chdir into this directory and download the required tar.gz [At time of writing this was <a href="http://www.swftools.org/swftools-2009-08-24-2042.tar.gz">http://www.swftools.org/swftools-2009-08-24-2042.tar.gz</a>]</li>
<li> untar/unzip this to that dir</li>
<li> chdir to the the folder this has created</li>
<li> run the nromal installation script but change the ./configure line to &#8220;<strong>./configure &#8211;prefix=/home/USERNAMEHERE/swftools/</strong>&#8221; where USERNAMEHERE is replaced by your username</li>
<li> complete the rest of script as detailed in the FAQ</li>
<li> after this is installed change up a directory and remove the source files and directories</li>
</ul>
<p>I&#8217;ve written this out a single list of commands here, remember to change the <strong>USERNAMEHERE</strong> to your account username.<br />
<code><strong><br />
cd ~/<br />
mkdir swftools<br />
cd swftools<br />
wget http://www.swftools.org/swftools-2009-08-24-2042.tar.gz<br />
tar -zxvf swftools-2009-08-24-2042.tar.gz<br />
cd swftools-2009-08-24-2042<br />
./configure --prefix=/home/USERNAME/swftools<br />
make<br />
make install<br />
cd ..<br />
rm -rf swftools-*<br />
</strong></code><br />
And that should be that <img src='http://blog.adtools.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  To verify your installation do the following:<br />
<code><strong>~/swftools/bin/swfdump -V</strong></code><br />
You should get back a response along the lines of<br />
<code><strong>swfdump - part of swftools 2009-08-24-2042</strong></code><br />
If that&#8217;s there then Bob is your proverbial uncle and you&#8217;ve successfully managed to install SWFTools, well done.</p>
<p><strong>NOTES:</strong><br />
When I configured my SWFTools I got one error:<br />
<code><strong>checking for missing libraries...  ungif gif_lib.h<br />
***************************************************<br />
* The following headers/libraries are missing:  ungif gif_lib.h<br />
* Disabling gif2swf tool...<br />
***************************************************</strong></code><br />
Which means I don&#8217;t have access to the gif2swf feature, but that was not needed for my purposes. When I work out how to fix this I&#8217;ll post this fix back here as well. Have fun and please post back your successes and any interesting tolls you&#8217;ve created from it&#8230; happy coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adtools.co.uk/installing-swftools-on-dreamhost-accounts/12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
