<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>SQL obfuscation</title>
        <description>Thought I might as well start a SQL obfuscation topic since I saw this in my feeds:-
http://isc.sans.edu/diary.html?storyid=9397</description>
        <link>http://sla.ckers.org/forum/read.php?24,35405,35405#msg-35405</link>
        <lastBuildDate>Thu, 23 May 2013 00:21:51 -0500</lastBuildDate>
        <generator>Phorum 5.2.15a</generator>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?24,35405,35411#msg-35411</guid>
            <title>Re: SQL obfuscation</title>
            <link>http://sla.ckers.org/forum/read.php?24,35405,35411#msg-35411</link>
            <description><![CDATA[omg newbie error dup thread doh]]></description>
            <dc:creator>Gareth Heyes</dc:creator>
            <category>Obfuscation</category>
            <pubDate>Mon, 16 Aug 2010 16:02:11 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?24,35405,35410#msg-35410</guid>
            <title>Re: SQL obfuscation</title>
            <link>http://sla.ckers.org/forum/read.php?24,35405,35410#msg-35410</link>
            <description><![CDATA[Guess what that one yields on SQLite?<br />
<br />
<pre class="bbcode">;;SELECt-&quot;'~!1&quot;'!,/*!\999*/1!\1</pre>
<br />
And this one on MySQL?<br />
<br />
<pre class="bbcode">SELECT-!!-1||! !N'1'|2</pre>]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Obfuscation</category>
            <pubDate>Mon, 16 Aug 2010 13:37:12 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?24,35405,35409#msg-35409</guid>
            <title>Re: SQL obfuscation</title>
            <link>http://sla.ckers.org/forum/read.php?24,35405,35409#msg-35409</link>
            <description><![CDATA[I would love to post some _ucs2 stuff but we all now the allowed char range here kinda forbids that :P<br />
<br />
What about <a href="http://sla.ckers.org/forum/read.php?24,33903" rel="nofollow" >this</a> thread?]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Obfuscation</category>
            <pubDate>Mon, 16 Aug 2010 13:26:08 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?24,35405,35407#msg-35407</guid>
            <title>Re: SQL obfuscation</title>
            <link>http://sla.ckers.org/forum/read.php?24,35405,35407#msg-35407</link>
            <description><![CDATA[Yeah pretty lame but I realized we hadn't done anything here<br />
<br />
.....<br />
Mysql:-<br />
SET @c = CONCAT(b'01010011',b'01100101',b'01001100',b'01100101',b'01100011',b'01110100',' ',b'00110001');<br />
PREPARE s FROM @c;EXECUTE s;<br />
<br />
Variation:-<br />
SET @c = CONCAT(_latin1 b'01010011',_latin1 b'01100101',_latin1 b'01001100',_latin1 b'01100101',_latin1 b'01100011',_latin1 b'01110100',' ',_latin1 b'00110001');<br />
PREPARE s FROM @c;EXECUTE s;<br />
<br />
SET @c = CONCAT(REPLACE(MAKE_SET(5,'SEL','xxxxx','ECT'), ',', ''),' 1');<br />
PREPARE s FROM @c;EXECUTE s;]]></description>
            <dc:creator>Gareth Heyes</dc:creator>
            <category>Obfuscation</category>
            <pubDate>Mon, 16 Aug 2010 10:35:32 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?24,35405,35406#msg-35406</guid>
            <title>Re: SQL obfuscation</title>
            <link>http://sla.ckers.org/forum/read.php?24,35405,35406#msg-35406</link>
            <description><![CDATA[Nice idea, I suspect a huge thread :) the sans example has been around for years btw. Simple cast, but requires a stored procedure or declared SQL function. Which is somewhat lame but useful for an attacker, but it can be done without it. Many ways I guess.]]></description>
            <dc:creator>Skyphire</dc:creator>
            <category>Obfuscation</category>
            <pubDate>Mon, 16 Aug 2010 10:32:16 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?24,35405,35405#msg-35405</guid>
            <title>SQL obfuscation</title>
            <link>http://sla.ckers.org/forum/read.php?24,35405,35405#msg-35405</link>
            <description><![CDATA[Thought I might as well start a SQL obfuscation topic since I saw this in my feeds:-<br />
http://isc.sans.edu/diary.html?storyid=9397]]></description>
            <dc:creator>Gareth Heyes</dc:creator>
            <category>Obfuscation</category>
            <pubDate>Mon, 16 Aug 2010 09:57:59 -0500</pubDate>
        </item>
    </channel>
</rss>
