Text captcha...

justhere

Новичок
Регистрация
21.02.2011
Сообщения
13
Благодарностей
0
Баллы
0
How can I work with a text captcha?

So say the code is;

Код:
<td><div id="captcha">MTEXTCAPTCHA</div></td>
Any ideas how can I work it? Thank you
 

step85

Client
Регистрация
19.02.2010
Сообщения
1 839
Благодарностей
287
Баллы
83
Parse the page source with regexp (? <= \ <td\> \ <div id\=\"captcha\"\> ).*?(?= \ <\ / div \> \ <\ / td \>)
And the result of parsing insert in the box captcha.
For example http://zennoposter.ru/?p=53
 

ageofz

Новичок
Регистрация
25.03.2011
Сообщения
1
Благодарностей
0
Баллы
0
I'm having a problem getting Zenno to copy and paste this text captcha.

The captcha is in an iframe with the html of the captcha being: <span id="slog" style="top: 39.5px;">CAPTCHA</span>

Each new captcha has a new style, but the id is the same.

How can I use the regexp parse macro to copy that text?

I tried this code: (? <= \ <span id="slog"\> ).*?(?= \ <\ / span \>)
but it's not working.

Any help?
 

ziavra

Client
Регистрация
26.06.2009
Сообщения
116
Благодарностей
4
Баллы
0
try something likes
Код:
(?<= id\=\"slog\".*\"\>).*(?=\<\/span\>)
 

onerkript

Client
Регистрация
05.04.2012
Сообщения
10
Благодарностей
0
Баллы
0
Hello,

I'm having trouble with a text question (not math). I'm successfully parsing the question with this regex : (?<=\s*<label for\=\"humanverify\"\>Random Question:\<\/label\>\r\n\s*<div class\=\"rightcol\"\>\r\n\s*<p class\=\"description\"\>).*(?=\<\/p\>)

Now I don't know where to put the execution result to have in the captcha window so I can answer it. How can I do this?

Thanks in advance.

EDIT : Nevermind I figured out how to do it. I set the attribute name to "InnerText" in the captcha box and my execution result as the value. ;-)
 
Последнее редактирование:

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)