<?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>Oracle of ONE1 &#187; hack</title>
	<atom:link href="http://dvector.com/oracle/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://dvector.com/oracle</link>
	<description>Obscure words of unity</description>
	<lastBuildDate>Wed, 31 Aug 2011 21:25:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Facile Forms Spam Hack</title>
		<link>http://dvector.com/oracle/2008/05/15/facile-forms-spam-hack/</link>
		<comments>http://dvector.com/oracle/2008/05/15/facile-forms-spam-hack/#comments</comments>
		<pubDate>Thu, 15 May 2008 16:35:48 +0000</pubDate>
		<dc:creator>oracle</dc:creator>
				<category><![CDATA[joomla]]></category>
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://dvector.com/oracle/2008/05/15/facile-forms-spam-hack/</guid>
		<description><![CDATA[Please see comments.
Some of my Joomla! sites use Facile Forms to manage their forms. This extension is getting a little aged and the developer has indicated he might not upgrade the code for new versions of Joomla!.
Recently, a Facile Forms user complained they were receiving form spam. (Form spam is similar to email spam only [...]]]></description>
			<content:encoded><![CDATA[<p>Please see comments.</p>
<p>Some of my Joomla! sites use Facile Forms to manage their forms. This extension is getting a little aged and the developer has indicated he might not upgrade the code for new versions of Joomla!.</p>
<p>Recently, a Facile Forms user complained they were receiving form spam. (Form spam is similar to email spam only the spammer uses website forms to insure delivery to real users.)  Facile Forms has a security code CAPTCHA to block form spam but obviously it was not working. So I removed the Facile Form CAPTCHA and implemented a different CAPTCHA.</p>
<p><span id="more-32"></span></p>
<p>This blocked a large portion of the form spam but a few were still trickling through. I found a <a title="Facile Form Hack" href="http://me.yer.ch/blog/2008/03/14/facileforms/facileform-anti-spam-hack">short post </a>indicating a hack that might help. It seems that Facile Forms does not do a check to ensure that the post is coming from a recently served page on your site and that the fields are validated only by javascript.</p>
<p>Short of replacing Facile Forms, which I shall do shortly, I hacked it. The hack  varies slightly from the Meyer hack above.</p>
<h2>Oracle Hack of Facile Forms</h2>
<p>Add a line to the file components/com_facileforms/facileforms.process.php (at line 3081)</p>
<pre>//hack to check referer; 1 line added
if(stripos($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST'])===false) $this-&gt;suicide();</pre>
<p>There are of course problems with this hack; referrer can be spoofed and not all clients send referrer headers. But it should cover my users until I get the extension replaced.</p>
]]></content:encoded>
			<wfw:commentRss>http://dvector.com/oracle/2008/05/15/facile-forms-spam-hack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

