mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
Fixed bug in spoofing, now works
This commit is contained in:
16
index.html
16
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 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user