Notification system for your Bug Bounty Automation by Anubhav Singh


Hello Friends, This write-up is all about making a notification system for your Bug Bounty Automation. In this write-up we will learn how to send a notification to our discord server when some task is started or when some task is done!

I will directly demonstrate steps and end result will be like this ????

For example,

1. suppose this is our script

2. Let’s execute script

3. We got notification on our discord server ????

So, I think you got the idea about what we are going to learn in this write-up ????

Follow given Steps :

  1. Go on your discord application and Click on Add a server

2. Click on Create My Own

3. Click on For me and my Friends

4. Click on Create

5. You can see now our server is created

6. Click on Create channel

7. Give name to you channel and turn on private Channel then click on next

8. Skip this step

9. You can see our channel is created with the name project-morya

10. Click on edit channel

11. Go on integrations and in that click on Create Webhook

12. Give name, choose channel and you can also add photo to your webhooks

13. Copy Webhook URL and click on save changes

When you paste your webhook url in any text editor ..You will see url like this

16. Now, Install tool named notify on your system. Notify is a Go-based assistance package that enables you to stream the output of several tools (or read from a file) and publish it to a variety of supported platforms.

command : GO111MODULE=on go get -v

In your machine, go to this path $HOME/.config/notify/ and save this file with name provider-config.yaml

17. Comment out rest of the line except discord

#  - id: "slack"
#    slack_channel: "recon"
#    slack_username: "test"
#    slack_format: "{{data}}"
#    slack_webhook_url: ""#- id: "vulns"
#    slack_channel: "vulns"
#    slack_username: "test"
#    slack_format: "{{data}}"
#    slack_webhook_url: ""discord:
  - id: "crawl"
    discord_channel: "crawl"
    discord_username: "test"
    discord_format: "{{data}}"
    discord_webhook_url: ""#- id: "subs"
#    discord_channel: "subs"
#    discord_username: "test"
#    discord_format: "{{data}}"
#    discord_webhook_url: ""#telegram:
#  - id: "tel"
#    telegram_api_key: "XXXXXXXXXXXX"
#    telegram_chat_id: "XXXXXXXX"
#    telegram_format: "{{data}}"#pushover:
#  - id: "push"
#    pushover_user_key: "XXXX"
#    pushover_api_token: "YYYY"
#    pushover_format: "{{data}}"
#    pushover_devices:
#      - "iphone"#smtp:
#  - id: email
#    smtp_server:
#    smtp_username: [email protected]
#    smtp_password: password
#    from_address: [email protected]
#    smtp_cc:
#      - [email protected]
#    smtp_format: "{{data}}"#custom:
#  - id: webhook
#    custom_webook_url: https://host/api/webhook
#    custom_method: GET
#    custom_format: '{{data}}'
#    custom_headers:
#    Content-Type: application/json
#      X-Api-Key: XXXXX

18. Paste your webhook url

Like this :

19. You are all set now ????. Let test our notification system

Example 1:

Note : To get notification on your server, You have to just add 
| notify -silent

You can see.. I got notification on our server

Example 2:


You can see I got notification on my server

I hope you got how to implement notification system in you Automation.

More resources to implement notification on telegram/Slack

Thank you for reading till the end, and I’ll see you in next write-up ????!

You can follow me on Twitter: anubhavsingh_


Originally posted at:


October 5, 2021
Notify of
Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023

Download Free eBook

Step 1 of 4


We’re committed to your privacy. Hakin9 uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.