docsthebox hits the hack the box api and gets all api data on the machines.
machines are stored in specified the notion database if they don't exist yet.
each page has basic templates attached to help document your exploitation.
glad you asked -- please check out the usage instructions.
you will need to set some things up so please read it.
easiest is to run the docker container if you have docker, otherwise run the python code.
sorry windows users, you might have to changes some paths. or just run the docker container.
maybe use notionx library over raw json + requests
code cleanup and commenting
hack the box has an incredibly aggresive cloudflare configuration and notion can sometimes not fetch the images from hack the box without receiving a 403 denied. this may cause images to not load sometimes. sorry, blame htb for their CF config.
-
thomas frank for inspiration