Skip to content

A simple way of sending messages from the CLI output to your Discord channel with webhook.

License

Notifications You must be signed in to change notification settings

eforbus/webexcat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webexcat

A simple way of sending messages from the CLI output to your Webex space with webhook.

Actually, this is a fork version of discat which is a fork of slackcat.

Installation

  • Download a prebuilt binary from releases page, unpack and run! or
  • If you have go1.13+ compiler installed: go get github.com/eforbus/webexcat.

Configuration

Step 1: Get your Webex space webhook URL here

Step 2 (optional): Set WEBEX_WEBHOOK_URL environment variable.

export WEBEX_WEBHOOK_URL="https://webexapis.com/v1/webhooks/incoming/XXX"

Usage

It's very simple!

echo -e "Hello,\nworld!" | webexcat

Flags

Usage of webexcat:
  -1    Send message line-by-line
  -u string
        Webex Webhook URL
  -v    Verbose mode

Workaround

The goal is to get automated alerts for interesting stuff!

▶ assetfinder twitter.com | anew | webexcat -u https://webexapis.com/v1/webhooks/incoming/XXX

The -u flag is optional if you've defined WEBEX_WEBHOOK_URL environment variable.

webexcat also strips the ANSI colors from stdin to send messages, so you'll receive a clean message on your space!

▶ nuclei -l urls.txt -t cves/ | webexcat

Line-by-line

Instead of have to wait for previously executed program to finish, use the -1 flag if you want to send messages on a line by line (default: false).

▶ amass track -d domain.tld | webexcat -1

License

webexcat is distributed under MIT License.

About

A simple way of sending messages from the CLI output to your Discord channel with webhook.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%