Code Monkey home page Code Monkey logo

anti-phishing-bot's Introduction

About Fish ๐ŸŸ

Fish ๐ŸŸ is a bot made to protect your server against phishing links.
Want to contribute and add a feature? Create a pull request :)
Fish Bot uses slash commands for all of it interactions.

๐Ÿค– Add bot to server

Quick Setup

An example of how you can set up the bot on your server.
/config set delete:True to enable deletion of phishing links
/config set action:Kick to kick the user from your server
/config set notify:True to notify the user that sent the phishing links in direct message about the action (kick)
/config set log_channel:#logs to send logs of who got caught for phishing into #logs
/config set abusive_user_action:Ban to ban members with known names and profile pictures of phishing accounts. Use /check_members to scan manually and take action

View Current Configuration
Check your config with the command /config get

Want to see more stats on the bot?
Use /stats to get a list of the top 10 domains of the last 24h that Fish saw.

Need Help?
Use /support and join the support server and ask in #support for help.

Commands

Information

/ping - See if the bot is receiving commands
/stats - View the current stats for total domains, total hits, or the top ten domain name
/lookup - Check if a domain is registered as a known phishing domain
/support - Get the bot support server link
/check_members - Scans the entire server for possible phishing direct message bots. Use /config set abusive_user_action:Ban to automate this

Configuration

/config get - View your current configuration
/config set <option> <setting> - Set a configuration setting
/config reset <option> - Reset a configuration setting
/config exemptions list <filter> - View exemptions list
/config exemptions create (role | user) <target> - Create a new exemptions
/config exemptions remove (role | user) <target> - Remove a exemptions from the list

anti-phishing-bot's People

Contributors

benricheson101 avatar user9684 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

anti-phishing-bot's Issues

Notify messaging too late

You have to notify the user before they get kicked or banned, or else the bot will most likely not be able to dm them.

Suggestion: Sticky Mutes

Mute role should be sticky incase another bot is not used to enforce this. Also need away to unmute members if sticky mute is implemented.

Suggestion: Full url link in log

Maybe log the full url in the log channel, so ir is easier to report the domain, because some domains already display a white page on root and only the subdomain / phishing link will open the phishing site.
Shouldn't be a difficult change but i am already annoying you too much i guess :)

Suggestion: New Phishing Link Detection

Hash the description field of the embed structure of a message posted w/ a known phishing link in its content in a channel that embeds links and then store it in the database.

Hash and check the description field of the embed structure of all messages w/o a known phishing link posted in a channel that embeds links against the database for a matching description created by discord.

When matched handle message as known phishing link and add the newly detected link to the list.

Do not try to delete message if action is set to ban

Currently if you have delete on and the action is set to ban the delete will fail since ban's automatically delete messages sent in the last 24h. A check should be implemented where if the action is ban and delete is on, the delete function will not execute.

suggest: reply message from fish in the logs channel

if you don't mind, I suggest that the reply message from Fish ๐ŸŸ in the logs channel looks like this. ๐Ÿ˜

๐Ÿ”จ Phishing URL sent by @invalid-user

Username: username#0000
User ID: 123456789012345678
Actions: DELETE, KICK
URL: phishing.link

thanks. ๐Ÿ™

Embed

Check embed contents such as URL, description, title, etc. for phishing links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.