用HTML捕获验证码的图像链接 [英] Capture Image Link of a Captcha in HTML

查看:225
本文介绍了用HTML捕获验证码的图像链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我要写一个BOT.它使用C#中的WebBrowser控件.
问题是有时网站会向用户发送一个验证码,例如:


在这里,程序必须将图像发送给其他人以输入字符.问题是,除非找到其链接,否则我的程序无法访问该图像.我找到了与验证码相关的代码,但是这里没有链接:

Hi,
I am going to write a BOT. It uses a WebBrowser control in C#.
The problem is that sometimes the website sends the user one captcha like:


Here the program has to send the image to someone else to enter the characters. The problem is that my program has no access to the image, unless its link be discovered. I found the code related to captcha, but there is no link here:

<script>
	var RecaptchaOptions = {
	theme: ''custom'',
	lang: ''ir'',
	custom_theme_widget: ''recaptcha_widget''
};
</script>
<div id="recaptcha_image"></div>
<span class="recaptcha_only_if_image">نوشته:</span>
<input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
<script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LfdmAsAAAAAAPb_3Zn53hlv5fR3oUS0FeXc7a9h&lang=en"></script>




你觉得我该怎么办?





What do you think I have to do?


daveauld写道:
daveauld wrote:

要编写机器人的唯一原因是,您可以开始劫持电子邮件并创建垃圾邮件…….除此之外,只需键入您看到的内容即可.
鉴于您要尝试做的事情,该网站上的任何人都不大可能愿意给您任何帮助.
因此,我建议您尝试其他地方.这个问题比以下更糟: 这是我的作业,请帮我做."
祝你有美好的一天.

The only reason you want to write a bot, is so you can start hijacking emails and creating spam........other than that just type what you see.
It is highly unlikely that anyone on this site would be willing to give you any assistance given what you are trying to do.
So, i suggest you try somewhere else. This question is worse than; "Here is my homework, please do it for me".
Have a nice day.



也许您使用BOT进行破坏活动,但我不这样做. BOT用于简化用户操作.
如果对解决问题无济于事,请不要发表意见.



Maybe you use BOTs for sabotaging, but I do not. The BOT is used to make it easier for the user.
Please do not state your opinion if it does not help to solve questions.

推荐答案

您要编写机器人的唯一原因是,您可以开始劫持电子邮件,并创建垃圾邮件........除此之外,只需键入您看到的内容即可.

鉴于您要尝试做的事情,该网站上的任何人都不大可能愿意给您任何帮助.

因此,我建议您尝试其他地方.这个问题比以下更糟: 这是我的作业,请帮我做."

祝你有美好的一天.
The only reason you want to write a bot, is so you can start hijacking emails and creating spam........other than that just type what you see.

It is highly unlikely that anyone on this site would be willing to give you any assistance given what you are trying to do.

So, i suggest you try somewhere else. This question is worse than; "Here is my homework, please do it for me".

Have a nice day.


这篇关于用HTML捕获验证码的图像链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆