如何从 hcaptcha 中找到回调函数名称?

时间:2021-06-09 01:59:52

标签: web-scraping callback captcha 2captcha hcaptcha

我试图在没有提交按钮的情况下绕过 hcaptcha。

所以我需要知道回调名称函数,但是在页面的源代码中找不到。

知道如何在收到我的令牌后向验证码解析器提交我的请求吗?

看起来可以重新验证:https://gist.github.com/2captcha/2ee70fa1130e756e1693a5d4be4d8c70

但是找不到 hcaptcha 的相同解决方案。

感谢您的帮助。

2 个答案:

答案 0 :(得分:1)

这实际上看起来很简单:

$('form').submit()

答案 1 :(得分:0)

这是我验证 hcaptcha 所做的工作。但不幸的是,即使我向他发送验证令牌,验证码也会再次要求我填写

#ifdef UNIT_TEST
bool READ_PORT_flag_UT;
#define READ_PORT READ_PORT_flag_UT
#else
#define READ_PORT ReadingPortStatus(SOME_OTHER_CONDITION)
#endif

void ReturnPortCondition()
{
    if (READ_PORT)
    {
        return(GOOD_READ);
    }
    else
    {
        return(BAD_READ);
    }
}

相关问题