From 3850c36a9727b4d2416e1e07dcd777130e772ea7 Mon Sep 17 00:00:00 2001 From: Damian-I Date: Tue, 25 Feb 2025 00:33:46 +0000 Subject: [PATCH] Fixed bug in spoofing, now works --- index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/index.html b/index.html index 230c3d9..3691b6e 100644 --- a/index.html +++ b/index.html @@ -2709,6 +2709,21 @@ createSamplesUI(); setupSamplesUIControls(); } + + function generateFingerprintData(sample) { + // For spoofed samples, we generate from the original sample data + if (sample.data) { + return `spoofed_${sample.data}`; + } + + // For original samples from items, we use the item's data + if (sample.scenarioData?.fingerprintOwner) { + return `fp_${sample.scenarioData.fingerprintOwner}_${Date.now()}`; + } + + // Fallback unique identifier + return `fp_unknown_${Date.now()}`; + } // Add spoofing functionality function createSpoofedSample(originalSample) { @@ -2880,6 +2895,7 @@ } } } + \ No newline at end of file