Tencent Captcha, also called 腾讯防水墙 or TCaptcha, protects Tencent's own products and many other Chinese platforms: QQ, the WeChat ecosystem, games and online shops. Visitors usually get a slider puzzle, a "click the characters in order" task, or a single-click behavioural check.
Challenge typesLink to Challenge types
- Slider puzzle: move the piece into the gap
- Icon click: tap the requested characters or icons in sequence
- One-click: a behavioural check with no puzzle
- Invisible: background scoring for low-risk visitors
How to identifyLink to How to identify
- The script
https://turing.captcha.qcloud.com/TCaptcha.jsorhttps://ssl.captcha.qq.com/TCaptcha.js - A global
TencentCaptchaconstructor, used asnew TencentCaptcha(appId, callback) - Parameters named
aid,appid,sess,ticketandrandstr - Requests to
turing.captcha.qcloud.comorcaptcha.qq.com - Tencent / 腾讯 branding and a Chinese interface
- Hidden
ticketandrandstrfields sent with the form
How it worksLink to How it works
- The page creates a
TencentCaptchainstance with its app ID. - The widget asks Tencent for a challenge (
sess,aid). - After the visitor solves it, the client sends the encrypted result and gets back a
ticketand arandstr. - The site forwards
ticketandrandstr, and its backend checks them with Tencent. - A ticket works once and only for a limited time. Recent versions encrypt more of the payload.
Free bypass methodsLink to Free bypass methods
| Method | What it does | Success Rate | Link |
|---|---|---|---|
| OpenCV | Finds the slider gap by template matching or edge detection | 75-90% | opencv/opencv-python |
| PuzzleSolver | OpenCV gap detection with a human-style drag | 75-90% | vsmutok/Puzzle-Captcha-Solver |
| ddddocr | OCR and object recognition for icon-click tasks | 70-85% | sml2h3/ddddocr |
| DrissionPage | Real Chromium that handles the widget's callbacks | 70-85% | g1879/DrissionPage |
| Patchright / Camoufox | Stealth browsers for the one-click and invisible modes | 65-85% | Kaliiiiiiiiii-Vinyzu/patchright-python |
| YOLOv8 | Detects icons for click-in-order tasks | 75-90% (with a trained model) | ultralytics/ultralytics |
Slider pipelineLink to Slider pipeline
- Grab the background and the piece, whether drawn on a canvas or loaded as images.
- Locate the gap with template matching (
TM_CCOEFF_NORMED) or edge detection. - Convert the distance to the real width of the slider.
- Drag with an eased start and stop, a slight overshoot and 2 to 5 px of jitter.
- Wait for the success callback, then read
ticketandrandstr.
Icon-click pipelineLink to Icon-click pipeline
- Read the instruction, for example "请依次点击:猫、树、车".
- Find the candidate icons with YOLO or template matching.
- Click them in the order asked, with believable pauses in between.
- Confirm, then collect the ticket.
Practical tipsLink to Practical tips
- Tencent analyses the drag path: a straight move at constant speed gets flagged.
- It favours Chinese IPs and genuine browsers. Foreign datacenter addresses get harder puzzles or endless loops.
- Each
ticketis single-use, so never submit it twice. - Newer widgets encrypt
sess,aidand more. Letting a real browser run the official script is sturdier than rebuilding the flow by hand. - In one-click or invisible mode, the fingerprint and behaviour are what matter, not puzzle-solving.