<?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>Rootix Blog &#187; rot13</title>
	<atom:link href="http://www.rootix.ch/tag/rot13/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rootix.ch</link>
	<description>Technologie, Web 2.0, Fotografie, Ich</description>
	<lastBuildDate>Sun, 29 Aug 2010 13:01:23 +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>Email obfuscation</title>
		<link>http://www.rootix.ch/2010/02/02/email-obfuscation/</link>
		<comments>http://www.rootix.ch/2010/02/02/email-obfuscation/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 18:28:53 +0000</pubDate>
		<dc:creator>Pascal</dc:creator>
				<category><![CDATA[Technologie]]></category>
		<category><![CDATA[Web2.0]]></category>
		<category><![CDATA[Webentwicklung]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[rot13]]></category>
		<category><![CDATA[Verschlüsselung]]></category>

		<guid isPermaLink="false">http://www.rootix.ch/?p=564</guid>
		<description><![CDATA[Letzte Woche habe ich aufgrund eines WordPress Skins eine statische Variante für die Darstellung meines Profils erstellt. Dabei wollte ich aber die Emailadresse und auch die IM Adresse sicht- und lesbar darstellen, gleichzeitig aber nicht im absoluten Spamchaos enden. Es gibt diverse CSS Möglichkeiten, welche aber irgendwie nicht wirklich schön sind. Auf dem Tillate Techblog [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Letzte Woche habe ich aufgrund eines WordPress Skins eine statische Variante für die Darstellung meines <a href="http://www.rootix.ch/profil/" target="_blank">Profils</a> erstellt. Dabei wollte ich aber die Emailadresse und auch die IM Adresse sicht- und lesbar darstellen, gleichzeitig aber nicht im absoluten Spamchaos enden. Es gibt diverse CSS Möglichkeiten, welche aber irgendwie nicht wirklich schön sind. Auf dem<a href="http://techblog.tilllate.com/2008/07/20/ten-methods-to-obfuscate-e-mail-addresses-compared/" target="_blank"> Tillate Techblog</a> (Jaja da ist mehr als nur ein Partycommunity <img src='http://www.rootix.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) habe ich einen fast schon steinalten Post zum Thema gefunden.</p>
<p>Dabei wird neben CSS Möglichkeiten auf die ROT13 &#8220;Verschlüsselung&#8221; hingewiesen, welche man mit Javascript realisieren kann. ROT13 ist eigendlich nur eine Pseudoverschlüsselung. Hier werden einfach alle Buchstaben um 13 Stellen verschoben. Somit wird aus &#8220;Dies ist ein Test&#8221; dann &#8220;Qvrf vfg rva Grfg&#8221;. Eigentlich sehr simpel und schnell zu durchschauen. Aber bei Emailscan-Bots fällt hier die Emailadresse nicht auf, da sie beim Scannen nicht auf 1000 verschiedenen möglichen Emailverschlüsselungen prüfen, was relativ unperformant wäre.</p>
<p>Und so wird das ganze dann z.B. für einen kompletten Mailto Link gemacht:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;n uers=<span style="color: #000099; font-weight: bold;">\&quot;</span>znvygb:cnfpny.zngulf@ebbgvk.pu<span style="color: #000099; font-weight: bold;">\&quot;</span> ery=<span style="color: #000099; font-weight: bold;">\&quot;</span>absbyybj<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/[a-zA-Z]/g</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>c<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000066; font-weight: bold;">return</span> String.<span style="color: #660066;">fromCharCode</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>c<span style="color: #339933;">&lt;</span> <span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Z&quot;</span><span style="color: #339933;">?</span><span style="color: #CC0000;">90</span><span style="color: #339933;">:</span><span style="color: #CC0000;">122</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;=</span><span style="color: #009900;">&#40;</span>c<span style="color: #339933;">=</span>c.<span style="color: #660066;">charCodeAt</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">13</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span>c<span style="color: #339933;">:</span>c<span style="color: #339933;">-</span><span style="color: #CC0000;">26</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cnfpny.zngulf@ebbgvk.pu&quot;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/[a-zA-Z]/g</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>c<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000066; font-weight: bold;">return</span> String.<span style="color: #660066;">fromCharCode</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>c<span style="color: #339933;">&lt;</span> <span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Z&quot;</span><span style="color: #339933;">?</span><span style="color: #CC0000;">90</span><span style="color: #339933;">:</span><span style="color: #CC0000;">122</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;=</span><span style="color: #009900;">&#40;</span>c<span style="color: #339933;">=</span>c.<span style="color: #660066;">charCodeAt</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #CC0000;">13</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span>c<span style="color: #339933;">:</span>c<span style="color: #339933;">-</span><span style="color: #CC0000;">26</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>n<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Wie vermutet ergibt sich daraus meine Emailadresse inklusive dem mailto Link <img src='http://www.rootix.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Nachteil der Methode ist logischerweise, dass Browser ohne Javascript den Link nicht sehen. Aber wer in Zeiten von Facebook und vielen anderen Web 2.0 Seiten kein Javascript aktiviert hat, braucht auch keine Links <img src='http://www.rootix.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Einen guten ROT13 Generator findet ihr übrigens <a href="http://rot13.de/" target="_blank">hier</a>.</p>

	<h4>Verwandte Artikel</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.rootix.ch/2008/05/24/javascript-framework-iui/" title="Javascript Framework: iui (24. Mai 2008)">Javascript Framework: iui</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.rootix.ch/2010/02/02/email-obfuscation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 1/17 queries in 0.004 seconds using disk
Object Caching 274/387 objects using disk

Served from: www.rootix.ch @ 2010-09-10 03:19:58 -->