pwtgbot

PwnWiki Telegram database searching bot.

Screenshots

123431975-654ad080-d5b9-11eb-89f3-23f13db54d1c
How it looks like in the terminal when running

123431912-519f6a00-d5b9-11eb-8b54-834fb571923b
How it looks like in Telegram

Run Directly From Source

# clone and enter repository
git clone https://github.com/k4yt3x/pwtgbot.git
cd pwtgbot

# set Telegram bot token
export PWTGBOT_SECRET="TELEGRAM BOT SECRET"

# launch bot
python -m pwtgbot

Run With Docker/Podman

You can run this bot from its Docker image.

  • $PWTGBOT_SECRET: Telegram bot secret token
  • $VERSION_TAG: pwtgbot version (e.g., 1.2.0)
    • You can check out the newest tag on Docker Hub

      add Telegram bot token as secret

      echo $PWTGBOT_SECRET | podman secret create pwtgbot -

      launch docker container

      docker run -it --name pwtgbot --secret pwtgbot docker.io/k4yt3x/pwtgbot:$VERSION_TAG

Building the Docker Image

# clone and enter repository
git clone https://github.com/k4yt3x/pwtgbot.git
cd pwtgbot

# build the image
docker build -t pwtgbot:latest .

GitHub

https://github.com/k4yt3x/pwtgbot