Skip to content

xdrew87/SecurityBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecurityBot - Discord OSINT & Security Tool

A powerful Discord bot for security researchers and network enthusiasts. Perform OSINT lookups, security checks, port scanning, and URL analysis directly in Discord.

Features

  • IP Lookup - GeoIP location, ISP info, WHOIS data
  • Security Checker - Password strength analysis, SSL certificate info
  • Port Scanner - Network port scanning with service detection
  • URL Analyzer - Phishing detection, malware checks, metadata extraction
  • Network Monitoring - Alert system for network changes

Requirements

  • Python 3.9+
  • Discord bot token
  • (Optional) MaxMind GeoIP2 database for enhanced IP lookup

Installation

  1. Clone the repository:
git clone https://github.com/xdrew87/SecurityBot.git
cd SecurityBot
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file:
DISCORD_TOKEN=your_bot_token_here
VIRUSTOTAL_API_KEY=your_vt_key_here
  1. Run the bot:
python bot.py

Commands

IP Lookup

/ip_lookup <ip_address>

Returns geolocation, ISP, ASN, WHOIS information

Password Strength

/password_check <password>

Analyzes password strength and entropy

SSL Certificate

/ssl_check <domain>

Retrieves SSL certificate information

Port Scanner

/port_scan <target> [start_port] [end_port]

Scans for open ports (requires appropriate permissions)

URL Analysis

/url_analyze <url>

Checks URL against phishing/malware databases

DNS Lookup

/dns_lookup <domain>

Performs DNS enumeration

Configuration

Edit config.py to customize:

  • Command prefix
  • Rate limits
  • API keys
  • Scanner timeouts

Permissions Required

The bot needs these Discord permissions:

  • Send Messages
  • Embed Links
  • Read Message History

Security Notes

  • Never share your .env file
  • Use restricted roles for scanner commands
  • Monitor API rate limits
  • Store sensitive data securely

Contributing

Feel free to submit issues and pull requests!

License

MIT License - see LICENSE file for details

Disclaimer

This tool is for authorized security testing only. Unauthorized access to computer systems is illegal.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages