Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alokmenghrajani/amigo
A simple bot to help with puzzle/CTF organization. Uses Slack's API.
https://github.com/alokmenghrajani/amigo
bot ctf puzzle slack
Last synced: about 1 month ago
JSON representation
A simple bot to help with puzzle/CTF organization. Uses Slack's API.
- Host: GitHub
- URL: https://github.com/alokmenghrajani/amigo
- Owner: alokmenghrajani
- License: other
- Created: 2016-07-06T08:09:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-19T01:31:07.000Z (over 8 years ago)
- Last Synced: 2024-06-20T14:24:34.083Z (7 months ago)
- Topics: bot, ctf, puzzle, slack
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# amigo
`amigo` is a Slack bot I wrote to coordinate a capture the flag (CTF) event.
I initially forked https://github.com/rapidloop/mybot.
# setup
* get a Slack API token
* setup a mysql database:create table teams (id int not null auto_increment primary key, name varchar(255) not null);
create table users (user varchar(50) primary key, team int);
create table logs (id int not null auto_increment primary key, user varchar(50), event varchar(255), ts datetime default now());you will have to manually populate the users table.
* `cp config.json.sample config.json` and fill it out.
# interaction
* @amigo_bot start
- looks up the user in the users table, gives a name to their team.
- records log entry
- PMs a reply with a link to the first puzzle
- posts event to public channel
* @amigo_bot validate
- records log entry
- PMs a reply with yes/no
- posts event to public channel