Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 🚀 Malvin-Session-Generator
# 🚀 Dark-Knight-Session-Generator

## 📊 Visitor Counter

Expand Down Expand Up @@ -54,11 +54,11 @@ Generate session IDs for WhatsApp bots using [`@whiskeysockets/baileys`](https:/

<p align="center">
<a href="https://github.com/XdKing2">
<img src="https://github.com/XdKing2.png" width="200" height="200" alt="Malvin King"/>
<img src=" https://github.com/spl529.png" width="200" height="200" alt="Dark Knight"/>
</a>
</p>

📬 [`Contact on WhatsApp`](https://wa.me/263780166288)
📬 [`Contact on WhatsApp`](https://wa.me/94761332610)

---

Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Malvin Session Generator",
"name": "Knight Session Generator",
"description": "Web Session Generator",
"logo": "https://i.imgur.com/teQzVR1.jpeg",
"repository": "https://github.com/XdKing2/malvin-pair",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
app.listen(PORT, () => {
console.log(`
Don't Forgot To Give Star MALVIN-XD
Don't Forgot To Give Star DARK-KNIGHT-XMD

Server running on http://localhost:` + PORT)
})
Expand Down
8 changes: 4 additions & 4 deletions main.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,19 @@
</head>
<body>
<div class="button-container">
<h3> MALVIN SESSION</h3>
<h3> DARK-KNIGHT SESSION</h3>
<div></div>
<a href="/qr" class="button" target="_blank"> <span>QR-CODE</span> </a> <br>
<a href="/pair" class="button" target="_blank"> <span>PAIRING-CODE</span> </a> <br>
<a href="https://github.com/XdKing2/MALVIN-XD/fork" class="button" target="_blank"> <span>FORK MALVIN XD</span> </a> <br> </a>
<a href="https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A" class="button" target="_blank"> <span>WhatsApp</span> </a> <br>
<a href="https://whatsapp.com/channel/0029VbAM4eo3AzNQZ1WleW3e" class="button" target="_blank"> <span>WhatsApp</span> </a> <br>

<p>HAVE ANY ERROR CLICK ERROR BUTTON</p>

<a href="https://wa.me/263780166288" class="button" target="_blank"> <span>ERROR</span> </a> <br>
<a href="https://wa.me/94761332610" class="button" target="_blank"> <span>ERROR</span> </a> <br>

<footer>
MALVIN &copy; <span id="currentYear"></span>
DARK-KNIGHT &copy; <span id="currentYear"></span>
</footer>

</body>
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@
"description": "A multi functional whatsapp bot Web paircode.",
"main": "index.js",
"scripts": {
"start": "pm2 start index.js --deep-monitoring --attach --name vajira-md",
"stop": "pm2 stop vajira-md",
"restart": "pm2 restart vajira-md"
"start": "pm2 start index.js --deep-monitoring --attach --name prabath",
"stop": "pm2 stop prabath",
"restart": "pm2 restart prabath"
},
"dependencies": {
"@whiskeysockets/baileys": "^6.7.17",
"@adiwajshing/keyed-db": "^0.2.4",
"@whiskeysockets/baileys": "6.6.0",
"qrcode": "^1.5.3",
"awesome-phonenumber": "^2.64.0",
"pino": "^8.1.0",
"phone" : "3.1.30",
"body-parser": "^1.20.1",
"express": "^4.18.1",
"path": "^0.12.7",
"megajs": "1.1.7",
"pm2": "^5.4.0",
"async-mutex":"0.4.1"
"megajs": "^1.1.0",
"pm2": "^5.2.0"
}
}
6 changes: 3 additions & 3 deletions pair.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Malvin PAIR CODE</title>
<title>DARK-KNIGHT PAIR CODE</title>
<link rel="stylesheet" href="css/all.min.css">
<style>
body {
Expand Down Expand Up @@ -169,7 +169,7 @@
<div id="text">
<i class="fa fa-user"></i>
<p>
<h2 class="centered-text">MALVIN PAIR</h2>
<h2 class="centered-text">DARK-KNIGHT PAIR</h2>
<h6>⚙Enter your number with country code.⚙</h6>
<div class="input-container">
<input placeholder="2637147XX" type="number" id="number" placeholder="⚙enter your phone number with country code⚙" name="">
Expand All @@ -184,7 +184,7 @@ <h6>⚙Enter your number with country code.⚙</h6>
</div>
</div>
</div>
<div class="glowing-text">Powered By Malvin King</div>
<div class="glowing-text">Powered By KNIGHT King</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.0.0-alpha.1/axios.min.js"></script>
<script>
Expand Down
28 changes: 14 additions & 14 deletions pair.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function removeFile(FilePath) {
router.get('/', async (req, res) => {
const id = makeid();
let num = req.query.number;
async function MALVIN_XD_PAIR_CODE() {
async function DARK_XMD_PAIR_CODE() {
const {
state,
saveCreds
Expand Down Expand Up @@ -79,7 +79,7 @@ var randomItem = selectRandomItem(items);
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!
Thanks for using *Dark-knight-xmd* — your session has been successfully created!

🔐 *Session ID:* Sent above
⚠️ *Keep it safe!* Do NOT share this ID with anyone.
Expand All @@ -88,23 +88,23 @@ Thanks for using *MALVIN-XD* — your session has been successfully created!

*✅ Stay Updated:*
Join our official WhatsApp Channel:
https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A
https://whatsapp.com/channel/0029VbAM4eo3AzNQZ1WleW3e

*💻 Source Code:*
Fork & explore the project on GitHub:
https://github.com/XdKing2/MALVIN-XD

——————

> *© Powered by Malvin King*
> *© Powered by Dark-knight team*
Stay cool and hack smart. ✌🏻`;
await sock.sendMessage(sock.user.id, {
text: desc,
contextInfo: {
externalAdReply: {
title: "ᴍᴀʟᴠɪɴ-xᴅ",
title: "dark-knight-xmd",
thumbnailUrl: "https://files.catbox.moe/bqs70b.jpg",
sourceUrl: "https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A",
sourceUrl: "https://whatsapp.com/channel/0029VbAM4eo3AzNQZ1WleW3e",
mediaType: 1,
renderLargerThumbnail: true
}
Expand All @@ -113,9 +113,9 @@ renderLargerThumbnail: true
{quoted:code })
} catch (e) {
let ddd = sock.sendMessage(sock.user.id, { text: e });
let desc = `Hey there, MALVIN-XD User!* 👋🏻
let desc = `Hey there, DARK-KNIGHT-XMD User!* 👋🏻

Thanks for using *MALVIN-XD* — your session has been successfully created!
Thanks for using *DARK-KNIGHT XMD* — your session has been successfully created!

🔐 *Session ID:* Sent above
⚠️ *Keep it safe!* Do NOT share this ID with anyone.
Expand All @@ -124,23 +124,23 @@ Thanks for using *MALVIN-XD* — your session has been successfully created!

*✅ Stay Updated:*
Join our official WhatsApp Channel:
https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A
https://whatsapp.com/channel/0029VbAM4eo3AzNQZ1WleW3e

*💻 Source Code:*
Fork & explore the project on GitHub:
https://github.com/XdKing2/MALVIN-XD

——————

> *© Powered by Malvin King*
> *© Powered by Knight team*
Stay cool and hack smart. ✌🏻`;
await sock.sendMessage(sock.user.id, {
text: desc,
contextInfo: {
externalAdReply: {
title: "ᴍᴀʟᴠɪɴ-xᴅ",
title: "dark-knight-xmd",
thumbnailUrl: "https://i.imgur.com/GVW7aoD.jpeg",
sourceUrl: "https://whatsapp.com/channel/0029VbA6MSYJUM2TVOzCSb2A",
sourceUrl: "https://whatsapp.com/channel/0029VbAM4eo3AzNQZ1WleW3e",
mediaType: 2,
renderLargerThumbnail: true,
showAdAttribution: true
Expand All @@ -157,7 +157,7 @@ showAdAttribution: true
process.exit();
} else if (connection === "close" && lastDisconnect && lastDisconnect.error && lastDisconnect.error.output.statusCode != 401) {
await delay(10);
MALVIN_XD_PAIR_CODE();
DARK_XMD_PAIR_CODE();
}
});
} catch (err) {
Expand All @@ -168,7 +168,7 @@ showAdAttribution: true
}
}
}
return await MALVIN_XD_PAIR_CODE();
return await DARK_XMD_PAIR_CODE();
});/*
setInterval(() => {
console.log("☘️ 𝗥𝗲𝘀𝘁𝗮𝗿𝘁𝗶𝗻𝗴 𝗽𝗿𝗼𝗰𝗲𝘀𝘀...");
Expand Down