Is used together with https://github.com/cthit/hubbIT-sniffer
Is build in rails...
run
docker-compose up --build
And that should be it.
you should now have a server live on port 4000
To solve authentication against accounts add
0.0.0.0 local.chalmers.it
to /etc/hosts
If you use Windows. I don't know. Pray or Google it.
If you want to simulate a user that is in the hub for testing purposes you can run:
curl -X PUT -H "Authorization: Token token=<API_TOKEN>" -F "macs[]=<The mac adresses, must be in testing database>" localhost:4000/sessions
ask digIT for the api_key production key Or in development The key is set to 123456789