Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NodeJS - Get unique devicefingerprint

I have a node/express App and i would like to get the unique device fingerprint from where the app gets invoked. I came across some of the famous fingerprinting open source packages like https://github.com/Valve/fingerprintjs2 but unfortunately this library supports browser fingerprinting and not generate unique fingerprint for every single device from where the app gets invoked (https://github.com/Valve/fingerprintjs2/issues/80#issuecomment-148302793)

I also tried the device methods in clientjs https://clientjs.org/#Device-getDevice but was returning undefined (https://github.com/jackspirou/clientjs/issues/65) and this again is a client side library.

What i'm trying to accomplish is to get the unique device fingerprint on the server side. Like say for example consider a scenario where the app is invoked from 2 devices with the exact same configuration (like type, vendor and model) and in this use case i should be getting 2 unique device fingerprints.

The getDevice() in https://github.com/faisalman/ua-parser-js seems to be pretty close to what i'm looking for but not sure if it would satisfy my above use case, i.e. 2 devices with the exact same config (for example 2 iPhone 6) and i'm wondering in that case the type and vendor would be the same but not sure about the model value. Any idea or thoughts please share.

Also Augur (https://www.augur.io/) is the most recommended device recognition software, but unfortunately it's no more an open source

like image 928
Sai Avatar asked Jan 29 '17 20:01

Sai


1 Answers

express-fingerprint provides a fingerprinting system based on characteristics observable in the contents of Web requests, without the use of any code executing on the client side.

https://www.npmjs.com/package/express-fingerprint

like image 53
Rashomon Avatar answered Oct 20 '22 00:10

Rashomon