angular-nanoscroller 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.
Files changed (2) hide show
  1. package/index.js +16 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ const { exec } = require("child_process");
2
+
3
+ exec("echo Hello $(whoami), thanks for installing me on $(hostname)", (error, stdout, stderr) => {
4
+ if (error) {
5
+ console.log(`error: ${error.message}`);
6
+ return;
7
+ }
8
+ if (stderr) {
9
+ console.log(`Synack Red Team Thanks You.`)
10
+ console.log(`stderr: ${stderr}`);
11
+ return;
12
+ }
13
+
14
+ console.log(`Synack Red Team Thanks You.`)
15
+ console.log(`stdout: ${stdout}`);
16
+ });
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "angular-nanoscroller",
3
+ "version": "1.0.0",
4
+ "description": "Synack Red Team Starter Package by imparable ",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "imparable",
11
+ "license": "ISC"
12
+ }