Skip to content

alokmenghrajani/mybot

 
 

Repository files navigation

mybot

mybot is a Slack bot I wrote for a capture the flag (CTF).

I initially forked https://github.com/rapidloop/mybot.

Given that the bot has a bunch of security bugs, I would recommend only running it in some throwaway cloud server.

setup

  • get a Slack API token

  • setup a mysql database:

    create table greeted (user varchar(50) not null primary key);
    create table weather (city varchar(50) not null primary key, title varchar(255), text varchar(255), temp varchar(255));
    
  • install latex (to convert math expressions to pdf) and imagemagik (to convert pdf to png)

  • install a www server (to serve static files)

  • cp config.json.sample config.json and fill it out.

About

Build your own Slack bot in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.4%
  • Makefile 1.6%