Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
/ fp-demo Public archive

Demo sobre los datos extraidos mediante técnicas de browser fingerprinting

License

Notifications You must be signed in to change notification settings

diegoreico/fp-demo

Repository files navigation


What's this?

This is a server-client app that shows your digital browser fingerprint and stores it, so it can be compared with others users browser fingerprint.

The project has the following components:

  • Front end website: Gets all information about the user as possible without any dialog, makes a fingerprint and send that information to the backend
  • Backend:
    • Nodejs: Ensures that the format is correct and stores the data into an elasticsearch database
    • Elasticsearch: Is our database choice
    • Kibana: Provides a front-end to see statistics and queries.

All these components run in it's docker container and we need a nginx proxy because kibana don't support authentication and we don't want to expose the statistics dashboard to the mases.


Running the thing

  # [optional]You can use your own version of the fp-demo if you build it like this
  docker build fp-demo -t diegoreico/fp-demo
  
  # Then just us docker-compose to create all the containers
  docker-compose up -d

Uninstall

 docker-compose down

Using the thing

Front-end

You should access to the front-end in the following url:

http://localhost:1337/node/

The front-end is not so pretty but it should provide you some info about your browser:

dashboard

The URL is:

http://localhost:1337/kibana/

Default password is admin and user is admin

Change by doing:

htcpasswd -c passwd <username>

Overwrite the file before creating the containers

Panel example image


About

The Schema

The schema of the database is defined in NodeJS using node-schema-object that lets us ensure that users cannot insert random objects to the database

The insertion

We'll use the node elasticsearch connector to help us insert the data into the database.


Todo

  1. Delete all of the "trangalladas"
  2. Using docker-compose to truly orchestate the thing:
  • fpdemo_node has a slep in order to wait for elasticsearch

Helpful commands

# Delete dead
docker rm $(docker ps --all -q -f status=dead)
# When a container mountpoint dies
sudo umount /var/lib/docker/devicemapper/mnt/9769dbe9e21d2aba6d2b08e79e3a67534ff8d69b66a93ae554a519cdc9ea7027
rm /etc/nginx/conf.d/default.conf && nano /etc/nginx/conf.d/default.conf
# Delete and re-run containters
docker-compose down && docker-compose up -d --force-recreate
# Reset nginx
apt-get update && apt-get install -y procps
killall nginx && sleep 1 && nginx

About

Demo sobre los datos extraidos mediante técnicas de browser fingerprinting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published