Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-id optional flag on notify command #2

Open
Sim4n6 opened this issue Aug 23, 2023 · 4 comments
Open

-id optional flag on notify command #2

Sim4n6 opened this issue Aug 23, 2023 · 4 comments

Comments

@Sim4n6
Copy link

Sim4n6 commented Aug 23, 2023

Hi ,

In line

command = f'echo "Subdomain {subdomain} has been discovered!" | {notify_binary} -silent -config {notify_api} -id {domain}'
, you are using notify flag -id

According to the help:

-id string[] id to send the notification to (optional)

This one breaks the notify message sending, since id = domain.

I fix it by entirely removing -id {domain} ;-)

@Sim4n6
Copy link
Author

Sim4n6 commented Aug 23, 2023

The PR #3

@e1abrador
Copy link
Owner

Hello,

That notify command is intended to be used with Discord configuration as explained on the README.md file (for the way i manage my recon on Discord):

If you need to send the notifications on a single channel (even if it's on Discord/Telegram/etc...) I recommend using this line:

    command = f'echo "Subdomain {subdomain} has been discovered for {domain}!" | {notify_binary} -silent -config {notify_api}'

As I won't add the PR on the original project, let's keep this Issue open (as well as the PR) so people with the same problem can check/manage this on their private use by easily reading this.

Best regards and thanks for opening the issue, have a nice day!

@e1abrador e1abrador changed the title -id optional flag -id optional flag on notify command Aug 23, 2023
@Sim4n6
Copy link
Author

Sim4n6 commented Aug 23, 2023

No problem, have a nice day

@Sim4n6
Copy link
Author

Sim4n6 commented Aug 23, 2023

I have closed the PR since it was made using the main branch of the fork. .. .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants