Skip to content
/ Seven Public
forked from Propolisa/Seven

A Discord bot for Hack The Box teams.

License

Notifications You must be signed in to change notification settings

Merlijnv/Seven

 
 

Repository files navigation

👩‍💻️ If you enjoy Seven, feel free to show some love so I can create more projects like this!

ko-fi

💬 Seven

An AI-powered Discord Bot for Hack The Box teams.

Seven's visage

🍉 About

Seven is a semi-intelligent AI chatbot built with DialogFlow and Node.js, whose purpose is to make Hack The Box (hackthebox.eu/) achievement data accessible and convenient within team Discord channels.

🦾 Capabilities

Seven can provide information about:

  • Herself / her functionality (try asking help, what can you do for me)
  • Machines and challenges (active, retired and unreleased)
  • Ownage (e.g. which team members did what on HTB)
  • Team members
  • Team details
  • Team global rank
  • Team member leaderboard (top members)

🃏 Talking to Seven:

Seven is super flexible and doesn't rely on templates or specific wordings to understand what users are asking for. However, here are some example queries:

🔰 Print a manpage:

"help" / "what can you do" / "user manual"

📸

🔮 Get info on who owned XYZ:

"Who did [boxname | challengename]", "Who did mantis"
"who rooted json last", "who can help me with Forest challenge"

📸

🐉 Get box / challenge info:

"[boxname | challengename]", "[boxname] info" etc
"what's new", "what's fresh" /* unreleased / latest box */

📸

🧙 See achievements / profile for a specific team member:

"what challenges did [username] do" / "which boxes has [username] owned?"
"incomplete challenges for [username]" / "which boxes has [username] not finished yet?"
"who is [username]", "[username] info", "[username] ranking"
"has [username] rooted multimaster yet?", "Did [username] solve fuzzy"\

📸

🏅 Get ranking and team information:

"team info", "who are [teamname]", "[teamname]"
"who is the team founder"
"how am I doing", "what is my rank?"
"team ranking", "how are we doing" /* team global rank */
"who's on top", "team leaders" /* group members */

📸

💚🐒 Try your best to confuse / bond with / annoy Seven:

"Where are you from?", "what rank are you", "what do you do for fun"
"What are you working on", "do you like water skiing", "what is 4+4"
"' UNION SELECT ..." ??? "sudo su", "can you help me hack the pentagon"

📸

👥 Privacy

Seven cares about privacy and allows channel users to:

  • associate or disassociate their Discord ID to their HTB account ID (enabling this makes achievement information more useful as users may have different handles on each platform.
  • disallow (or re-allow) inclusion of their HTB data in bot responses

🛠️ Installation and Usage

🚧 This section will be completed soon! A few things have to be finished before Seven can be easily adopted by any team. There is however already decent documentation for the codebase itself here, if you'd like to understand how it works or use some parts in your own project: Seven Docs

📜 Roadmap / TODO:

Some features / nice-to-haves that are under consideration:

  • Add charts.js data support to generate pretty member / team stat charts
  • Offer advice / memory jogs from RTFM for users LIKE: "stuck on [STAGE [privesc, recon, persistence ...]] with [TECHNOLOGY [linux, nodejs, sql server ...]]
  • Answer questions invoking possibly long data (while respecting Discord embed limitations):
    • "[teamname] members" (get member list, can be up into the hundreds depending on team)
    • "machine list" (this returns around 250 results at time of writing)
    • "all challenges" (same, around 150)
    • Give info on self based on Discord association

About

A Discord bot for Hack The Box teams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • Python 2.7%