<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3081916738064915610</id><updated>2011-12-14T18:15:14.279-08:00</updated><title type='text'>Cool Programmer</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://koolprogrammer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://koolprogrammer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>vahid</name><uri>http://www.blogger.com/profile/03673556303285812195</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3081916738064915610.post-3503963110139723155</id><published>2009-05-26T22:30:00.000-07:00</published><updated>2009-05-26T22:34:43.859-07:00</updated><title type='text'>how to bypass Pc Security all versions</title><content type='html'>hi all,&lt;br /&gt;about 6 months ago in our college they decided to restrict us with some kind of software which is its task is to lock folders and drives and so many other cool things.&lt;br /&gt;well on that time I wasn't so curious about that until one of my friend told me that he is in trouble with these kind of crappy restrictions.&lt;br /&gt;&lt;br /&gt;after that I start to investigation on "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;pc&lt;/span&gt; security" and the solution was simple and funny.&lt;br /&gt;&lt;br /&gt;when you install this s/w on your computer it will put 2 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;exe&lt;/span&gt; files in your windows directory  and &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;startup&lt;/span&gt; called:&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;winwd&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;exe&lt;/span&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;sdeamon&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;exe&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and if you bring on the task manager you gonna find them there and if you try to end task these two files you will see they gonna start their job again.&lt;br /&gt;&lt;br /&gt;well at first try I start to rename them from windows directory and then try to kill them from task manager and BINGO it was successful try.&lt;br /&gt;it is quite easy first try to rename or delete these two files from windows directory then kill them from task manager.&lt;br /&gt;I also write a tiny c++ code for automating this task :&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;"&gt;//code in vc++.net 2008&lt;br /&gt;int _&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;tmain&lt;/span&gt;(int &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;argc&lt;/span&gt;, _&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;TCHAR&lt;/span&gt;* &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;argv&lt;/span&gt;[])&lt;br /&gt;{&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;TCHAR&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;windiro&lt;/span&gt;[INFO_BUFFER_SIZE];&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;TCHAR&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;windir&lt;/span&gt;[INFO_BUFFER_SIZE];&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;TCHAR&lt;/span&gt; exec[8];&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;TCHAR&lt;/span&gt; s1[]=_T("\\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;sdeamon&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;exe&lt;/span&gt;");&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;TCHAR&lt;/span&gt; s2[]=_T("\\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;winwd&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;exe&lt;/span&gt;");&lt;br /&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;tprintf&lt;/span&gt;(_T("bypassing &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;pcsecurity&lt;/span&gt; \n"));&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;GetWindowsDirectory&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;windir&lt;/span&gt;,INFO_BUFFER_SIZE);&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;GetWindowsDirectory&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;windiro&lt;/span&gt;,INFO_BUFFER_SIZE);&lt;br /&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;tcscat&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;windir&lt;/span&gt;,s1);&lt;br /&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;tcscat&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;windiro&lt;/span&gt;,s2);&lt;br /&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;tprintf&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;windir&lt;/span&gt;);&lt;br /&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;tprintf&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;windiro&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;DeleteFile&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_37"&gt;windir&lt;/span&gt;);&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_38"&gt;DeleteFile&lt;/span&gt;(&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_39"&gt;windiro&lt;/span&gt;);&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_40"&gt;HINSTANCE&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_41"&gt;nr&lt;/span&gt; = &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_42"&gt;ShellExecute&lt;/span&gt;(NULL,_T("open"),_T("&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_43"&gt;taskkill&lt;/span&gt;"),_T("/f /&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_44"&gt;im&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_45"&gt;sdaemon&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_46"&gt;exe&lt;/span&gt;"),_T("C:\\"),SW_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_47"&gt;SHOWNA&lt;/span&gt;);&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_48"&gt;HINSTANCE&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_49"&gt;nr&lt;/span&gt;1 = &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_50"&gt;ShellExecute&lt;/span&gt;(NULL,_T("open"),_T("&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_51"&gt;taskkill&lt;/span&gt;"),_T("/f /&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_52"&gt;im&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_53"&gt;winwd&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_54"&gt;exe&lt;/span&gt;"),_T("C:\\"),SW_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_55"&gt;SHOWNA&lt;/span&gt;);&lt;br /&gt;if (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_56"&gt;nr&lt;/span&gt; == 0)&lt;br /&gt; _&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_57"&gt;tprintf&lt;/span&gt;(_T("successful"));&lt;br /&gt;else&lt;br /&gt; _&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_58"&gt;tprintf&lt;/span&gt;(_T("unsuccessful"));&lt;br /&gt;int i;&lt;br /&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_59"&gt;tscanf&lt;/span&gt;(exec);&lt;br /&gt;return 0;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Njoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3081916738064915610-3503963110139723155?l=koolprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://koolprogrammer.blogspot.com/feeds/3503963110139723155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://koolprogrammer.blogspot.com/2009/05/how-to-bypass-pc-security-all-versions.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default/3503963110139723155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default/3503963110139723155'/><link rel='alternate' type='text/html' href='http://koolprogrammer.blogspot.com/2009/05/how-to-bypass-pc-security-all-versions.html' title='how to bypass Pc Security all versions'/><author><name>vahid</name><uri>http://www.blogger.com/profile/03673556303285812195</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3081916738064915610.post-3683893477169227634</id><published>2009-05-26T04:07:00.000-07:00</published><updated>2009-05-26T10:49:14.778-07:00</updated><title type='text'>how to execute asp.net files with different extension</title><content type='html'>Hi again.&lt;br /&gt;You might be wondering that sometimes some websites choose different extensions for &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;their&lt;/span&gt; web pages as an instance their web site is build by asp.net and you are supposed to see &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;aspx&lt;/span&gt;&lt;/span&gt; extension at the end of their address but it is not like that you will see something like &lt;span style="font-weight: bold;"&gt;acme.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;W&lt;/span&gt;&lt;/span&gt;ell here I'm gonna show you how to make change.&lt;br /&gt;thanks to the &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;Microsoft&lt;/span&gt; and his new understanding of how to build our life easier, this job will done only in matter of 5 minutes or less .&lt;br /&gt;&lt;br /&gt;go to your WINDOWS\Microsoft.NET\Framework\{frame work version}\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;CONFIG&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;here you will find the heart of your asp.net &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;config&lt;/span&gt; files such as machine.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;config&lt;/span&gt; , web.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;config&lt;/span&gt; , etc...&lt;br /&gt;&lt;br /&gt;open web.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and follow the below XML file&lt;br /&gt;&lt;br /&gt;&lt;style type="text/css"&gt; .style1 {  font-family: "Times New Roman"; } &lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;   &amp;lt;system.webServer&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;handlers&amp;gt;&lt;br /&gt;           &amp;lt;add name="ASPNETLikeHandler-Classic" path="*.acme"&lt;br /&gt;verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"&lt;br /&gt;requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32"&lt;br /&gt;/&amp;gt;&lt;br /&gt;           &amp;lt;add name="ASPNETLikeHandler" path="*.acme"&lt;br /&gt;verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler"&lt;br /&gt;requireAccess="Script" preCondition="integratedMode" /&amp;gt;&lt;br /&gt;       &amp;lt;/handlers&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;validation validateIntegratedModeConfiguration="false" /&amp;gt;&lt;br /&gt;   &amp;lt;/system.webServer&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;system.web&amp;gt;&lt;br /&gt;       &amp;lt;compilation&amp;gt;&lt;br /&gt;           &amp;lt;buildProviders&amp;gt;&lt;br /&gt;&lt;br /&gt;               &amp;lt;add extension=".acme" type="System.Web.Compilation.PageBuildProvider"&lt;br /&gt;/&amp;gt;&lt;br /&gt;           &amp;lt;/buildProviders&amp;gt;&lt;br /&gt;       &amp;lt;/compilation&amp;gt;&lt;br /&gt;       &amp;lt;httpHandlers&amp;gt;&lt;br /&gt;&lt;br /&gt;           &amp;lt;add path="*.acme" type="System.Web.UI.PageHandlerFactory"&lt;br /&gt;verb="*" /&amp;gt;&lt;br /&gt;       &amp;lt;/httpHandlers&amp;gt;&lt;br /&gt;   &amp;lt;/system.web&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 102, 51);"&gt;&lt;configuration&gt;&lt;/configuration&gt;&lt;/span&gt;&lt;br /&gt;I assume that your &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_8"&gt;familiar&lt;/span&gt; with how to make changes in web.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;config&lt;/span&gt;.&lt;br /&gt;ciao.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3081916738064915610-3683893477169227634?l=koolprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://koolprogrammer.blogspot.com/feeds/3683893477169227634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://koolprogrammer.blogspot.com/2009/05/how-to-execute-aspnet-files-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default/3683893477169227634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default/3683893477169227634'/><link rel='alternate' type='text/html' href='http://koolprogrammer.blogspot.com/2009/05/how-to-execute-aspnet-files-with.html' title='how to execute asp.net files with different extension'/><author><name>vahid</name><uri>http://www.blogger.com/profile/03673556303285812195</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3081916738064915610.post-4338988759504793799</id><published>2009-05-25T14:38:00.000-07:00</published><updated>2009-05-25T16:12:18.188-07:00</updated><title type='text'>catching captcha image part 1 C#</title><content type='html'>Hey there,&lt;br /&gt;Today I had a nice experience with a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;spammer&lt;/span&gt; software which was written by c#.net and it was packed by .net reactor .&lt;br /&gt;I was astonished that how come the programmer was able to trick blog site according to their &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;captcha&lt;/span&gt; system.&lt;br /&gt;because their way of implementing the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;captcha&lt;/span&gt; system is horribly hard to expose , sometimes I was thinking by myself that how can I mess with this &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;captcha&lt;/span&gt; thing.&lt;br /&gt;Well today I was lucky and got my answer and that poor programmer was unlucky .&lt;br /&gt;I unpack his code and understand several things which I'm going to sum up them :&lt;br /&gt;1- if you &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;wana&lt;/span&gt; write a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;spammer&lt;/span&gt; most of the times you can't use &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;webclient&lt;/span&gt; or &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;webrequest&lt;/span&gt; classes well you should do it by the help of &lt;span style="color: rgb(102, 0, 204);"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;webBrowser&lt;/span&gt; &lt;/span&gt;or &lt;span style="color: rgb(102, 0, 204);"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;shdocvw&lt;/span&gt; &lt;/span&gt;which ever you are comfortable with.&lt;br /&gt;&lt;br /&gt;2-suppose you navigate a site , something like "www.acmeblog.com" you should wait until the document load full in your container how can we wait that much?&lt;br /&gt;using &lt;span style="color: rgb(102, 51, 255);"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;DocumentCompleted&lt;/span&gt; &lt;/span&gt;event&lt;br /&gt;or&lt;br /&gt;using something like following:&lt;br /&gt;  &lt;span style="color: rgb(102, 51, 255);"&gt;  while (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;webBrowser&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;ReadyState&lt;/span&gt; != &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;WebBrowserReadyState&lt;/span&gt;.Complete)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;            {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;                Application.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;DoEvents&lt;/span&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;            }&lt;/span&gt;&lt;br /&gt;until it is loaded it is not going to do anything except loading your page.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;I cross my heart that just two  things I've learnt from that lame programmer, I got rest of these tips by my own A$$:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;3-In some websites getting &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;captcha&lt;/span&gt; picture is a hard job first of all maybe it's not going to show itself at first until you fire some other events like focusing on some &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;textbox&lt;/span&gt; or clicking a button well you should use a bit of knowledge of how to deal with javascript and how to find the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;badboy&lt;/span&gt; in a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;goodplace&lt;/span&gt;, well I did it by the help of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;firefox&lt;/span&gt; and firebug to find the which script was being run (I'm not gonna teach how to use firebug).&lt;br /&gt;&lt;br /&gt;to execute the script by your self and on your own way you can accomplish this task by using :&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;WebBrowser.Document.InvokeScript("your_script_name");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4-sometimes the web designers fantasize that they are very clever and they can do something that no one else can do that in all around the world !&lt;br /&gt;can you imagine how stupid they are???&lt;br /&gt;well they are going to show &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;captcha&lt;/span&gt; image without any &lt;span style="font-weight: bold;"&gt;name &lt;/span&gt;or &lt;span style="font-weight: bold;"&gt;id &lt;/span&gt;tag i mean something like below:&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;&lt;br /&gt;&lt;em&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;&lt; src="hxxp://acmeblog.com/comments/Captcha.ashx?6233633"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;as you can see there is no clue that gonna help us to get the src tag.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;well how can we overcome this problem? &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;easy peasy japanesey&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;with the help of &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;foreach{}&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; statement and search inside htmlelement we can find out our sweat captcha , you can see in the following :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;foreach (HtmlElement img in wb.Document.Images)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;                {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;                    isitcaptcha = img.OuterHtml.IndexOf("Captcha", 0);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;                    if (isitcaptcha &gt; 0)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;                    {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;                        &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;captchaimg&lt;/span&gt; = img.OuterHtml.ToString();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;5-well we've got our &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;captcha&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; source till now,  then we have to be nimble and show this &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;captcha&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;quickly otherwise again the&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;web designer will think that he was much smarter than you.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;by showing the image inside a &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;webBrowser&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; you can have a copy of that &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;captch&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; on your own.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;6-last and worth one : how to save that goddamn &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;captch&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; image out of my &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;webbrowser&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;?&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;believe me or not it is a very tedious job I was searching around 6 hours through the libraries (I mean .net library not a goddamn ordinary library where people going there and read Harry Potter)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-corrected" id="SPELLING_ERROR_28"&gt;Internet&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; and my books until I found this &lt;/span&gt;&lt;a style="color: rgb(0, 0, 0);" href="http://lazycoders.blogspot.com/2007/06/mshtml-dom-and-copying-objects-from.html"&gt;useful &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;webblog&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; and his tricky way of saving &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;webbrowser&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; pictures.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;below you can find a very first edition of what &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-corrected" id="SPELLING_ERROR_31"&gt;I've&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; done :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style="padding: 0px; margin-bottom: 3px; margin-top: 3px; font-size: 9pt;"&gt;&lt;a href="http://rapidshare.com/files/237216229/spam_test.rar"&gt;http://rapidshare.com/files/237216229/spam_test.rar&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;inside code you will find a bunch of comments &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-corrected" id="SPELLING_ERROR_32"&gt;nonsense&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; don't worry they are written in Persian and they won't harm you ;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;next episode I will teach you how to OCR &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);" class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;captcha&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; and retrieve it as a text :D&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;ciao.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3081916738064915610-4338988759504793799?l=koolprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://koolprogrammer.blogspot.com/feeds/4338988759504793799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://koolprogrammer.blogspot.com/2009/05/catching-captcha-image-part-1-c.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default/4338988759504793799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3081916738064915610/posts/default/4338988759504793799'/><link rel='alternate' type='text/html' href='http://koolprogrammer.blogspot.com/2009/05/catching-captcha-image-part-1-c.html' title='catching captcha image part 1 C#'/><author><name>vahid</name><uri>http://www.blogger.com/profile/03673556303285812195</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry></feed>
