LewisArdern / bXSS

bXSS is a utility which can be used by bug hunters and organizations to identify Blind Cross-Site Scripting.
MIT License
511 stars 64 forks source link

Added discord notification support #12

Closed AntonyGarand closed 5 years ago

AntonyGarand commented 5 years ago

Related to: https://github.com/LewisArdern/bXSS/issues/11

Added discord notifications

This requires the bot to already be on your server, and the channel name to be valid.

LewisArdern commented 5 years ago

Sorry iv'e been away on holiday, i'll review the commit tomorrow and let you know if i want to make some minor changes, overall you followed the structure perfectly with the validation check, etc.

LewisArdern commented 5 years ago

@AntonyGarand Other than the token requirement, are there any permissions you need to define?

AntonyGarand commented 5 years ago

The bot needs to have write permissions on the correct channel, but that's pretty much it. In this case, I'm assuming the bot is already present and has the correct permissions, but that could be a future improvement: Generating the bot invite link (with correct permissions), warning if there is a missing permission, etc.

LewisArdern commented 5 years ago

We will need to update the README.md to reference what permissions it needs - otherwise there will be some new github issues with errors -- I can do that if you prefer

AntonyGarand commented 5 years ago

I'll update it, might take few days until I get the time though!