sdflkasjdflkj 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sdflkasjdflkj might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +16 -0
  3. package/package.json +18 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ ## Synack Red Team starter package
2
+
3
+ Running `npm i gift-card-sdk` will install the package and output a message.
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,18 @@
1
+ {
2
+ "name": "sdflkasjdflkj",
3
+ "version": "1.0.0",
4
+ "description": "Synack Red Team Starter Package. Gift Card SDK",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ },
8
+ "author": "phyr3wall",
9
+ "license": "ISC",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/wwallace/gift-card-sdk.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/wwallace/gift-card-sdk/issues"
16
+ },
17
+ "homepage": "https://github.com/wwallace/gift-card-sdk#readme"
18
+ }