Closed Strooss closed 1 year ago
full error .-.
full error .-.
DiscordAPIError: You need to update your app to join this server.
a9b5fb07-92ff-493f-86fe-352a2803b3df
hcaptcha
pbiilv9W4bcG/L936Pr94mjxP2t65UcsswVZZ/CB8niFFchkSzfVp+YOhpkiPouyjY7s4xQZH4XWh8/DqYkxYDGFnc+tvedClO+1TfZ/lT4qtLOWUuxIt7hTB1i0SQtlKeDKyVqyuOGesBdQnK4Os16KdbEIuto8nhNU5frz
InBQUm9qVlY3OE1ja2s1REJIYTk4ZnRkcStiWE9TbWVaM2tPYzA4OXFHa08wdURMUEJpWlhLWE1DOWM0ci8rWEJUbjhIb2c9PVZYcDBVTzB5WjJPaVpPUUYi.Y-N0Tg.AcdXesunhaXJB_xXLaJkIdDGPHo
at RequestHandler.execute (C:\Users\USER\Desktop\boostsBot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:422:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (C:\Users\USER\Desktop\boostsBot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:80:14)
at async Invite.acceptInvite (C:\Users\USER\Desktop\boostsBot\node_modules\discord.js-selfbot-v13\src\structures\Invite.js:339:5)
at async joinGuild (C:\Users\USER\Desktop\boostsBot\Utils\Functions.js:68:19)
at async Client.<anonymous> (C:\Users\USER\Desktop\boostsBot\index.js:54:21) {
method: 'post',
path: '/invites/39aWSFuRP9',
code: undefined,
httpStatus: 400,
captcha: {
captcha_key: [ 'You need to update your app to join this server.' ],
captcha_sitekey: 'a9b5fb07-92ff-493f-86fe-352a2803b3df',
captcha_service: 'hcaptcha',
captcha_rqdata: 'pbiilv9W4bcG/L936Pr94mjxP2t65UcsswVZZ/CB8niFFchkSzfVp+YOhpkiPouyjY7s4xQZH4XWh8/DqYkxYDGFnc+tvedClO+1TfZ/lT4qtLOWUuxIt7hTB1i0SQtlKeDKyVqyuOGesBdQnK4Os16KdbEIuto8nhNU5frz',
captcha_rqtoken: 'InBQUm9qVlY3OE1ja2s1REJIYTk4ZnRkcStiWE9TbWVaM2tPYzA4OXFHa08wdURMUEJpWlhLWE1DOWM0ci8rWEJUbjhIb2c9PVZYcDBVTzB5WjJPaVpPUUYi.Y-N0Tg.AcdXesunhaXJB_xXLaJkIdDGPHo'
},
requestData: { json: {}, files: [] }
}
also i need to put in an hcaptcha key? if yes i can use capmonster?
also i need to put in an hcaptcha key? if yes i can use capmonster?
currently i only support 2captcha. you can add manual captcha solving function https://github.com/aiko-chan-ai/discord.js-selfbot-v13/issues/458#issuecomment-1373146340
also i need to put in an hcaptcha key? if yes i can use capmonster?
currently i only support 2captcha. you can add manual captcha solving function #458 (comment)
How i get the capatcha image? and what should i return?
https://discordjs-self-v13.netlify.app/#/docs/docs/main/typedef/CustomCaptchaSolver I see, i did this but it don't really works, it just return nothing .. im doing exactly like their documentation. do you have any idea?? https://www.npmjs.com/package/capmonster
const CapMonster = require("capmonster");
const captcha = new CapMonster('key');
const userclient = new Client({
password: password,
checkUpdate: false,
captchaService: 'custom',
captchaSolver: async (captchaData, userAgent) => {
console.log(captchaData)
let result = await captcha.decodeReCaptchaV2('https://discord.com/channels/@me', captchaData.captcha_sitekey);
console.log(result)
if (result.solution) return result.solution.gRecaptchaResponse;
}
});
https://discordjs-self-v13.netlify.app/#/docs/docs/main/typedef/CustomCaptchaSolver I see, i did this but it don't really works, it just return nothing .. im doing exactly like their documentation. do you have any idea?? https://www.npmjs.com/package/capmonster
const CapMonster = require("capmonster"); const captcha = new CapMonster('key'); const userclient = new Client({ password: password, checkUpdate: false, captchaService: 'custom', captchaSolver: async (captchaData, userAgent) => { console.log(captchaData) let result = await captcha.decodeReCaptchaV2('https://discord.com/channels/@me', captchaData.captcha_sitekey); console.log(result) if (result.solution) return result.solution.gRecaptchaResponse; } });
hcaptcha, not recaptcha
but capmonster can't solve captcha when joining server
but capmonster can't solve captcha when joining server
why? can you explain?
captcha: {
captcha_key: [ 'You need to update your app to join this server.' ],
captcha_sitekey: 'a9b5fb07-92ff-493f-86fe-352a2803b3df',
captcha_service: 'hcaptcha',
captcha_rqdata: 'pbiilv9W4bcG/L936Pr94mjxP2t65UcsswVZZ/CB8niFFchkSzfVp+YOhpkiPouyjY7s4xQZH4XWh8/DqYkxYDGFnc+tvedClO+1TfZ/lT4qtLOWUuxIt7hTB1i0SQtlKeDKyVqyuOGesBdQnK4Os16KdbEIuto8nhNU5frz',
captcha_rqtoken: 'InBQUm9qVlY3OE1ja2s1REJIYTk4ZnRkcStiWE9TbWVaM2tPYzA4OXFHa08wdURMUEJpWlhLWE1DOWM0ci8rWEJUbjhIb2c9PVZYcDBVTzB5WjJPaVpPUUYi.Y-N0Tg.AcdXesunhaXJB_xXLaJkIdDGPHo'
},
this is the data returned from discord to solve this type of captcha need to add 3 parameters:
discord.com
a9b5fb07-92ff-493f-86fe-352a2803b3df
Captcha_rqdata: pbiilv9W4bcG/L936Pr94mjxP2t65UcsswVZZ/CB8niFFchkSzfVp+YOhpkiPouyjY7s4xQZH4XWh8/DqYkxYDGFnc+tvedClO+1TfZ/lT4qtLOWUuxIt7hTB1i0SQtlKeDKyVqyuOGesBdQnK4Os16KdbEIuto8nhNU5frz
i came across some capmonster library for nodejs and it doesn't support rqdata
it will get stuck in the loop
you can create a function that solves it yourself
you can create a function that solves it yourself
How that? tried many libraries all of them don't works
you can create a function that solves it yourself
How that? tried many libraries all of them don't works
try axios / node-fetch
you can create a function that solves it yourself
How that? tried many libraries all of them don't works
try axios / node-fetch
after some google search's, i did this :
captchaSolver: async (captchaData, userAgent) => {
try {
const createTaskResponse = await axios.post("https://api.capmonster.cloud/createTask", {
clientKey: CAPMONSTER,
task: {
type: "HCaptchaTaskProxyless",
websiteURL: "https://discord.com/channels/@me",
websiteKey: captchaData.captcha_sitekey
}
});
const taskId = createTaskResponse.data.taskId;
let getResults = { status: "processing" };
while (getResults.status === "processing") {
const getResultsResponse = await axios.post("https://api.capmonster.cloud/getTaskResult", {
clientKey: CAPMONSTER,
taskId
});
getResults = getResultsResponse.data;
await new Promise(resolve => setTimeout(resolve, 1000));
}
const solution = getResults.solution.gRecaptchaResponse;
console.log(solution)
return await solution;
} catch (error) {
console.error(error);
}
}
it return for me a result, it seems fine but i think ur package need another something to work or idk .. im getting this
at RequestHandler.execute (C:\Users\USER\Desktop\boostsBot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:422:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (C:\Users\USER\Desktop\boostsBot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:80:14)
at async Invite.acceptInvite (C:\Users\USER\Desktop\boostsBot\node_modules\discord.js-selfbot-v13\src\structures\Invite.js:339:5)
at async joinGuild (C:\Users\USER\Desktop\boostsBot\Utils\Functions.js:104:19)
at async Client.<anonymous> (C:\Users\USER\Desktop\boostsBot\index.js:51:21) {
method: 'post',
path: '/invites/39aWSFuRP9',
code: undefined,
httpStatus: 400,
captcha: {
captcha_key: [ 'captcha-required' ],
captcha_sitekey: 'a9b5fb07-92ff-493f-86fe-352a2803b3df',
captcha_service: 'hcaptcha',
captcha_rqdata: '75KYUmxHtm0UfAHQVzByon01ApvLpTNYcf//w4UiqAUFIAPDwzwkBTzdX8cITuTLU2iNLarkZe/3RcBa8rWownB+VnzIpI8WqNymdMYgOWZrUNESOeBW621RYM6FW1ttMVwnTQ1WmHyE2//iv7Hj5iiqYL8J+m1EpPrrp4FE',
captcha_rqtoken: 'Ik0yRFlFUHg1WHNEQXBmOGN4RmlpTmFXbHpxOWVPZ1B5TkxRTjZVQ2lwRVV5UHJPVU90SHBEWTkrdHBKU294QlZTZHQydEE9PTlxTCtISUt1UHRwNFh5aTMi.Y-OOvg.m-FQ1WQoaUKkwzioH91CeoXz9gE'
},
requestData: { json: {}, files: [] }
}
https://www.reddit.com/r/Discord_selfbots/comments/tq6g2v/captcha_bypass_new_captcha_keys_question/
That help me! i did this: but now im getting the same error as this guy 523
const createTaskResponse = await axios.post("https://api.capmonster.cloud/createTask", {
clientKey: CAPMONSTER,
task: {
type: "HCaptchaTask",
websiteURL: "https://discord.com/channels/@me",
websiteKey: captchaData.captcha_sitekey,
data: captchaData.captcha_rqdata,
isInvisible: true,
userAgent: userAgent
}
});
const taskId = createTaskResponse.data.taskId;
let getResults = { status: "processing" };
while (getResults.status === "processing") {
const getResultsResponse = await axios.post("https://api.capmonster.cloud/getTaskResult", {
clientKey: CAPMONSTER,
taskId
});
getResults = getResultsResponse.data;
await new Promise(resolve => setTimeout(resolve, 1000));
}
const solution = getResults.solution.gRecaptchaResponse;
console.log(solution)
return await solution;
2.10.2
Which package has the bugs?
The core library
Issue description
Trying to join a server
Code sample