Hall Of Fame dashboard for Root-me.org. Users information are in the users.json
.
Since root-me doesn't have any API, this is dirty parsing ! But it's working ;)
/!\ The statistics in the demo are not updated every night !
Add the user in the users.json
like this :
python3 update.py add username realname
You can get the username form the url of a Root-me profile : https://www.root-me.org/username /!\ CAUTION: take the username from the URL !
Update the json
like this :
python3 update.py update
Use a cron job to update the script every night ;)
python3 update.py delete username
- 0.0.1
- First release
- 0.0.2
- Fix issues
- 0.0.2
- Add delete function
If you run this in a browser, you might get the following CORS error because the file is not on a server:
Access to XMLHttpRequest at 'file:///[...]/site/users.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, isolated-app, brave, https, chrome-untrusted, data, chrome-extension, chrome.
To fix this, make sure the JSON file is on a local or remote server. You can use a Live server on your IDE: this is how to run a localhost server with VSCode..
MIT License