Temporary Advertisements:
Ad
Ad
Ad
CAPTCHA bypass script
by xnordx - Wednesday February 26, 2025 at 02:04 PM
#1
CAPTCHA bypass script. Help me to improve it.

const puppeteer = require('puppeteer');
const readline = require('readline-sync');
const colors = require('colors');
const fs = require('fs');

(async () => {
    let continuar = true;

    while (continuar) {
       
        console.clear();

        const asciiArt = `
        ┬─┐┌─┐╔═╗╔═╗╔═╗╔╦╗╔═╗╦ ╦╔═╗
        ├┬┘├┤ ║  ╠═╣╠═╝ ║ ║  ╠═╣╠═╣
        ┴└─└─┘╚═╝╩ ╩╩  ╩ ╚═╝╩ ╩╩ ╩       
        `;

        console.log(asciiArt.yellow);
        console.log('CAPTCHA V3'.yellow);

        const url = readline.question('URL: ');
        const siteKey = readline.question('KEY: ');

        if (!url || !siteKey) {
            console.error('Must supply URL and KEY.'.red);
            process.exit(1);
        }

        try {
            const browser = await puppeteer.launch({
                headless: true,
            });

            const page = await browser.newPage();

            console.log('Loading!'.yellow);
            await page.goto(url);

            console.log('\nreCAPTCHA DONE  ?'.green);
            await page.evaluate((siteKey) => {
                return new Promise((resolve) => {
                    const script = document.createElement('script');
                    script.src = 'https://www.google.com/recaptcha/api.js';
                    script.onload = resolve;
                    document.head.appendChild(script);
                });
            }, siteKey);

            const token = await page.evaluate((siteKey) => {
                return new Promise((resolve, reject) => {
                    grecaptcha.ready(() => {
                        grecaptcha.execute(siteKey, { action: 'submit' })
                            .then(resolve)
                            .catch(reject);
                    });
                });
            }, siteKey);

            console.log('\nTOKEN:'.cyan);
            console.log(token);

            const fileName = `token-${Date.now()}.txt`;
            fs.writeFileSync(fileName, token);

            console.log(`\nSaved: ${fileName}`.green);

            await browser.close();
        } catch (error) {
            console.error('ERROR:', error.message.red);
        }

        const resposta = readline.question('\nagain? (y/n): '.yellow).toLowerCase();
        if (resposta !== 'y') {
            continuar = false;
            console.log('bye'.yellow);
        }
    }
})();
Reply
#2
This is good work so far, once its completed Ill use it
Reply
#3
(Feb 26, 2025, 02:10 PM)DataSec Wrote: This is good work so far, once its completed Ill use it

U are not alone Big Grin Big Grin
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ⭐ ULTIMATE OPSEC GUIDE USED BY ISRAELI & CHINESE HACKER ⭐ Jimbo 3,683 258,634 6 minutes ago
Last Post: popi000j
  [FREE] OSCP, OSEP, eWPTX, eCPPT, SANS, OSWE Courses rastamice3 283 12,928 1 hour ago
Last Post: MrRobot89
  Everything you'll need to dox someone Deletethefaa2 190 8,750 2 hours ago
Last Post: hxckya
  How To Enumerate Target? Enumerating Toyota! parolsecurity 19 1,372 2 hours ago
Last Post: hxckya
  ⭐️ ULTIMATE GUIDE BYPASS 2FA ON ALL PLATFORMS | UNPATCHED 2024 | INSIDER METHODS ⭐️ Alleged 556 21,305 2 hours ago
Last Post: hxckya

Forum Jump:


 Users browsing this forum: 1 Guest(s)