Skip to content

A Discord bot for Hack The Box teams.

License

Notifications You must be signed in to change notification settings

mh4ckt3mh4ckt1c4s/Seven

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

Deploy

๐Ÿ‰ About

Seven is a semi-intelligent AI chatbot built with DialogFlow and Node.js, whose purpose is to make Hack The Box (hackthebox.com/) 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 / fortress / endgame / pro lab 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

๐Ÿšง Check out my Medium article showing how to deploy Seven for your team / university! There is 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 96.1%
  • HTML 2.4%
  • Python 1.2%
  • Dockerfile 0.3%