<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Obscufated email ?</title>
	<atom:link href="http://www.larsen-b.com/Article/167.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com/Article/167.html</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Mon, 02 Jul 2018 13:54:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
	<item>
		<title>By: Jkx</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-517</link>
		<dc:creator>Jkx</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-517</guid>
		<description><![CDATA[This is a sample post to show my email :=)]]></description>
		<content:encoded><![CDATA[<p>This is a sample post to show my email :=)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dagur</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-518</link>
		<dc:creator>Dagur</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-518</guid>
		<description><![CDATA[&lt;p&gt;For even shorter code:&lt;/p&gt;
&lt;p&gt;address=&quot;&lt;a class=&quot;reference&quot; href=&quot;mailto:some&#064;address.com&quot;&gt;some&#064;address.com&lt;/a&gt;&quot;
print &#039;&#039;.join([&quot;&amp;#%d;&quot; % ord(x) for x in address])&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>For even shorter code:</p>
<p>address=&quot;<a class="reference" href="mailto:some&#64;address.com">some&#64;address.com</a>&quot;<br />
print &#8221;.join([&quot;&amp;#%d;&quot; % ord(x) for x in address])</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jkx</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-519</link>
		<dc:creator>Jkx</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-519</guid>
		<description><![CDATA[&lt;p&gt;Yeah it&#039;s shorter, in fact the topic is &#039;Obscufated email&#039; not Obscufated Python :) ..  But your version is easy to read too ..&lt;/p&gt;
&lt;p&gt;-- Happy obscufated ? :)&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Yeah it&#8217;s shorter, in fact the topic is &#8216;Obscufated email&#8217; not Obscufated Python :) ..  But your version is easy to read too ..</p>
<p>&#8211; Happy obscufated ? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-520</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-520</guid>
		<description><![CDATA[Ofcourse you could also do:&lt;br /&gt;
&lt;br /&gt;
def cryptEmailAddress(addr):&lt;br /&gt;
&#160; &#160; return reduce(lambda a, b: &quot;%s&amp;#%d;&quot;%(a, ord(b)), addr,&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
:)]]></description>
		<content:encoded><![CDATA[<p>Ofcourse you could also do:</p>
<p>def cryptEmailAddress(addr):<br />
<br />
&nbsp; &nbsp; return reduce(lambda a, b: &#8220;%s&#%d;&#8221;%(a, ord(b)), addr,&#8221;)</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-521</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-521</guid>
		<description><![CDATA[&lt;p&gt;Ofcourse you could also do:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;def cryptEmailAddress(addr):&lt;/dt&gt;
&lt;dd&gt;return reduce(lambda a, b: &quot;%s&amp;#%d;&quot;%(a, ord(b)), addr,&#039;&#039;)&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;sorry about the raw crap ;)&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Ofcourse you could also do:</p>
<dl>
<dt>def cryptEmailAddress(addr):</dt>
<dd>return reduce(lambda a, b: &quot;%s&amp;#%d;&quot;%(a, ord(b)), addr,&#8221;)</dd>
</dl>
<p>sorry about the raw crap ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jkx</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-522</link>
		<dc:creator>Jkx</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-522</guid>
		<description><![CDATA[&lt;p&gt;In fact, i&#039;m working in a school, so I avoid this kind of stuf :)&lt;/p&gt;
&lt;p&gt;-- /join #perl-golf&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>In fact, i&#8217;m working in a school, so I avoid this kind of stuf :)</p>
<p>&#8211; /join #perl-golf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-523</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-523</guid>
		<description><![CDATA[&lt;p&gt;and ofcourse if you look from the spamers point of view:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;def decryptEmailAddress(obf):&lt;/dt&gt;
&lt;dd&gt;return reduce(lambda a, b: a+chr(int(b)), obf[2:-1].split(&#039;;&amp;#&#039;), &#039;&#039;)&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;:D&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>and ofcourse if you look from the spamers point of view:</p>
<dl>
<dt>def decryptEmailAddress(obf):</dt>
<dd>return reduce(lambda a, b: a+chr(int(b)), obf[2:-1].split(&#8216;;&amp;#&#8217;), &#8221;)</dd>
</dl>
<p>:D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-524</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-524</guid>
		<description><![CDATA[this is a very old trick, and i&#039;m sure all email address harvesters can already cope with this - it&#039;s almost as simple as the AT/DOT crap]]></description>
		<content:encoded><![CDATA[<p>this is a very old trick, and i&#8217;m sure all email address harvesters can already cope with this &#8211; it&#8217;s almost as simple as the AT/DOT crap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prisz</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-525</link>
		<dc:creator>Prisz</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-525</guid>
		<description><![CDATA[Oh, is it so easy to get on Python Daily? :-)&lt;br /&gt;
I&#039;ve been using this hack (in its one-liner form) for a long time. ;)&lt;br /&gt;
&lt;br /&gt;
So here&#039;s another scrambler so that I get famous: :D&lt;br /&gt;
def nojs_scramble(address):&lt;br /&gt;
&#160; &#160; r = &#039;&#039;&lt;br /&gt;
&#160; &#160; for x in xrange(len(address)):&lt;br /&gt;
&#160; &#160; &#160; &#160; if x % 2 == 0:&lt;br /&gt;
&#160; &#160; &#160; &#160; &#160;  r += address[x]&lt;br /&gt;
&#160; &#160; &#160; &#160; else:&lt;br /&gt;
&#160; &#160; &#160; &#160; &#160;  r += &#039;&amp;#%d;&#039; % ord(address[x])&lt;br /&gt;
&#160; &#160; return r&lt;br /&gt;
&lt;br /&gt;
def js_scramble(address):&lt;br /&gt;
&#160; &#160; r = &quot;var s=&#039;&#039;; &quot;;&lt;br /&gt;
&#160; &#160; for x in xrange(0,len(address),2):&lt;br /&gt;
&#160; &#160; &#160; &#160; r += &quot;s += &#039;%s&#039;; &quot; % address[x:x+2]&lt;br /&gt;
&#160; &#160; r += &quot;document.write(s);&quot;&lt;br /&gt;
&#160; &#160; return r&lt;br /&gt;
&lt;br /&gt;
def scramble(address):&lt;br /&gt;
&#160; &#160; import random&lt;br /&gt;
&#160; &#160; v = {}&lt;br /&gt;
&#160; &#160; v[&#039;nojs&#039;] = nojs_scramble(address)&lt;br /&gt;
&#160; &#160; v[&#039;js&#039;] = js_scramble(address)&lt;br /&gt;
&#160; &#160; result = &quot;&quot;&quot;&lt;br /&gt;
&#160; &#160;  &lt;script&gt;&lt;br /&gt;
&#160; &#160; &#160; %(js)s&lt;br /&gt;
&#160; &#160;  &lt;/script&gt;&lt;br /&gt;
&#160; &#160;  &lt;noscript&gt;&lt;br /&gt;
&#160; &#160; &#160; %(nojs)s&lt;br /&gt;
&#160; &#160;  &lt;/noscript&gt;&lt;br /&gt;
&#160; &#160; &quot;&quot;&quot; % v&lt;br /&gt;
&#160; &#160; return result&lt;br /&gt;
&lt;br /&gt;
print scramble(&#039;test@domain.com&#039;)&lt;br /&gt;
&lt;br /&gt;
This gives:&lt;br /&gt;
&lt;br /&gt;
&#160; &#160;  &lt;script&gt;&lt;br /&gt;
&#160; &#160; &#160; var s=&#039;&#039;; s += &#039;te&#039;; s += &#039;st&#039;; s += &#039;@d&#039;; s += &#039;om&#039;; s += &#039;ai&#039;; s += &#039;n.&#039;; s += &#039;co&#039;; s += &#039;m&#039;; document.write(s);&lt;br /&gt;
&#160; &#160;  &lt;/script&gt;&lt;br /&gt;
&#160; &#160;  &lt;noscript&gt;&lt;br /&gt;
&#160; &#160; &#160; t&#101;s&#116;@&#100;o&#109;a&#105;n&#046;c&#111;m&lt;br /&gt;
&#160; &#160;  &lt;/noscript&gt;&lt;br /&gt;
&#160; &#160; &lt;br /&gt;
]]></description>
		<content:encoded><![CDATA[<p>Oh, is it so easy to get on Python Daily? :-)<br />
<br />
I&#8217;ve been using this hack (in its one-liner form) for a long time. ;)</p>
<p>So here&#8217;s another scrambler so that I get famous: :D<br />
<br />
def nojs_scramble(address):<br />
<br />
&nbsp; &nbsp; r = &#8221;<br />
<br />
&nbsp; &nbsp; for x in xrange(len(address)):<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; if x % 2 == 0:<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  r += address[x]<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; else:<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  r += &#8216;&#%d;&#8217; % ord(address[x])<br />
<br />
&nbsp; &nbsp; return r</p>
<p>def js_scramble(address):<br />
<br />
&nbsp; &nbsp; r = &#8220;var s=&#8221;; &#8220;;<br />
<br />
&nbsp; &nbsp; for x in xrange(0,len(address),2):<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; r += &#8220;s += &#8216;%s&#8217;; &#8221; % address[x:x+2]<br />
<br />
&nbsp; &nbsp; r += &#8220;document.write(s);&#8221;<br />
<br />
&nbsp; &nbsp; return r</p>
<p>def scramble(address):<br />
<br />
&nbsp; &nbsp; import random<br />
<br />
&nbsp; &nbsp; v = {}<br />
<br />
&nbsp; &nbsp; v['nojs'] = nojs_scramble(address)<br />
<br />
&nbsp; &nbsp; v['js'] = js_scramble(address)<br />
<br />
&nbsp; &nbsp; result = &#8220;&#8221;"<br />
<br />
&nbsp; &nbsp;  <script>
<br />
&nbsp; &nbsp; &nbsp; %(js)s
<br />
&nbsp; &nbsp;  </script><br />
<br />
&nbsp; &nbsp;<br />
<noscript>
<br />
&nbsp; &nbsp; &nbsp; %(nojs)s<br />
<br />
&nbsp; &nbsp;  </noscript>
<p>
&nbsp; &nbsp; &#8220;&#8221;" % v<br />
<br />
&nbsp; &nbsp; return result</p>
<p>print scramble(&#8216;test@domain.com&#8217;)</p>
<p>This gives:</p>
<p>&nbsp; &nbsp;  &lt;script><br />
<br />
&nbsp; &nbsp; &nbsp; var s=&#8221;; s += &#8216;te&#8217;; s += &#8216;st&#8217;; s += &#8216;@d&#8217;; s += &#8216;om&#8217;; s += &#8216;ai&#8217;; s += &#8216;n.&#8217;; s += &#8216;co&#8217;; s += &#8216;m&#8217;; document.write(s);<br />
<br />
&nbsp; &nbsp;  &lt;/script><br />
<br />
&nbsp; &nbsp;  &lt;noscript><br />
<br />
&nbsp; &nbsp; &nbsp; t&#101;s&#116;@&#100;o&#109;a&#105;n&#46;c&#111;m<br />
<br />
&nbsp; &nbsp;  &lt;/noscript><br />
<br />
&nbsp; &nbsp;<br /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prisz</title>
		<link>http://www.larsen-b.com/Article/167.html/comment-page-1#comment-526</link>
		<dc:creator>Prisz</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-526</guid>
		<description><![CDATA[Oops, trouble with posting..&lt;br /&gt;
&lt;br /&gt;
&#160; &#160; result = &quot;&quot;&quot;&lt;br /&gt;
&#160; &#160;  &lt;script&gt;&lt;br /&gt;
&#160; &#160; &#160; %(js)s&lt;br /&gt;
&#160; &#160;  &lt;/script&gt;&lt;br /&gt;
&#160; &#160;  &lt;noscript&gt;&lt;br /&gt;
&#160; &#160; &#160; %(nojs)s&lt;br /&gt;
&#160; &#160;  &lt;/noscript&gt;&lt;br /&gt;
&#160; &#160; &quot;&quot;&quot; % v&lt;br /&gt;
]]></description>
		<content:encoded><![CDATA[<p>Oops, trouble with posting..</p>
<p>&nbsp; &nbsp; result = &#8220;&#8221;"<br />
<br />
&nbsp; &nbsp;  &lt;script><br />
<br />
&nbsp; &nbsp; &nbsp; %(js)s<br />
<br />
&nbsp; &nbsp;  &lt;/script><br />
<br />
&nbsp; &nbsp;  &lt;noscript><br />
<br />
&nbsp; &nbsp; &nbsp; %(nojs)s<br />
<br />
&nbsp; &nbsp;  &lt;/noscript><br />
<br />
&nbsp; &nbsp; &#8220;&#8221;" % v<br /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
