Security News
OpenJS: “XZ Utils Cyberattack Likely Not an Isolated Incident”
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
@1conan/anti-captcha
Advanced tools
Weekly downloads
Readme
API wrapper for Anti Captcha
import { AntiCaptcha, RecaptchaV2ProxylessResult, TaskType } from '@1conan/anti-captcha';
const ac = new AntiCaptcha('<insert clientKey>');
(async () => {
const balance = await ac.getBalance();
console.log(`Balance: ${balance}`);
const taskId = await ac.createTask({
type: TaskType.RecaptchaV2Proxyless,
websiteURL: 'https://example.com',
websiteKey: '<insert recaptcha public key>',
isInvisible: true,
});
console.log(`Task ID: ${taskId}`);
const result = await ac.getTaskResult<RecaptchaV2ProxylessResult>(taskId);
const solvingTime = (result.solvedAt.getTime() - result.createdAt.getTime()) / 1000;
console.log(`Cost: US$${result.cost}`);
console.log(`Solving Time: ${solvingTime.toFixed(2)} seconds`);
console.log(`Result: ${result.gRecaptchaResponse}`);
})();
const { AntiCaptcha, TaskType } = require('@1conan/anti-captcha');
const ac = new AntiCaptcha('<insert clientKey>');
(async () => {
const balance = await ac.getBalance();
console.log(`Balance: ${balance}`);
const taskId = await ac.createTask({
type: TaskType.RecaptchaV2Proxyless,
websiteURL: 'https://example.com',
websiteKey: '<insert recaptcha public key>',
isInvisible: true,
});
console.log(`Task ID: ${taskId}`);
const result = await ac.getTaskResult(taskId);
const solvingTime = (result.solvedAt.getTime() - result.createdAt.getTime()) / 1000;
console.log(`Cost: US$${result.cost}`);
console.log(`Solving Time: ${solvingTime.toFixed(2)} seconds`);
console.log(`Result: ${result.gRecaptchaResponse}`);
})();
FAQs
anti-captcha api client
The npm package @1conan/anti-captcha receives a total of 0 weekly downloads. As such, @1conan/anti-captcha popularity was classified as not popular.
We found that @1conan/anti-captcha 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.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
Company News
Come meet the Socket team at BSidesSF and RSA! We're sponsoring several fun networking events and we would love to see you there.
Security News
OSI is starting a conversation aimed at removing the excuse of the SaaS loophole for companies navigating licensing and the complexities of doing business with open source.