smicallef / spiderfoot

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
http://www.spiderfoot.net
MIT License
12.22k stars 2.15k forks source link

Discord module #1640

Open clouedoc opened 2 years ago

clouedoc commented 2 years ago

Hi!

First of all, thank you very much for your work on SpiderFoot. I am looking forward to using it to evaluate my attack surface.

I'm interested in writing a Discord module.

(possible) features:

smicallef commented 2 years ago

Interesting idea - what would be the seed event in such a module to trigger its search?

clouedoc commented 2 years ago

The seed event would be a Discord server URL (gets a list of members) or a Discord username. Both would require a Discord user token in the config.

On Mon, Apr 4, 2022 at 8:25 AM Steve Micallef @.***> wrote:

Interesting idea - what would be the seed event in such a module to trigger its search?

— Reply to this email directly, view it on GitHub https://github.com/smicallef/spiderfoot/issues/1640#issuecomment-1087164829, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKG2SVPIGIGCL66DB4JVF3VDKDMTANCNFSM5SKC6BDQ . You are receiving this because you authored the thread.Message ID: @.***>

Omicron166 commented 2 years ago

if this project ends up becoming something, i think adding discord specific events (like discord id) would be a good idea.

I know that the discord.js bots can fetch user info (like username) from a discord id without the requirement of having servers in common.

smicallef commented 2 years ago

Since a discord URL cannot be provided as a scan target in SpiderFoot, this discord server URL would come from the target website (for example), so that would work. What value does a user get from having the list of users on a given discord server though, from an OSINT perspective?

Omicron166 commented 2 years ago

only users can join a server throught an invitation, but when joined, you can get a list of users with their social media connections (like spotify or youtube channel) and a username.

Also if you have a bot token, you can fetch a bit more info about an user by it's ID, even without having servers in common.