htb-cli icon indicating copy to clipboard operation
htb-cli copied to clipboard

[FEAT] Query user created content

Open Yeeb1 opened this issue 5 months ago • 0 comments

Hey,

first - thank you for maintaining this project!

I'd really like to see a function in htb-cli that queries the HTB API for user created content, like machines, challenges and writeups. There is a API endpoint located at

https://www.hackthebox.com/api/v4/profile/content/<USERID>

I created a simple python implemenation that queries the endpoint in python:

https://gist.github.com/Yeeb1/c5eb3343fafe1a0b85531b53c25c6a96

Yeeb1 avatar Jan 29 '24 18:01 Yeeb1