Comments (16)
没看懂。。。
from hcaptcha-challenger.
是这样的,我有一个selenium的script可是我是用着anti-captcha的plugin来解决hcaptcha,但是anti-captcha速度好慢也一直答错,结果回来的TOKEN的品质很差。我是想把你的这个challenger放进我的selenium的script但是我不清楚该怎么做
from hcaptcha-challenger.
discord token generator?
from hcaptcha-challenger.
是的
from hcaptcha-challenger.
现在这个项目的脚手架只提供了 demo 方法(起初只是想展示一下这个解决方案的效果,没想到这个 anti-hacaptcha 有一个相当庞大的需求群体)。。。如果要移植(也即在自己的项目中调用 challenger 方法)的话有点麻烦。你可以在以往的 issue 中看到很多类似的议题
我暂时未在 hcaptcha-challenger 中添加 motiondata,它无法在 discord token generator 中获取到有效的 Token,一个懂行的朋友说咱这项目被 discord 标记了。
from hcaptcha-challenger.
你可以参考这个 #23 (comment)
from hcaptcha-challenger.
我很忌惮自己的开源项目被人用于商业用途,所以我依然会陆续推送 Pypi(方便接口调用),但暂时并不会将 motiondata 的技术开源。
from hcaptcha-challenger.
据某位懂行的朋友说 https://github.com/JustTalDevelops/go-hcaptcha 提供了一定程度的动态轨迹模拟函数,可以通过 Discord 的驻台脚本的检测,但挑战通过率相对略逊一筹,一般需要重试几轮。
from hcaptcha-challenger.
因为据我所知,cloudflare是用JavaScript来试探是机器还是人类在solve那个captcha。所以只要是用browser的automation都应该还有效的。比如说puppeteer,selenium或者是playwright,只要cloud flare的JavaScript有load到就行了。因为其他的solver比如说anti-captcha还是2captcha之类的是用requests的方式来solve那个captcha所以回来的TOKEN都没什么效果
from hcaptcha-challenger.
这个我就不清楚了,没仔细研究过这个。按照我的经验来看,分发 Token 的必然会接收所谓 试探脚本
的检测结果的,所以一些比较快的解决方案会直接利用 motiondata 生成轨迹数组,然后按照接口的加解密方法存入 data 回传给服务(算是伪造,如果这种方法能够生效,selenium就不必响应这个动态行为)。
但总之如果你要在没有 pypi 的情况下调用的话,你可能要把整个项目代码放进去了-- 整个 challenger 有三个关键的步骤,一个是检测 checkbox 是否出现,然后 anti-checkbox 最后是识别。写个简单的逻辑按序调用即可-。-它需要传入 ctx,这个可以是 from selenium.webdriver import Chrome
的那个 WebDriver 对象
from hcaptcha-challenger.
这能和undetected-chromedriver一起用吗?如果用普通的chrome可能就会没有效果
from hcaptcha-challenger.
我认为普通的 Chrome 进行挑战可以通过,但无法获取到有效的 Token。(像个废话233)
from hcaptcha-challenger.
我的大概构想是把 hcaptcha-challenger 做成一个本地接口服务,既可以在原页面维护 motiondata 也可以在 blank page 加载 iframe
进行人机挑战,通过接口通信返回 Token。这样就可以提高并发率,用普通的 Chromedriver实现异步,hcaptcha-challenger 使用消息队列依次处理挑战请求。
我感觉 hcaptcha-challenger 在调用 yolov5 处理普通分类挑战时,可以在保证极高通过率的情况下,把通过速度降到0.5s 左右。这个速度相比耗时的网页操作,几乎是可以忽略不计的,毕竟还是本地通信,还能进一步忽略网络IO耗时
from hcaptcha-challenger.
但具体怎么实现我还没啥头绪,最近事情有点多,一直没有更新。
最主要的问题是怎么把网页中的 iframe 注册到用别的浏览器启动的 blank page 中- -我看 2captcha 的接口会接受 site-key
和 host
两个参数。但我不太理解 它们要怎么用
from hcaptcha-challenger.
0.5秒算是很快乐,其他的solver有时候40秒过了他们多还没把TOKEN发回来。。。
from hcaptcha-challenger.
我试试看
from hcaptcha-challenger.
Related Issues (20)
- [Challenge] [retrain] please click on the most similar object to the following reference shape
- [Challenge] [retrain] Please click on the object that appears only once
- feat(components): zero-shot object detection
- feat(control): nested CLIP candidates
- Can you give me an example code on using hcaptcha-challenger with selenium
- [Question] The project is failing 90% of the time because of new challenges HOT 15
- [Challenge] Please find and click on the letter K/W in the image below.
- [Challenge] Pleasae click at the star
- [Challenge] Please click each image containing a bumblebee
- Browserless Challenges HOT 1
- Solved
- google colab error
- url 'https://api.hcaptcha.com/getcaptcha/' returning base64 instead json HOT 9
- bug: workflow post-action
- feat(new-order): Integrated with LVM (large visual models) HOT 1
- [Challenge]
- feat(cloudflare-edge-node): FastAPI Python Workers
- feat(schema): Estimate Bottle Orientation with Computer Vision
- Solving captcha on queries
- use playwright dmmo question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcaptcha-challenger.