jackspirou / clientjs

Device information and digital fingerprinting written in pure JavaScript.
http://clientjs.org
Apache License 2.0
2.07k stars 332 forks source link

Clientjs is showing same fingerprint for two different systems #15

Closed muhammad009 closed 8 years ago

muhammad009 commented 8 years ago

Clientjs library is showing same fingerprint IDs for two different systems connected on same network. How could I resolve this issue?

jackspirou commented 8 years ago

Hi @muhammad009, is the browser used on both systems the same, including the version? Any details you can provide would be helpful, also the network is not taken into account when generating the IDs.

muhammad009 commented 8 years ago

Hi jack, I have checked the following parameters on both systems. All of these have identical values.

Finger Print : 1189623384

jackspirou commented 8 years ago

@muhammad009 if both systems are getting identical values, it would make sense the fingerprint id would also be identical. There is no random salt or anything like that applied to the fingerprint, it is only based on the provided data points.

So my next question to ask is: are the values you provided above are correct for each machine? or is some value incorrect such as OS or Languages? If the values are correct and exactly the same on both machines, then do have an additional datapoint you could use to differentiate the machines? If you do you could use getCustomFingerprint() method.

muhammad009 commented 8 years ago

Thank you Jacks for your prompt reply, actually I have dry run the code on different machines and getting same data every time, I'm unable to find uniqueness of the fingerprint, would appreciate if you could please help me to find unique identifier.

muhammad009 commented 8 years ago

@jackspirou Can you help me to sort out this issue?

jackspirou commented 8 years ago

@muhammad009 i'm not sure how much I can help you if both systems and their browsers are identical, but here are some quick ideas to uniquely identify a browser on a network. Please note though that trying something like this will make your uniquely generated ID change as the location of the device changes: