• XSS.stack #1 – первый литературный журнал от юзеров форума

прочее [FREE] generative AI models

pigcad

RAID-массив
Пользователь
Регистрация
16.02.2023
Сообщения
51
Реакции
19
Hello, friends,
Today I am sharing with you a scraping code prepared by a user from another forum.
Enjoy...

This is a little sample of how much you can get from https://liaobots.work

Every ip gets about 8k tokens/5 auth codes worth of gpt 4, gemini pro, or claud opus. Current scraping code below is a piece of a larger project I'm doing, simply all it does is make a request to the api to gather these codes and put em into a json, if you can manage to make shit loads of requests within say, 10 seconds u can get more. Just run the code below and use a VPN, I'm implementing this into a discord bot so you don't need to deal with their shitty site that monitors your activity with session replay, just ask for a link and I'll pm. Use the auth codes yourself without coding, simply use their site and change the codes once it's depleted. Any questions about making your own client u can just pm me about it. Codes are strictly 13 characters long, uppercase and lowercase with numbers

Код:
pTIQr4FTnVRfr
usJnRXHoJoYxj
J72WlyQXEsH88
gJQ1EsMkoIxqe
UNcpwxggJ3DHj
fOBS5BG6nSjXd
tNOHcn7BQ1OPW
jF1jt5f3rHtJm
TNfdQJcKidhZp
N59gAViUkgeIW
PtYYwb70e4guS
6eybahARcxl2H
RVMtcyDEyLuO
HzlM1fem5eK9e
TNM1eYbbhHTKb
Y6Emcq5ExLkME
Nkj13eS47xpTr


```const axios = require('axios');
const fs = require('fs');
const path = require('path');

const data = JSON.stringify({ "authcode": " " });
const config = {
  method: 'post',
  url: 'https://liaobots.work/api/user',
  headers: {
    'Content-Type': 'application/json',
    'Referer': 'https://liaobots.work/',
    'Origin': 'https://liaobots.work',
    'cookie': 'gkp2=YgA62VmMKGEuVwkbz2HB'
  },
  data: data,
  responseType: 'json'
};

async function fetchAndStoreAuthCodes() {
  while (true) {
    try {
      const response = await axios.request(config);
      const { authCode } = response.data;

      let authCodes = [];
      const filePath = path.join(__dirname, 'authCodes.json');

      if (fs.existsSync(filePath)) {
        const fileContent = fs.readFileSync(filePath, 'utf8');
        try {
          const parsedContent = JSON.parse(fileContent);
          if (Array.isArray(parsedContent)) {
            authCodes = parsedContent;
          } else {
            console.error('File content is not an array, initializing with an empty array.');
          }
        } catch (parseError) {
          console.error('Error parsing JSON from file, initializing with an empty array:', parseError.message);
        }
      }

      authCodes.push(authCode);
      fs.writeFileSync(filePath, JSON.stringify(authCodes, null, 2), 'utf8');

      console.log(`AuthCode ${authCode} saved.`);
    } catch (error) {
      if (error.response) {
        if (error.response.status === 404) {
          console.log('Received 404 error');
          break;
        } else if (error.response.status === 401) {
          console.log('Received 401 error, stopping.');
          break;
        }
      } else {
        console.error('Error:', error.message);
      }
    }
  }

"(c) skullcmd"
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх