How to get the discord notification with notify tool

Hi, Naga Sai Kiran Today we are discussing notify tool. This is just a small blog.

go version

If Golang is not installed you can install it by following this command

sudo apt install golang-go

Now we need to install the notify by following this command

go install -v github.com/projectdiscovery/notify/cmd/notify@latest
root@wsl:~# go install -v github.com/projectdiscovery/notify/cmd/notify@latest
go: downloading github.com/projectdiscovery/notify v1.0.6
go: downloading github.com/containrrr/shoutrrr v0.7.1
go: downloading github.com/projectdiscovery/utils v0.0.76
go: downloading github.com/projectdiscovery/goflags v0.1.38
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading go.uber.org/ratelimit v0.3.0
go: downloading github.com/Masterminds/sprig v2.22.0+incompatible
go: downloading github.com/oriser/regroup v0.0.0-20210730155327-fca8d7531263
---
---
---
github.com/alecthomas/chroma/lexers/s
github.com/projectdiscovery/gologger/writer
github.com/projectdiscovery/gologger
github.com/alecthomas/chroma/lexers
github.com/alecthomas/chroma/quick
github.com/charmbracelet/glamour/ansi
github.com/charmbracelet/glamour
github.com/projectdiscovery/utils/update
root@wsl:~#

then move the notify binary to /usr/local/bin

cp ~/go/bin /usr/local/bin
notify -h

we need to configure notify with discord

if provider-config.yaml file doesn’t exist

we can create a file by using touch command

touch /root/.config/notify/provider-config.yaml

Now click on this URL

https://github.com/projectdiscovery/notify?tab=readme-ov-file#provider-config

There are many ways to configure but now we are only configure with discord. once blog is over I have deleted this channel

discord:
  - id: "crawl"
    discord_channel: "blog-purpose"
    discord_username: "nagasaikiran"
    discord_format: "{{data}}"
    discord_webhook_url: "https://discord.com/api/webhooks/1249186612903153765/aY-4n5m4sQ8mPpAT0LssLaeBUl_m4o3_EVl750bIESTJdA3iYiblK0GVUReQMc86zo3r"

Thanks for reading

Happy Hacking!!!!

Reference :

https://github.com/projectdiscovery/notify

NahamSec video : https://www.youtube.com/watch?v=wP3n1JnqtMU

4 thoughts on “How to get the discord notification with notify tool”

  1. Excellent website you have here but I was curious about if you
    knew of any message boards that cover the same topics talked about here?
    I’d really love to be a part of online community
    where I can get comments from other knowledgeable people that share the same interest.
    If you have any recommendations, please let me
    know. Kudos!

  2. Hi there would you mind sharing which blog platform you’re using?
    I’m going to start my own blog soon but I’m having a hard time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design and style seems different then most
    blogs and I’m looking for something completely unique.
    P.S Apologies for getting off-topic but I had to ask!

  3. Hello! This post couldn’t be written any better! Reading this post reminds me of my old room
    mate! He always kept chatting about this. I will forward this write-up to him.
    Fairly certain he will have a good read. Many thanks for
    sharing!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top