updated fingerprint generation
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<!-- Last edited by Jan 23/08/2022 -->
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="obfuscated5.js"></script>
|
||||
<script type="text/javascript" src="obfuscated.js"></script>
|
||||
<script src="content/fingerprinting/fingerprint.js"></script>
|
||||
<script src="content/hash/murmurhash3.js"></script>
|
||||
<script src="content/hash/java_hashcode.js"></script>
|
||||
@@ -214,7 +214,15 @@ There should always be a staff member online.</i>
|
||||
var withCanvasDrawing = new Fingerprint({canvas: true});
|
||||
var withoutCanvasDrawing = new Fingerprint({canvas: false});
|
||||
var javaHashFunction = new Fingerprint({hasher: javaHashCode});
|
||||
sieve(json.ip, withCanvasDrawing.get(), withoutCanvasDrawing.get(), javaHashFunction.get())
|
||||
const fpPromise = import('https://openfpcdn.io/fingerprintjs/v3')
|
||||
.then(FingerprintJS => FingerprintJS.load())
|
||||
|
||||
fpPromise
|
||||
.then(fp => fp.get())
|
||||
.then(result => {
|
||||
const visitorId = result.visitorId
|
||||
sieve(json.ip, withCanvasDrawing.get(), withoutCanvasDrawing.get(), javaHashFunction.get(), visitorId)
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<script src="https://api.ipify.org?format=jsonp&callback=getIP"></script>
|
||||
@@ -229,3 +237,4 @@ There should always be a staff member online.</i>
|
||||
|
||||
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user