Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
- Promise Based API methods - Browser & NodeJS support - Node-Fetch EMCAScript - Fluent typings & native TS. - Proxy Support
A wrapper around the CapSolver API
Currently Supports:
npm install capsolver
yarn add capsolver
Recaptcha,
import CapSolver from "capsolver"
// A new 'solver' instance with our API key
const solver = new CapSolver.Solver("<Your captchaai api key>")
/* Example ReCaptcha Website */
// solver.<recaptchaV2 | recaptchaV2Enterprise | recaptchaV3>
solver.recaptchaV2("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/")
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error("Could not solve captcha.")
})
Image,
import CapSolver from "capsolver"
import fs from "fs";
const solver = new CapSolver.Solver("<Your captchaai api key>")
// Read from a file as base64 text
solver.imageCaptcha(fs.readFileSync("./captcha.png", "base64"))
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error("Could not solve captcha..")
})
Proxy,
import CapSolver from "capsolver"
const solver = new CapSolver.Solver("<Your captchaai api key>")
solver.recaptchaV2("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/", {
proxyAddress: "login:password@21.214.43.26", // The (Username : Password @ Address) of our chosen proxy
proxyType: "HTTP" // The 'Type' of proxy, http, https, socks, ect.
proxyPort: 8080
})
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error("Could not solve captcha..")
})
The latest version of the code base will always be under the 'next' branch!
FAQs
- Promise Based API methods - Browser & NodeJS support - Node-Fetch EMCAScript - Fluent typings & native TS. - Proxy Support
The npm package capsolver receives a total of 1,594 weekly downloads. As such, capsolver popularity was classified as popular.
We found that capsolver 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.