
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
captcha-rec
Advanced tools
> Base on Lianzhong CAPTCHA Recognition online [Lianzhong](https://www.jsdati.com/) using Node.js to break CAPTCHA.
Base on Lianzhong CAPTCHA Recognition online Lianzhong using Node.js to break CAPTCHA.
This module requires a minimum of Node v6.9.0
To begin, you'll need to install captcha-rec
:
npm i captcha-rec
// or yarn add captcha-rec
using in Node.js
const Captcha = require('captcha-rec')
const captcha = new Captcha({
username: '', // Lianzhong username, see below [Options](## Options)
password: '', // Lianzhong password, see below
type: '' // CAPTCHA type, see below
})
// 1.using local file
const fs = require('fs')
captcha.recon(fs.createReadStream('test.png')).then(result => {
console.log('recon result', result.value)
// report ID result.reportId
}).catch(err => {
console.error('err', err)
})
// 2. using remote images
captcha.recon('https://example.com/test.png').then(result => {
console.log('recon result', result.value)
// report ID result.reportId
}).catch(err => {
console.error('err', err)
})
username
Lianzhong username, you should register on the websites Lianzhongpassword
Lianzhong password, you should register on the websites Lianzhongtype
CAPTCHA type, see Type and PriceimgSrc
image src or image eadStreamtype
CAPTCHA type<Promise>
The main method to recognition the CAPTCHA.
reportId
CAPTCHA reportId<Promise>
If the recognition result no correct, you can report the result to the Lianzhong, help them to correction the result.
FAQs
> Base on Lianzhong CAPTCHA Recognition online [Lianzhong](https://www.jsdati.com/) using Node.js to break CAPTCHA.
We found that captcha-rec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.