al2mon

command module
v0.0.0-...-aefb21f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 16 Imported by: 0

README

al2mon

Go Version License

al2mon is a lightweight, real-time subdomain monitoring tool powered by Certificate Transparency (CT) logs. It detects new subdomains as soon as SSL certificates are issued and sends instant notifications to Discord.

Features

  • 🚀 Real-time Detection: Monitors CT logs for new certificates instantly.
  • 🔄 Deduplication: Prevents duplicate alerts for the same subdomain (1-hour cache).
  • 🌐 Active DNS Check: Automatically verifies if the subdomain resolves to an IP address before alerting.
  • 🔔 Discord Notifications: Sends rich alerts via Webhook.
  • 🖥️ Daemon Mode: Runs in the background as a detached process.
  • 🎨 Beautiful UI: Clean CLI interface with ASCII banner.

Quick Install (Go 1.21+)

If you have Go installed, you can install al2mon directly:

go install github.com/AltugKale/al2mon@latest

Installation (Source)

git clone https://github.com/AltugKale/al2mon.git
cd al2mon
go build .

Usage

Basic Monitoring

To monitor a single domain:

./al2mon -target example.com
Options
  • -target: Target domain to monitor (comma separated). Overrides configuration file targets.
  • -daemon: Run in background.
  • -discord: Enable Discord notifications (requires webhook_url in config.yaml).
Configuration

The tool looks for a configuration file in the following order:

  1. config.yaml in the current directory.
  2. ~/.config/al2mon/config.yaml (Created automatically if not found).

Example config.yaml:

targets:
  - example.com
  - test.com
webhook_url: "https://discord.com/api/webhooks/..."
Usage Examples

Monitor specific targets (overrides config):

al2mon -target google.com,yahoo.com

Run with default config and Discord notifications:

al2mon -discord

Run in background:

al2mon -daemon -discord

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
ct
dns
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL