discat

command module
v0.0.0-...-33b1e5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 9 Imported by: 0

README

discat

References : https://github.com/dwisiswant0/discat (Original)

A customised script made by me of sending messages from the CLI output to your Discord channel with webhook in order to match with the latest version of golang.

Installation

  • Download a prebuilt binary from releases page, unpack and run! or
  • If you have go1.15+ compiler installed: go install github.com/raihansmart/discat@latest.

Configuration

Step 1: Get yours Discord channel webhook URL here.

Step 2 (optional): Set DISCORD_WEBHOOK_URL environment variable.

export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/xnxx/xxx-xxx"

Usage

It's very simple!

▶ echo -e "Hello,\nworld!" | discat
Flags
Usage of discat:
  -1    Send message line-by-line
  -u string
        Discord Webhook URL
  -v    Verbose mode
Workaround

The goal is to get automated alerts for interesting stuff!

▶ assetfinder twitter.com | anew | discat -u https://hooks.discord.com/services/xxx/xxx/xxx

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

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

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

Proof

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 | discat -1

License

discat is distributed under MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL