Skip to content

zteeed/RootMe-Badge-Generator

 
 

Repository files navigation

Root-Me Badge Generator

Description

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

Configuration

  • [dev] edit .env file
  • [prod] edit ENV attributes inside the Dockerfile.

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.

Install

docker build -t zteeed/badge_generator .
docker run -d --restart always -p 5000:80 --name badge_generator zteeed/badge_generator

Result

Home page

Fill the form with my RootMe username

Static PNG Badges

Dynamic JS Badge

Packages

No packages published

Languages

  • JavaScript 45.3%
  • CSS 26.0%
  • SCSS 14.5%
  • Python 9.3%
  • HTML 4.7%
  • Dockerfile 0.2%