Root-Me Badge Generator is a web application script that generates badges from Root-me profiles.
The original idea came from Podalirius on the Root-Me forums (https://www.root-me.org/?page=forum&id_thread=12859)
I forked this project in order to use his static png badge generator. I changed the way to fetch data from Root-Me website using the official API (see https://api.www.root-me.org/).
Then, i built the web application and added a HackTheBox theme in order to add it next to my HackTheBox badge on my website
- [dev] edit
.env
file - [prod] edit
ENV
attributes inside theDockerfile
.
Example:
ENV API_URL https://api.www.root-me.org
ENV URL https://root-me-badge.hackademint.org
ENV STORAGE_FOLDER storage_clients
ENV ROOTME_ACCOUNT_USERNAME rootme_username
ENV ROOTME_ACCOUNT_PASSWORD password
ROOTME_ACCOUNT_USERNAME
and ROOTME_ACCOUNT_PASSWORD
stands for the credentials for a valid RootMe account.
URL
is the external URI where the application can be reached.
docker build -t zteeed/badge_generator .
docker run -d --restart always -p 5000:80 --name badge_generator zteeed/badge_generator