diff --git a/README.md b/README.md
index 0f7248a6..fef43dc4 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-# ๐ Malvin-Session-Generator
+# ๐ DARK-KNIGHT-Session-Generator
## ๐ Visitor Counter
-
+
---
@@ -12,10 +12,10 @@
[](https://github.com/XdKing2/malvin-pair/fork)
-Generate session IDs for WhatsApp bots using [`@whiskeysockets/baileys`](https://github.com/whiskeysockets/baileys), with secure **MEGA** cloud storage and a fast web QR login.
+Generate session IDs for WhatsApp bots using [`@whiskeysockets/baileys`](https://github.com/whiskeysockets/baileys), with secure **MEGA** cloud storage and a fast web **PAIR CODE** login.
> โ ๏ธ This is the **same code** used on my live site:
-> ๐ [Session Generator Website](https://new-session-2ag9.onrender.com/)
+> ๐ [Session Generator Website](file:///C:/Users/fghia/Documents/WEB-PAIR-main/pair.html)
> ๐ฌ Don't ask for more โ just **fork**, **star**, **edit** ,and **deploy**!
---
@@ -24,11 +24,9 @@ Generate session IDs for WhatsApp bots using [`@whiskeysockets/baileys`](https:/
- ๐ Generates sessions for **any Baileys bot**
- โ๏ธ Stores sessions securely with **MEGA**
-- ๐ฑ Web-based **QR Pairing & Pair Pairing**
+- ๐ฑ Web-based **Pair Pairing**
- ๐ One-click deploy to:
- Heroku
- - Render
- - Koyeb
- Self-hosting platforms
---
@@ -38,8 +36,7 @@ Generate session IDs for WhatsApp bots using [`@whiskeysockets/baileys`](https:/
| Platform | Deploy |
|---------|--------|
| ๐ฃ Heroku | [](https://dashboard.heroku.com/new?template=https://github.com/XdKing2/malvin-pair) |
-| ๐ต Render | [](https://dashboard.render.com/) |
-| โซ Koyeb | [](https://app.koyeb.com/) |
+
---
@@ -50,15 +47,20 @@ Generate session IDs for WhatsApp bots using [`@whiskeysockets/baileys`](https:/
---
-## ๐ Owner
+## ๐งฌ Owner & addmin....
-
+
-๐ฌ [`Contact on WhatsApp`](https://wa.me/263780166288)
+| MAIN OWNER & ADDMIN | CONTACT ON WHATSAPP |
+|---------|--------|
+| ๐ OWNER THENUKA | ๐ฌ [Contact on WhatsApp dark knight owner ](https://wa.me/94763934860?text=OWNER=Tenuka-support_me๐ป๐)
+| ๐ฃ ADDMIN SACHITHRA | ๐ฌ [Contact on WhatsApp dark knight addmin ](https://wa.me/94761332610?text=ADDMIN=Sachithra-support_me๐ป๐)
+| ๐ฃ ADDMIN KAVIDU | ๐ฌ [Contact on WhatsApp dark knight addmin ](https://wa.me/94766704052?text=ADDMIN=Kavidu-support_me๐ป๐)
+
---
diff --git a/app.json b/app.json
index 2f995c9e..ac5dc7c2 100644
--- a/app.json
+++ b/app.json
@@ -1,9 +1,9 @@
{
- "name": "Malvin Session Generator",
+ "name": "Dark knight Session Generator",
"description": "Web Session Generator",
"logo": "https://i.imgur.com/teQzVR1.jpeg",
"repository": "https://github.com/XdKing2/malvin-pair",
- "keywords": ["MalvinTech","XdKing2"],
+ "keywords": ["Dark knight","XdKing2"],
"success_url": "/",
"buildpacks": [{ "url": "https://github.com/heroku/heroku-buildpack-nodejs#latest" } ],
"env": {
diff --git a/main.html b/main.html
index 0de62acc..62f6fb68 100644
--- a/main.html
+++ b/main.html
@@ -19,7 +19,7 @@
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://railway.app",
- "logo": "https://files.catbox.moe/39z8jd.jpg"
+ "logo": "https://files.catbox.moe/brlkte.jpg"
}
.button-container {
@@ -112,19 +112,19 @@
-
MALVIN SESSION
+
DARK KNIGHT SESSION
QR-CODE
PAIRING-CODE
-
FORK MALVIN XD
+
FORK DARK KNIGHT XD
WhatsApp
HAVE ANY ERROR CLICK ERROR BUTTON
-
ERROR
+
SUPPORT
diff --git a/pair.html b/pair.html
index 38c54e4c..2c2abd23 100644
--- a/pair.html
+++ b/pair.html
@@ -1,7 +1,7 @@
-
Malvin PAIR CODE
+
DARK KNIGHT PAIR CODE
-
-
-
-
-
-
-

-
-
-
MALVIN QR PAIR
-
Scan The QR Code
-
-
-
Reload Page
-
-
-
-
diff --git a/qr.js b/qr.js
deleted file mode 100644
index 014d179e..00000000
--- a/qr.js
+++ /dev/null
@@ -1,170 +0,0 @@
-const { makeid } = require('./gen-id');
-const express = require('express');
-const QRCode = require('qrcode');
-const fs = require('fs');
-let router = express.Router();
-const pino = require("pino");
-const {
- default: makeWASocket,
- useMultiFileAuthState,
- delay,
- makeCacheableSignalKeyStore,
- Browsers,
- jidNormalizedUser
-} = require("@whiskeysockets/baileys");
-const { upload } = require('./mega');
-function removeFile(FilePath) {
- if (!fs.existsSync(FilePath)) return false;
- fs.rmSync(FilePath, { recursive: true, force: true });
-}
-router.get('/', async (req, res) => {
- const id = makeid();
- // let num = req.query.number;
- async function MALVIN_XD_PAIR_CODE() {
- const {
- state,
- saveCreds
- } = await useMultiFileAuthState('./temp/' + id);
- try {
-var items = ["Safari"];
-function selectRandomItem(array) {
- var randomIndex = Math.floor(Math.random() * array.length);
- return array[randomIndex];
-}
-var randomItem = selectRandomItem(items);
-
- let sock = makeWASocket({
-
- auth: state,
- printQRInTerminal: false,
- logger: pino({
- level: "silent"
- }),
- browser: Browsers.macOS("Desktop"),
- });
-
- sock.ev.on('creds.update', saveCreds);
- sock.ev.on("connection.update", async (s) => {
- const {
- connection,
- lastDisconnect,
- qr
- } = s;
- if (qr) await res.end(await QRCode.toBuffer(qr));
- if (connection == "open") {
- await delay(5000);
- let data = fs.readFileSync(__dirname + `/temp/${id}/creds.json`);
- let rf = __dirname + `/temp/${id}/creds.json`;
- function generateRandomText() {
- const prefix = "3EB";
- const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
- let randomText = prefix;
- for (let i = prefix.length; i < 22; i++) {
- const randomIndex = Math.floor(Math.random() * characters.length);
- randomText += characters.charAt(randomIndex);
- }
- return randomText;
- }
- const randomText = generateRandomText();
- try {
- const { upload } = require('./mega');
- const mega_url = await upload(fs.createReadStream(rf), `${sock.user.id}.json`);
- const string_session = mega_url.replace('https://mega.nz/file/', '');
- let md = "malvin~" + string_session;
- let code = await sock.sendMessage(sock.user.id, { text: md });
- let desc = `*Hey there, MALVIN-XD User!* ๐๐ป
-
-Thanks for using *MALVIN-XD* โ your session has been successfully created!
-
-๐ *Session ID:* Sent above
-โ ๏ธ *Keep it safe!* Do NOT share this ID with anyone.
-
-โโโโโโ
-
-*โ
Stay Updated:*
-Join our official WhatsApp Channel:
-https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A
-
-*๐ป Source Code:*
-Fork & explore the project on GitHub:
-https://github.com/XdKing2/MALVIN-XD
-
-โโโโโโ
-
-> *ยฉ Powered by Malvin King*
-Stay cool and hack smart. โ๐ป`;
- await sock.sendMessage(sock.user.id, {
-text: desc,
-contextInfo: {
-externalAdReply: {
-title: "แดแดสแด ษชษด-xแด
๐ฎ๐๐๐๐๐๐๐๐",
-thumbnailUrl: "https://files.catbox.moe/bqs70b.jpg",
-sourceUrl: "https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A",
-mediaType: 1,
-renderLargerThumbnail: true
-}
-}
-},
-{quoted:code })
- } catch (e) {
- let ddd = sock.sendMessage(sock.user.id, { text: e });
- let desc = `*Hey there, MALVIN-XD User!* ๐๐ป
-
-Thanks for using *MALVIN-XD* โ your session has been successfully created!
-
-๐ *Session ID:* Sent above
-โ ๏ธ *Keep it safe!* Do NOT share this ID with anyone.
-
-โโโโโโ
-
-*โ
Stay Updated:*
-Join our official WhatsApp Channel:
-https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A
-
-*๐ป Source Code:*
-Fork & explore the project on GitHub:
-https://github.com/XdKing2/MALVIN-XD
-
-> *ยฉ Powered by Malvin King*
-Stay cool and hack smart. โ๐ป*`;
- await sock.sendMessage(sock.user.id, {
-text: desc,
-contextInfo: {
-externalAdReply: {
-title: "แดแดสแด ษชษด-xแด
๐ฎ๐๐๐๐๐๐๐๐ โ
",
-thumbnailUrl: "https://files.catbox.moe/bqs70b.jpg",
-sourceUrl: "https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A",
-mediaType: 2,
-renderLargerThumbnail: true,
-showAdAttribution: true
-}
-}
-},
-{quoted:ddd })
- }
- await delay(10);
- await sock.ws.close();
- await removeFile('./temp/' + id);
- console.log(`๐ค ${sock.user.id} ๐๐ผ๐ป๐ป๐ฒ๐ฐ๐๐ฒ๐ฑ โ
๐ฅ๐ฒ๐๐๐ฎ๐ฟ๐๐ถ๐ป๐ด ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐...`);
- await delay(10);
- process.exit();
- } else if (connection === "close" && lastDisconnect && lastDisconnect.error && lastDisconnect.error.output.statusCode != 401) {
- await delay(10);
- MALVIN_XD_PAIR_CODE();
- }
- });
- } catch (err) {
- console.log("service restated");
- await removeFile('./temp/' + id);
- if (!res.headersSent) {
- await res.send({ code: "โ Service Unavailable" });
- }
- }
- }
- await MALVIN_XD_PAIR_CODE();
-});
-setInterval(() => {
- console.log("โ๏ธ ๐ฅ๐ฒ๐๐๐ฎ๐ฟ๐๐ถ๐ป๐ด ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐...");
- process.exit();
-}, 180000); //30min
-module.exports = router;