mxrch / HackTheBot

A Discord Bot in Python for Hack The Box members.
Mozilla Public License 2.0
39 stars 11 forks source link

HackTheBot

⚠️ You shouldn't use this bot anymore. The code is old and dirty, HTB changed their interface (even the old with small details) so the scraping don't work anymore, and they released a working API, which you should rely on. So I'll archive this repo. ⚠️

You can see the progress here : https://trello.com/b/Y8Ah3ZPY/hackthebot

The bot is almost ready to be used! In the meantime, here are some features it can already do:

Commands :

In the shoutbox, display :

Other :

Here are some screens (in french) to tease the bot :

>help :

>help

>verify :

>verify

>get_box :

>get_box

>last_box :

>last_box

>get_user :

>get_user

>me :

>me

>ippsec :

>ippsec

>leaderboard :

>leaderboard

>man :

>man

>writeup :

>writeup >writeup -links

>list_boxs :

>list_boxs

>work_on :

>work_on >work_on 2

And a few other details that happen automatically

When a box is retired :

When a new user sync his HTB account :

When a member pwn user / root of a box :

When a member succeeds a challenge :

When a new box comes and gets released :

When a member gets VIP :

Async update !

I redid the user scraping asynchronously, and for 10 users, it went from 47 to 5 seconds !

Performance tests in synchronous :

And in asynchronous :

If you have question or just want to contact me on Discord : mxrch#8507