<?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>Tubejumper &#187; possible</title>
	<atom:link href="http://www.tubejumper.com/index.php/category/possible/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tubejumper.com</link>
	<description></description>
	<lastBuildDate>Sun, 12 Jun 2011 02:40:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/><cloud domain='www.tubejumper.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Decrypting MS SQL 2000 Stored Procedures</title>
		<link>http://www.tubejumper.com/index.php/2008/06/19/decrypting-ms-sql-2000-stored-procedures/</link>
		<comments>http://www.tubejumper.com/index.php/2008/06/19/decrypting-ms-sql-2000-stored-procedures/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 21:32:04 +0000</pubDate>
		<dc:creator>shawn</dc:creator>
				<category><![CDATA[possible]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[decrypt]]></category>
		<category><![CDATA[encrypted]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[stored procedures]]></category>

		<guid isPermaLink="false">http://www.tubejumper.com/index.php/2008/06/19/decrypting-ms-sql-2000-stored-procedures/</guid>
		<description><![CDATA[I ran across the need to decrypt some stored procedures.  I&#8217;m writing an interface to a large enterprise application that the company I work for makes.  I just want to see the stored procedure code so I could understand what it was doing.  Everytime I asked for access to the source code it was like I was ...]]></description>
			<content:encoded><![CDATA[<p>I ran across the need to decrypt some stored procedures.  I&#8217;m writing an interface to a large enterprise application that the company I work for makes.  I just want to see the stored procedure code so I could understand what it was doing.  Everytime I asked for access to the source code it was like I was asking for emails from the white house.  Finally I figured I would just have to go it alone.</p>
<p>So after about 5 minutes of surfing and passing by shareware products, I came across this url, <a href="http://searchwindevelopment.techtarget.com/tip/0,289483,sid8_gci841704,00.html">Decrypt encrypted stored procedures</a>.</p>
<p>I took the stored procedure and turned it into a script that would automatically decrypt the stored procedures in a database.  One thing this can&#8217;t handle is decrypting stored procedures that are > 4000 characters, since they take up more the 1 row in syscomments.  So for me I was able to decrypt about half of the 1300 stored procedures this application uses.  Also about half the decrypted stored procedures were recreated under the id I was running the script with rather then dbo.</p>
<p>The logic is pretty simple to follow so I think I might spend some time and build a .net app to decrypt the stored procedures that are > 4000 characters.  Don&#8217;t hold your breath though, with the stored procedures I decrypted and profiler I was figure out what I needed to figure out.</p>
<p>Download: <a href="http://tubejumper.com/files/decrypt.vbs">decrypt.vbs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tubejumper.com/index.php/2008/06/19/decrypting-ms-sql-2000-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

