Skip to content

Playing around with possibilities of a osint-bot for discord.

License

Notifications You must be signed in to change notification settings

bitdruid/osintbot

Repository files navigation

Version Release License Docker Pulls

osintbot

Playing around with possibilities of an osint-bot for discord inside a docker container.

capabilities

  • whois
  • arecord
  • iplookup
  • geoip
  • screenshot with printable pdf

planned

  • portscan

Installation

Populate .env with the table below or just pull the image from dockerhub (click on the badge above)

docker build -t osintbot .
docker run -d --name osintbot osintbot --env-file .env

or docker-compose

docker-compose up -d

Environmental Variables

discord bot

If at least the bot token is not given, the bot will not be started.

env description default
BOT_TOKEN API-token of the bot must be given
BOT_NAME name of the bot osintbot
BOT_CHANNEL channel the bot will create and post to osint

mail bot

If not given, the mail bot will not be started.

env description default
MAIL_IMAP_SERVER imap server to receive mails
MAIL_IMAP_PORT imap port 993
MAIL_SMTP_SERVER smtp server to send mails
MAIL_SMTP_PORT smtp port 587
MAIL_USER mail user
MAIL_PASS mail password

webui for log and database

env description default
WEB_LOG enable view of log files via webui false
WEB_SQLITE enable view of sqlite database via sqlite-web false

Volumes

Optional volumes to persist data:

volume description
/app/database sqlite database
/app/documents discord documents
/app/logs log files

Ports

You may map the following ports (e.g. -p 8080:5001):

port description
5001 log files via webui
5002 sqlite database via sqlite-web

used

api

repositories

Dev & Test

create a virtualenv and install the requirements

bash dev/venv_create.sh

create file with environment variables in project root

touch .env

add envs like

BOT_TOKEN=<token of your bot>
...

build and run docker with

bash dev/build_docker.sh

About

Playing around with possibilities of a osint-bot for discord.

Resources

License

Stars

Watchers

Forks

Packages

No packages published