<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feedproxy.google.com/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feedproxy.google.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>busin3ss's black hat seo blog</title>
	
	<link>http://blackhatseo-blog.com</link>
	<description>spam 2.0</description>
	<pubDate>Wed, 15 Oct 2008 21:50:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feedproxy.google.com/Busin3ss" type="application/rss+xml" /><item>
		<title>easyComment Firefox Extension</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/RgugaozjWB0/easycomment-firefox-extension</link>
		<comments>http://blackhatseo-blog.com/easycomment-firefox-extension#comments</comments>
		<pubDate>Fri, 10 Oct 2008 05:20:13 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[tool]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=122</guid>
		<description><![CDATA[My friend beni just released a nifty and free Mozilla Firefox extension that atomates the tedious task of posting comments on Wordpress blogs. It will automatically find the form and add all the necessary information, so you just have to write the comment.
Check it out here: http://blog.bf-itservice.de/82/easycomment-firefox-extension (Scroll down to see the english version)
]]></description>
			<content:encoded><![CDATA[<p>My friend <a href="http://blog.bf-itservice.de">beni</a> just released a nifty and free Mozilla Firefox extension that atomates the tedious task of posting comments on Wordpress blogs. It will automatically find the form and add all the necessary information, so you just have to write the comment.</p>
<p>Check it out here: <a href="http://blog.bf-itservice.de/82/easycomment-firefox-extension">http://blog.bf-itservice.de/82/easycomment-firefox-extension</a> (Scroll down to see the english version)</p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/RgugaozjWB0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/easycomment-firefox-extension/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/easycomment-firefox-extension</feedburner:origLink></item>
		<item>
		<title>Twitter Contest (3)</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/bAaOgLwBIt4/twitter-contest-3</link>
		<comments>http://blackhatseo-blog.com/twitter-contest-3#comments</comments>
		<pubDate>Tue, 07 Oct 2008 21:03:13 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[blogfarmexplosion]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[yacg]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=120</guid>
		<description><![CDATA[Want an 80% of discount on the first month and a 25% lifetime discount on http://blogfarmexplosion.com? What about a 50% discount on [YACG] Mass Installer?
Send me a reply at http://twitter.com/busin3ss and if you are between the first ten on doing it, you just won!
First come, first served so hurry!
]]></description>
			<content:encoded><![CDATA[<p>Want an 80% of discount on the first month and a 25% lifetime discount on <a href="http://blogfarmexplosion.com">http://blogfarmexplosion.com</a>? What about a 50% discount on <a href="http://yacgmassinstaller.com">[YACG] Mass Installer</a>?</p>
<p>Send me a reply at <a href="http://twitter.com/busin3ss">http://twitter.com/busin3ss</a> and if you are between the first ten on doing it, you just won!</p>
<p>First come, first served so hurry!</p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/bAaOgLwBIt4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/twitter-contest-3/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/twitter-contest-3</feedburner:origLink></item>
		<item>
		<title>Books I’m reading right now</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/xcpGSwkZr3w/books-im-reading-right-now</link>
		<comments>http://blackhatseo-blog.com/books-im-reading-right-now#comments</comments>
		<pubDate>Tue, 30 Sep 2008 21:40:34 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[books]]></category>

		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=118</guid>
		<description><![CDATA[
Mastering Regular Expressions

RESTful Web Services

Programming Erlang: Software for a Concurrent World
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596528124"><img src="http://ecx.images-amazon.com/images/I/51eNgrxCvyL._SL160_.jpg" alt="" /></a></p>
<p style="text-align: center;"><a name="evtst|a|0596528124" href="http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596528124">Mastering Regular Expressions</a></p>
<p style="text-align: center;"><a href="http://www.amazon.com/RESTful-Web-Services-Leonard-Richardson/dp/0596529260%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596529260"><img src="http://ecx.images-amazon.com/images/I/51e67JXaX5L._SL160_.jpg" alt="" /></a></p>
<p style="text-align: center;"><a name="evtst|a|0596529260" href="http://www.amazon.com/RESTful-Web-Services-Leonard-Richardson/dp/0596529260%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596529260">RESTful Web Services</a></p>
<p style="text-align: center;"><a href="http://www.amazon.com/Programming-Erlang-Software-Concurrent-World/dp/193435600X%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D193435600X"><img src="http://ecx.images-amazon.com/images/I/41PZoINyrRL._SL160_.jpg" alt="" /></a><a name="evtst|a|193435600X" href="http://www.amazon.com/Programming-Erlang-Software-Concurrent-World/dp/193435600X%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D193435600X"></a></p>
<p style="text-align: center;"><a name="evtst|a|193435600X" href="http://www.amazon.com/Programming-Erlang-Software-Concurrent-World/dp/193435600X%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dluiscocom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D193435600X">Programming Erlang: Software for a Concurrent World</a></p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/xcpGSwkZr3w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/books-im-reading-right-now/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/books-im-reading-right-now</feedburner:origLink></item>
		<item>
		<title>PubCon Coupon</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/tttrUBRHOmA/pubcon-coupon</link>
		<comments>http://blackhatseo-blog.com/pubcon-coupon#comments</comments>
		<pubDate>Tue, 30 Sep 2008 19:44:51 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[coupons]]></category>

		<category><![CDATA[pubcon]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=115</guid>
		<description><![CDATA[Any exhibitor or sponsor out there that could hook me up with a coupon code for Pubcon? (Yes, I&#8217;m being cheap!)
I&#8217;m planning on attending this year, should be pretty fun! If you are interested in chit-chatting with me over there, send me an email to busin3ss [at] gmail [dot] com&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Any exhibitor or sponsor out there that could hook me up with a coupon code for Pubcon? (<span style="text-decoration: line-through;">Yes, I&#8217;m being cheap!</span>)</p>
<p>I&#8217;m planning on attending this year, should be pretty fun! If you are interested in chit-chatting with me over there, send me an email to busin3ss [at] gmail [dot] com&#8230;</p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/tttrUBRHOmA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/pubcon-coupon/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/pubcon-coupon</feedburner:origLink></item>
		<item>
		<title>Twitter Contest (2)</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/B_l9bfkuRwM/twitter-contest-2</link>
		<comments>http://blackhatseo-blog.com/twitter-contest-2#comments</comments>
		<pubDate>Wed, 24 Sep 2008 00:40:59 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[contests]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=112</guid>
		<description><![CDATA[The contest will be held before the end of the month, so make sure you add me to http://twitter.com/busin3ss if you want to participate and win some great discounts for http://blogfarmexplosion.com and http://yacgmassinstaller.com! 
There will be other surprises aswell.

]]></description>
			<content:encoded><![CDATA[<p>The contest will be held before the end of the month, so make sure you add me to <span class="entry-content"><a href="http://twitter.com/busin3ss">http://twitter.com/busin3ss</a> if you want to participate and win some great discounts for </span><span class="entry-content"><a rel="nofollow" href="http://blogfarmexplosion.com/" target="_blank">http://blogfarmexplosion.com</a> and <a rel="nofollow" href="http://yacgmassinstaller.com/" target="_blank">http://yacgmassinstaller.com</a>! </span></p>
<p><span class="entry-content">There will be other surprises aswell.<br />
</span></p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/B_l9bfkuRwM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/twitter-contest-2/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/twitter-contest-2</feedburner:origLink></item>
		<item>
		<title>Manually Spamming Blogs</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/E2vpTiOj6ts/manually-spamming-blogs</link>
		<comments>http://blackhatseo-blog.com/manually-spamming-blogs#comments</comments>
		<pubDate>Wed, 24 Sep 2008 00:38:10 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[comment]]></category>

		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=110</guid>
		<description><![CDATA[Lately I&#8217;ve seen a rise of referrers like this on several of my sites:
[20/Sep/2008:07:02:26 -0500] &#8220;GET /hotmail-captcha-extraction HTTP/1.1&#8243; 200 11473 &#8220;http://www.google.co.in/search?hl=en&#38;q=%2B%22Leave+a+Reply%22+%2B%22Name+(required)%22+%2BEmail+(required)&#38;start=130&#38;sa=N&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)&#8221;
You can add all the captchas you want, but you&#8217;ll never defeat someone manually spamming your sites 
]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve seen a rise of referrers like this on several of my sites:</p>
<blockquote><p>[20/Sep/2008:07:02:26 -0500] &#8220;GET /hotmail-captcha-extraction HTTP/1.1&#8243; 200 11473 &#8220;http://www.google.co.in/search?hl=en&amp;q=%2B%22Leave+a+Reply%22+%2B%22Name+(required)%22+%2BEmail+(required)&amp;start=130&amp;sa=N&#8221; &#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)&#8221;</p></blockquote>
<p>You can add all the captchas you want, but you&#8217;ll never defeat someone manually spamming your sites <img src='http://blackhatseo-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/E2vpTiOj6ts" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/manually-spamming-blogs/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/manually-spamming-blogs</feedburner:origLink></item>
		<item>
		<title>Twitter Contest</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/jWsvW3JGOys/twitter-contest</link>
		<comments>http://blackhatseo-blog.com/twitter-contest#comments</comments>
		<pubDate>Mon, 22 Sep 2008 00:10:03 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[blogfarmexplosion]]></category>

		<category><![CDATA[contests]]></category>

		<category><![CDATA[yacg]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=108</guid>
		<description><![CDATA[ I&#8217;m going to hold a small contest over twitter, over 50% discount on http://blogfarmexplosion.com and http://yacgmassinstaller.com! Make sure you add me http://twitter.com/busin3ss so you&#8217;re able to participate  
]]></description>
			<content:encoded><![CDATA[<p><span class="entry-content"> I&#8217;m going to hold a small contest over twitter, over 50% discount on <a rel="nofollow" href="http://blogfarmexplosion.com/" target="_blank">http://blogfarmexplosion.com</a> and <a rel="nofollow" href="http://yacgmassinstaller.com/" target="_blank">http://yacgmassinstaller.com</a>! Make sure you add me <a href="http://twitter.com/busin3ss">http://twitter.com/busin3ss</a> so you&#8217;re able to participate <img src='http://blackhatseo-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/jWsvW3JGOys" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/twitter-contest/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/twitter-contest</feedburner:origLink></item>
		<item>
		<title>Hotmail Captcha Extraction</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/vYmsxsKUsDg/hotmail-captcha-extraction</link>
		<comments>http://blackhatseo-blog.com/hotmail-captcha-extraction#comments</comments>
		<pubDate>Wed, 03 Sep 2008 01:59:33 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[captcha]]></category>

		<category><![CDATA[hotmail]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=106</guid>
		<description><![CDATA[Please start by reading this post where I explain everything about this code, thanks!
This is the code for the Hotmail Image Captcha, and the one for the audio captcha is below the jump  

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
	//This script pulls CAPTCHAs from $urlHotmail and saves them to folder $saveHotmail from the range $startImage to $endImage.
	$urlHotmail = &#34;http://hipservice.live.com/hipImageDirect.srf?id=68692&#38;config=Hard8Char&#38;tk=1205287476696&#34;;
	$saveHotmail = [...]]]></description>
			<content:encoded><![CDATA[<p>Please start by reading <a href="http://blackhatseo-blog.com/yahoo-captcha-extraction">this post</a> where I explain everything about this code, thanks!</p>
<p>This is the code for the Hotmail Image Captcha, and the one for the audio captcha is below the jump <img src='http://blackhatseo-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;">	<span style="color: #666666; font-style: italic;">//This script pulls CAPTCHAs from $urlHotmail and saves them to folder $saveHotmail from the range $startImage to $endImage.</span>
	<span style="color: #000088;">$urlHotmail</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://hipservice.live.com/hipImageDirect.srf?id=68692&amp;config=Hard8Char&amp;tk=1205287476696&quot;</span>;
	<span style="color: #000088;">$saveHotmail</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;hotmail/&quot;</span>;
	<span style="color: #000088;">$startImage</span> <span style="color: #339933;">=</span> <span style="color:#800080;">0</span>;
	<span style="color: #000088;">$endImage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">999</span>;
&nbsp;
	<span style="color: #666666; font-style: italic;">//These two lines force the output to be constantly flushed and updated for the user. (ideally)</span>
	<span style="color: #990000;">ob_implicit_flush</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">ob_end_flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Started.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
&nbsp;
&nbsp;
	<span style="color: #666666; font-style: italic;">//Pull in the CAPTCHA image as a string with cURL, and save to a file. The curl extension must first be enabled in php.ini.</span>
	<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #000088;">$startImage</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">&lt;=</span><span style="color: #000088;">$endImage</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$urlHotmail</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;rand=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$image</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Save CAPTCHA to a file with the same name as $i.</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_dir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveHotmail</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">mkdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveHotmail</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveHotmail</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.jpg&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span><span style="color: #000088;">$image</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Don't allow it to timeout.</span>
		<span style="color: #990000;">set_time_limit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Output occasional progress.</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">%</span><span style="color:#800080;">10</span> <span style="color: #339933;">==</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #990000;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; CAPTCHA captured.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
			<span style="color: #990000;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Complete.&quot;</span>;
	<span style="color: #666666; font-style: italic;">//-maluc</span></pre></td></tr></table></div>

<p>About this captcha:</p>
<blockquote><p>
length: 8<br />
range: A-Z,2-3,5-6,8-9<br />
case-sensitive: no<br />
background: always gray<br />
text color: always dark blue<br />
overlay: short line paths with 0-3 bends, always dark blue<br />
size: 3200-4400 bytes<br />
width: always 218px<br />
height: alway 48px<br />
other: looks easiest to solve, font size varies
</p></blockquote>
<p>Here is the code for the Hotmail Audio Captcha:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;">	<span style="color: #666666; font-style: italic;">//This script pulls CAPTCHAs URL from $urlHotmailAudio with POST parameters $paramsHotmailAudio, then gets the CAPTCHA and saves them to folder $saveHotmailAudio from the range $startSound to $endSound.</span>
	<span style="color: #000088;">$urlHotmailAudio</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;https://signup.live.com/nexus.fpp?cnmn=Microsoft.Msn.MemberExperience.Nexus.NexusService.GetHipAudioData&amp;ptid=0&amp;a=3ba63739-06f1-491a-9aa3-3f98a343b5d1&quot;</span>;
	<span style="color: #000088;">$paramsHotmailAudio</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;cn=Microsoft.Msn.MemberExperience.Nexus.NexusService&amp;mn=GetHipAudioData&amp;d=%22en%22,%223ba63739-06f1-491a-9aa3-3f98a343b5d1%22&amp;v=1&quot;</span>;
	<span style="color: #000088;">$saveHotmailAudio</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;hotmailaudio/&quot;</span>;
	<span style="color: #000088;">$startSound</span> <span style="color: #339933;">=</span> <span style="color:#800080;">0</span>;
	<span style="color: #000088;">$endSound</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">999</span>;
&nbsp;
	<span style="color: #666666; font-style: italic;">//Make carraige returns appear correctly in all browsers. (ideally)</span>
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;&lt;PRE&gt;&quot;</span>;
	<span style="color: #666666; font-style: italic;">//These two lines force the output to be constantly flushed and updated for the user. (ideally)</span>
	<span style="color: #990000;">ob_implicit_flush</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">ob_end_flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Started.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
&nbsp;
&nbsp;
	<span style="color: #666666; font-style: italic;">//Pull in the CAPTCHA image as a string with cURL, and save to a file. The curl extension must first be enabled in php.ini.</span>
	<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #000088;">$startSound</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">&lt;=</span><span style="color: #000088;">$endSound</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//First extract a unique URL for each CAPTCHA from the $urlHotmailAudio.</span>
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$urlHotmailAudio</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;rand=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_POST<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_POSTFIELDS<span style="color: #339933;">,</span> <span style="color: #000088;">$paramsHotmailAudio</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
		<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
		<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Parse out the URL, and retrieve the CAPTCHA for it.</span>
		<span style="color: #000088;">$resultArray</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="">'&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$resultArray</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;rand=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$sound</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
		<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Save CAPTCHA to a file with the same name as $i.</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_dir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveHotmailAudio</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">mkdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveHotmailAudio</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveHotmailAudio</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.wav&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span><span style="color: #000088;">$sound</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Don't allow it to timeout.</span>
		<span style="color: #990000;">set_time_limit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Output occasional progress.</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">%</span><span style="color:#800080;">10</span> <span style="color: #339933;">==</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #990000;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; CAPTCHA captured.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
			<span style="color: #990000;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Complete.&quot;</span>;
	<span style="color: #666666; font-style: italic;">//-maluc</span></pre></td></tr></table></div>

<p>And info about the audio captchas as well:</p>
<blockquote><p>length: 10<br />
range: 0-9<br />
case-sensitive: N/A<br />
background: lower volume gibberish, sounds like numbers really fast with extra noise<br />
size: 46000-131000 bytes<br />
other: numbers seem to follow a steady pace, pitch varies and either a higher pitched woman or low pitched male with robotic senthesizing</p></blockquote>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/vYmsxsKUsDg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/hotmail-captcha-extraction/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/hotmail-captcha-extraction</feedburner:origLink></item>
		<item>
		<title>Google Captcha Extraction</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/K-NYe5trMLo/google-captcha-extraction</link>
		<comments>http://blackhatseo-blog.com/google-captcha-extraction#comments</comments>
		<pubDate>Wed, 03 Sep 2008 01:25:52 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[captcha]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=88</guid>
		<description><![CDATA[Please start by reading this post where I explain everything about this code, thanks!
This is the code for the Google Image Captcha, and the one for the audio captcha is below the jump  

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//This script pulls CAPTCHAs URL from $urlGoogle, then gets the CAPTCHA and saves them to folder $saveGoogle from the range $startImage [...]]]></description>
			<content:encoded><![CDATA[<p>Please start by reading <a href="http://blackhatseo-blog.com/yahoo-captcha-extraction">this post</a> where I explain everything about this code, thanks!</p>
<p>This is the code for the Google Image Captcha, and the one for the audio captcha is below the jump <img src='http://blackhatseo-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//This script pulls CAPTCHAs URL from $urlGoogle, then gets the CAPTCHA and saves them to folder $saveGoogle from the range $startImage to $endImage.</span>
	<span style="color: #000088;">$urlGoogle</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;https://www.google.com/accounts/NewAccount?service=mail&amp;amp;continue=http%3A%2F%2Fmail.google.com%2Fmail%2Fe-11-10ba05aeaa8e9b701e5151437f9a44d3-64aeae753cc34f1c864f7edc97a046ccdc96987b&amp;amp;type=2&quot;</span>;
	<span style="color: #000088;">$saveGoogle</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;google/&quot;</span>;
	<span style="color: #000088;">$startImage</span> <span style="color: #339933;">=</span> <span style="color:#800080;">0</span>;
	<span style="color: #000088;">$endImage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">999</span>;
&nbsp;
	<span style="color: #666666; font-style: italic;">//These two lines force the output to be constantly flushed and updated for the user. (ideally)</span>
	<span style="color: #990000;">ob_implicit_flush</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">ob_end_flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Started.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
&nbsp;
	<span style="color: #666666; font-style: italic;">//Pull in the CAPTCHA image as a string with cURL, and save to a file. The curl extension must first be enabled in php.ini.</span>
	<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #000088;">$startImage</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">&lt;=</span><span style="color: #000088;">$endImage</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//First extract a unique URL for each CAPTCHA from the $urlGoogle.</span>
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$urlGoogle</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;rand=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
		<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
		<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Parse out the URL, and retrieve the CAPTCHA for it.</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">,</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;gaia captchahtml desc&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$resultArray</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="">'&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #990000;">rawurldecode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$resultArray</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
		<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
		<span style="color: #000088;">$image</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
		<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Save CAPTCHA to a file with the same name as $i.</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_dir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveGoogle</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">mkdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveGoogle</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveGoogle</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.jpg&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span><span style="color: #000088;">$image</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Don't allow it to timeout.</span>
		<span style="color: #990000;">set_time_limit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Output occasional progress.</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">%</span><span style="color:#800080;">10</span> <span style="color: #339933;">==</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #990000;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; CAPTCHA captured.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
			<span style="color: #990000;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Complete.&quot;</span>;
	<span style="color: #666666; font-style: italic;">//-maluc</span></pre></td></tr></table></div>

<p>About this captcha:</p>
<blockquote><p>length: 5-8<br />
range: a-z<br />
case-sensitive: no<br />
background: always white<br />
overlay: none<br />
text color: solid blue,green,or red. single color.<br />
size: 2000-3900 bytes<br />
width: always 200px<br />
height: always 70px<br />
other: tilting seemingly random, 5chars is rare, red is rare, shade of solid colors may change between captchas</p></blockquote>
<p>Here is the code for the Google Audio Captcha:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//This script pulls CAPTCHAs URL from $urlGoogleAudio, then gets the CAPTCHA and saves them to folder $saveGoogleAudio from the range $startSound to $endSound.</span>
	<span style="color: #000088;">$urlGoogleAudio</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;https://www.google.com/accounts/NewAccount?service=mail&amp;amp;continue=http%3A%2F%2Fmail.google.com%2Fmail%2Fe-11-10ba05aeaa8e9b701e5151437f9a44d3-64aeae753cc34f1c864f7edc97a046ccdc96987b&amp;amp;type=2&quot;</span>;
	<span style="color: #000088;">$saveGoogleAudio</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;googleaudio/&quot;</span>;
	<span style="color: #000088;">$startSound</span> <span style="color: #339933;">=</span> <span style="color:#800080;">0</span>;
	<span style="color: #000088;">$endSound</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">999</span>;
&nbsp;
	<span style="color: #666666; font-style: italic;">//These two lines force the output to be constantly flushed and updated for the user. (ideally)</span>
	<span style="color: #990000;">ob_implicit_flush</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">ob_end_flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Started.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
&nbsp;
	<span style="color: #666666; font-style: italic;">//Pull in the CAPTCHA image as a string with cURL, and save to a file. The curl extension must first be enabled in php.ini.</span>
	<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #000088;">$startSound</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">&lt;=</span><span style="color: #000088;">$endSound</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//First extract a unique URL for each CAPTCHA from the $urlGoogleAudio.</span>
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$urlGoogleAudio</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;rand=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
		<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
		<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Parse out the URL, and retrieve the CAPTCHA for it.</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">,</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;wavURL&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$resultArray</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="">'&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="">'\75'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;=&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$resultArray</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
		curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
		<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
		<span style="color: #000088;">$sound</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
		<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
		curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Save CAPTCHA to a file with the same name as $i.</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_dir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveGoogleAudio</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">mkdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveGoogleAudio</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sound</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt; <span style="color: #cc66cc;">146</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveGoogleAudio</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.wav&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#41;</span>;
			<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span><span style="color: #000088;">$sound</span><span style="color: #009900;">&#41;</span>;
			<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #009900;">&#125;</span>
		<span style="color: #b1b100;">else</span> <span style="color: #000088;">$i</span>--;
&nbsp;
		<span style="color: #666666; font-style: italic;">//Don't allow it to timeout.</span>
		<span style="color: #990000;">set_time_limit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #666666; font-style: italic;">//Output occasional progress.</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">%</span><span style="color:#800080;">10</span> <span style="color: #339933;">==</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #990000;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; CAPTCHA captured.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
			<span style="color: #990000;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Complete.&quot;</span>;
	<span style="color: #666666; font-style: italic;">//-maluc</span></pre></td></tr></table></div>

<p>And info about the audio captchas as well:</p>
<blockquote><p>length: not certain (5-10?)<br />
range: 0-9<br />
case-sensitive: N/A<br />
background: equally loud gibberish and noise, really gets in the way.<br />
size: 200044-440044 bytes<br />
other: way too hard for a human - don&#8217;t know how blind people do it. pace varies but pitch seems to remain fairly similar.</p></blockquote>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/K-NYe5trMLo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/google-captcha-extraction/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/google-captcha-extraction</feedburner:origLink></item>
		<item>
		<title>Yahoo! Captcha Extraction</title>
		<link>http://feedproxy.google.com/~r/Busin3ss/~3/eLIBBCMaMic/yahoo-captcha-extraction</link>
		<comments>http://blackhatseo-blog.com/yahoo-captcha-extraction#comments</comments>
		<pubDate>Wed, 03 Sep 2008 01:15:53 +0000</pubDate>
		<dc:creator>busin3ss</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[captcha]]></category>

		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://blackhatseo-blog.com/?p=84</guid>
		<description><![CDATA[For those who are interested in security you should definitely check out sla.ckers.org. I&#8217;ve read some real gems over there when related to webapp security and it has inspired me before to write some posts. This time, I found something I just had to share with you guys. Don&#8217;t worry, I contacted maluc (the original [...]]]></description>
			<content:encoded><![CDATA[<p>For those who are interested in security you should definitely check out <a href="http://sla.ckers.org">sla.ckers.org</a>. I&#8217;ve read some real gems over there when related to webapp security and it has inspired me before to <a href="http://blackhatseo-blog.com/xss-crash-course-part-i">write some posts</a>. This time, I found something I just had to share with you guys. Don&#8217;t worry, I contacted <a href="http://sla.ckers.org/forum/profile.php?7,50">maluc</a> (the original author of the post) to get permission to post his stuff over here.</p>
<p>When it comes to test a captcha and it&#8217;s weakness, you always need to have a large sample to work with. If you&#8217;re planning to train or write an OCR engine, it&#8217;s always useful and sometimes needed to have several samples to play with.</p>
<p>I&#8217;m going to start by posting this code to extract a large sample of Yahoo! captchas:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//This script pulls CAPTCHAs URL from $urlYahoo, then gets the CAPTCHA and saves them to folder $saveYahoo from the range $startImage to $endImage.</span>
<span style="color: #000088;">$urlYahoo</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;https://edit.yahoo.com/reg_json?PartnerName=yahoo_default&amp;amp;RequestVersion=1&amp;amp;ApiName=GetCaptcha&amp;amp;3841320&quot;</span>;
<span style="color: #000088;">$saveYahoo</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;yahoo/&quot;</span>;
<span style="color: #000088;">$startImage</span> <span style="color: #339933;">=</span> <span style="color:#800080;">0</span>;
<span style="color: #000088;">$endImage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">999</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">//These two lines force the output to be constantly flushed and updated for the user. (ideally)</span>
<span style="color: #990000;">ob_implicit_flush</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">ob_end_flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Started.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">//Pull in the CAPTCHA image as a string with cURL, and save to a file. The curl extension must first be enabled in php.ini.</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #000088;">$startImage</span>;$<span style="color: #339933;">&lt;=</span><span style="color: #000088;">$endImage</span>;<span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">//First extract a unique URL for each CAPTCHA from the $urlYahoo.</span>
<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$urlYahoo</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;amp;rand=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">//Parse out the URL, and retrieve the CAPTCHA for it.</span>
<span style="color: #000088;">$resultArray</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="">'&quot;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span>;
<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> curl_init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #990000;">stripslashes</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$resultArray</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span>;
curl_setopt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span>;
<span style="color: #666666; font-style: italic;">//If you're having difficulties with SSL, this may need to be enabled.</span>
<span style="color: #666666; font-style: italic;">//curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);</span>
<span style="color: #000088;">$image</span> <span style="color: #339933;">=</span> curl_exec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
<span style="color: #666666; font-style: italic;">//Enable this if you're having difficulties.</span>
<span style="color: #666666; font-style: italic;">//echo &quot;Error is: &quot;.curl_error($ch);</span>
curl_close<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">//Save CAPTCHA to a file with the same name as $i.</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_dir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveYahoo</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">mkdir</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveYahoo</span><span style="color: #009900;">&#41;</span>;
<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$saveYahoo</span><span style="color: #339933;">.</span><span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.jpg&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;w&quot;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span><span style="color: #000088;">$image</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">//Don't allow it to timeout.</span>
<span style="color: #990000;">set_time_limit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">40</span><span style="color: #009900;">&#41;</span>;
<span style="color: #666666; font-style: italic;">//Output occasional progress.</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">%</span><span style="color:#800080;">10</span> <span style="color: #339933;">==</span> <span style="color:#800080;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #990000;">echo</span> <span style="color: #000088;">$i</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; CAPTCHA captured.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
<span style="color: #990000;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Script Complete.&quot;</span>;
<span style="color: #666666; font-style: italic;">//-maluc</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>This script will download and save to the <em>/yahoo/</em> subfolder a sample of 1000 captchas. If you want to get more or less captchas, just edit the <em>$end</em> variable.</p>
<p>He even took some inital anotations for those interested in this particular captcha:</p>
<blockquote><p>length: 4-6<br />
range: a-z,A-Z,2-8<br />
case-sensitive: no<br />
background: always white<br />
text color: always black<br />
overlay: 1-3 random line paths, always black<br />
size: between 1800 and 3200 bytes<br />
width: always 290px<br />
height: always 80px<br />
other: tilting and bending randomly, 4chars is rare, each letter either 2d sans-serif or 3d serif, some letters not used or in only one case</p></blockquote>
<p>You can read the original post at sla.ckers.org <a href="http://sla.ckers.org/forum/read.php?7,21280">here</a>. maluc also did the same for the <a href="http://blackhatseo-blog.com/google-captcha-extraction">Google</a> and <a href="http://blackhatseo-blog.com/hotmail-captcha-extraction">Hotmail</a> captcha&#8217;s so be sure to check them out aswell.</p>
<p>Props to maluc one more time <img src='http://blackhatseo-blog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
<img src="http://feedproxy.google.com/~r/Busin3ss/~4/eLIBBCMaMic" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blackhatseo-blog.com/yahoo-captcha-extraction/feed</wfw:commentRss>
		<feedburner:origLink>http://blackhatseo-blog.com/yahoo-captcha-extraction</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 1.994 seconds --><!-- Cached page served by WP-Super-Cache -->
