<?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>Lars Schenk &#187; phpBB</title>
	<atom:link href="http://lars-schenk.com/tag/phpbb/feed" rel="self" type="application/rss+xml" />
	<link>http://lars-schenk.com</link>
	<description>IT-Services :: Software-Development since 1980 :: Freelancer since 1988</description>
	<lastBuildDate>Thu, 06 Oct 2011 02:44:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Besserer Captcha Code für phpBB</title>
		<link>http://lars-schenk.com/besserer_captcha_code_fuer_phpbb/82</link>
		<comments>http://lars-schenk.com/besserer_captcha_code_fuer_phpbb/82#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:42:57 +0000</pubDate>
		<dc:creator>Lars Schenk</dc:creator>
				<category><![CDATA[tech-recipes]]></category>
		<category><![CDATA[Captcha]]></category>
		<category><![CDATA[phpBB]]></category>

		<guid isPermaLink="false">http://www.lars-schenk.com/besserer_captcha_code_fuer_phpbb/82</guid>
		<description><![CDATA[Nachdem ich bereits vor einigen Monaten mit einer recht einfachen Modifikation eine zunächst wirksame Maßnahme gegen den geknackten Captcha Code des phpBB Forums eingesetzt habe, stieg in den letzten Wochen die Zahl der Spambot-Anmeldungen bei Classic-Cadillac.com/forum wieder dramatisch an. Die Bösen hatten also aufgerüstet und ich musste in die nächste Runde im Kampf gegen die [...]]]></description>
			<content:encoded><![CDATA[<p><img  title="Demo Captcha" style="float: left; margin-right: 20px; margin-bottom: 10px;" src="/images/captcha1.png" />Nachdem ich bereits vor einigen Monaten <a title="phpBB Patch um Spam-Anmeldungen zu erschweren" href="http://www.lars-schenk.com/phpbb-patch-um-spam-anmeldungen-zu-erschweren/44">mit einer recht einfachen Modifikation eine zunächst wirksame Maßnahme gegen den geknackten Captcha Code des phpBB Forums eingesetzt habe</a>, stieg in den letzten Wochen die Zahl der Spambot-Anmeldungen bei <a href="http://www.classic-cadillac.com/forum/">Classic-Cadillac.com/forum</a> wieder dramatisch an. Die Bösen hatten also aufgerüstet und ich musste in die nächste Runde im Kampf gegen die Spambots. <span id="more-82"></span></p>
<p>Mir waren Lösungen bekannt bei denen mehrere phpBB Mods in Kombination eingesetzt werden um die Spam-Flut in den Griff zu bekommen. Aber diese Lösungen erschienen mir alle nicht sehr elegant und verstärkten nur meine Verwunderung warum das phpBB-Team das Spam-Problem nicht mal offiziell in die Hand nimmt. Ich wollte mein phpBB Installationen jedenfalls nicht durch kaskadierte Mods vom original Code entfremden und für Upgrade umständlicher zu handhaben machen. Daher greife ich nun auf das <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=473222">BetterCaptcha Mod</a> zurück. Das Mod lässt sich mit einem "minimal-invasiven Eingriff" am original-Code einbinden und ist daher genau nach meinem Geschmack:</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#-----<span style="color:#006600; font-weight:bold;">&#91;</span> COPY <span style="color:#006600; font-weight:bold;">&#93;</span>------------------------------------------</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">copy root/includes<span style="color:#008000;">/*.* to includes/*.*</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">#-----[ OPEN ]------------------------------------------</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">profile.php</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">#-----[ FIND ]------------------------------------------</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp; include($phpbb_root_path . 'includes/usercp_confirm.'.$phpEx);</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">#-----[ REPLACE WITH ]------------------------------------------</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp; include($phpbb_root_path . 'includes/usercp_captcha.'.$phpEx);</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"># EoM </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Das BetterCaptcha Mod setzt die GD Extension voraus, was wohl auch der Grund ist, weshalb phpBB eine solche überlegenere Lösung nicht per Default anbietet, weil GD nicht auf jedem Server vorausgesetzt werden kann. Naja, aber dann könnte man ja die alte statische Captcha-Lösung als Fallback-Lösung anbieten, wenn GD nicht verfügbar ist. Aber was soll ich mir den Kopf des phpBB-Teams zerbrechen. Mir ist dank des "BetterCaptcha" Mods erstmal geholfen und ich werde die nächsten Tage mal beobachten, wie sich die Spam-Registrierungen entwickeln werden.</p>
<p>Update 26.11.06: Auch dieser Captcha-Code scheint offenbar schon bezwungen. Die Spam-Anmeldungen sind zwar deutlich weniger geworden - aber es kommen immer noch vereinzelt welche durch. Ich habe nun die Fonts ausgetauscht um es den SpamBots nicht zu einfach zu machen. Allerdings setze ich damit leider auch die Hürde für echte Anwender recht hoch, sich beim Forum anzumelden:<br />
<center><br />
<img src="/images/captcha1.png" title="Demo Captcha"/><br />
<img src="/images/captcha2.png" title="Demo Captcha"/><br />
<img src="/images/captcha3.png" title="Demo Captcha"/><br />
<img src="/images/captcha4.png" title="Demo Captcha"/><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://lars-schenk.com/besserer_captcha_code_fuer_phpbb/82/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

