Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
capsolver-npm
Advanced tools
Manage to solve captcha challenges with AI in a NodeJS app (captcha service based).
🔥 Promise based 🔥 Catch TaskException with error code and description
npm i capsolver-npm
❗ You need to debug each website and the captcha use case, in order to adjust the correct implementation parameters.
Solver
:const { Solver } = require("capsolver-npm");
const solver = new Solver("CAP-XXXXXX ..."); // one solver by apikey
api.capsolver.com
supported task.Request a custom tasks (in case this lib doesn't support it yet):
.runCustomTaskType({})
.mustPoll
indicates if this task requires to poll the solution after create the task.{ proxy: "ip:port:user:pass", ... parameters }
const { Solver } = require("capsolver-npm");
const solver = new Solver("CAP-XXXXXX ...");
await solver.runCustomTaskType({
task: {
type: "AkamaiTask", // suppose this task exists at docs.capsolver.com
proxy: "ip:port:user:pass" // custom proxy usage
... parameters
}
mustPoll: true
})
.then(solution => { console.log(solution) })
.catch(e => { console.error(e) });
.balance()
.if(await solver.balance() < 5.00){
console.log("Your CapSolver balance is under 5 USD")
}
Figure out here.
null
by default are optional sometimes, it depends on implementation.await solver.recaptchav2({ websiteURL, websiteKey, proxy, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav2proxyless({ websiteURL, websiteKey, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav2enterprise({ websiteURL, websiteKey, proxy, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav2enterpriseproxyless({ websiteURL, websiteKey, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav3({ websiteURL, websiteKey, proxy, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.recaptchav3proxyless({ websiteURL, websiteKey, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.recaptchav3enterprise({ websiteURL, websiteKey, proxy, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.recaptchav3enterpriseproxyless({ websiteURL, websiteKey, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.hcaptcha({ websiteURL, websiteKey, proxy, isInvisible: null, enterprisePayload: null, userAgent: null })
await solver.hcaptchaproxyless({ websiteURL, websiteKey, isInvisible: null, enterprisePayload: null, userAgent: null })
// under manteniance at 27-07-2024
await solver.hcaptchaclassification({ websiteURL: null, websiteKey: null, queries, question })
await solver.funcaptcha({ websiteURL, websitePublicKey, data: null, userAgent: null, proxy });
await solver.funcaptchaproxyless({ websiteURL, websitePublicKey, data: null, userAgent: null })
await solver.funcaptchaclassification({ websiteURL: null, websiteKey: null, images, module: null, question });
await solver.geetest({ websiteURL, gt: null, challenge: null, proxy, geetestApiServerSubdomain: null, captchaId: null });
await solver.geetest_proxyless({ websiteURL, gt: null, challenge: null, captchaId: null, geetestApiServerSubdomain: null });
await solver.datadome({ websiteURL, userAgent, captchaUrl, proxy });
// under manteniance at 27-07-2024
await solver.antiturnstile({ websiteURL, websiteKey, metadata: null });
await.solver.mtcatpcha({ websiteURL, websiteKey, proxy });
await solver.image2text({ websiteURL: null, body, module: null, score: null, caseSensitive: null });
FAQs
Manage to solve captcha challenges with AI in a NodeJS app (captcha service based).
The npm package capsolver-npm receives a total of 3,807 weekly downloads. As such, capsolver-npm popularity was classified as popular.
We found that capsolver-npm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.