Introducing CheckAlive - A Best Tool for URL Health Checks and Subdomain Discovery
Introduction
In today's interconnected world, maintaining the health and security of web assets is critical. Regularly checking the status of your URLs and discovering subdomains are essential tasks for website administrators, developers, and cybersecurity professionals. We are excited to introduce CheckAlive, a powerful and easy-to-use Python tool designed to streamline these tasks.
What is CheckAlive?
CheckAlive is a versatile tool that helps you:
- Check if URLs are alive: Verify the status of individual URLs or multiple URLs from a file.
- Discover subdomains: Find subdomains for a given domain using crt.sh, a certificate transparency log search tool.
With CheckAlive, you can automate the tedious process of checking URL statuses and uncovering subdomains, all while enjoying detailed status tracking and error handling.
Key Features
- Single and Bulk URL Checking: Check the status of a single URL or multiple URLs from a text file.
- Custom Status Codes: Specify which HTTP status codes to consider as "alive".
- Output Results to a File: Save the results of your checks to a file for further analysis.
- Subdomain Discovery: Find subdomains for a given domain using crt.sh and output the results to a file.
- Progress Tracking: Monitor the progress of your tasks with real-time percentage updates.
- User-friendly Interrupt Handling: Gracefully handle user interruptions and provide informative feedback.
Installation
To get started with CheckAlive, follow these simple steps:
Clone the Repository:
git clone https://github.com/x21enax/CheckAlive cd checkaliveInstall the Package:
pip install .
CheckAlive is now installed and ready to use!
Usage
CheckAlive is designed to be straightforward and flexible. Here are some common use cases:
Check a Single URL
You can check if a single URL is alive with the specified status codes:
checkalive -u example.com -s 200,302
Check Multiple URLs from a File
If you have a list of URLs in a text file, you can check their status and output the alive URLs to another file:
checkalive -us urls.txt -s 200,302 -o aliveurls.txt
Find Subdomains
To find subdomains for a given domain and output them to a file, use:
checkalive -u example.com -fs -o subdomains.txt
Alternatively, you can find subdomains for a domain and print them:
checkalive -u example.com -fs
Command Line Options
-u,--url: Single URL to check or find subdomains for.-us,--urls: File containing URLs to check.-s,--status-code: Comma-separated list of acceptable status codes (default: 200,302).-o,--output: File to output alive URLs or subdomains when checking multiple URLs or finding subdomains.-fs,--find-subdomain: Find subdomains for the provided URL.
Example Use Cases
Let's walk through some practical examples to illustrate how you can leverage CheckAlive:
Check a Single URL:
Suppose you want to check if
example.comis alive and only consider status codes 200 and 302:checkalive -u example.com -s 200,302If the URL is alive, the tool will confirm it; otherwise, it will indicate that the URL is not alive.
Check Multiple URLs:
If you have a file named
urls.txtwith multiple URLs, you can check their status and save the results toaliveurls.txt:checkalive -us urls.txt -s 200,302 -o aliveurls.txtThis is particularly useful for regularly monitoring the health of a large number of URLs.
Discover Subdomains:
To find subdomains for
example.comand save them tosubdomains.txt, run:checkalive -u example.com -fs -o subdomains.txtThis feature helps in identifying potentially forgotten or unknown subdomains associated with your domain.
Why Use CheckAlive?
CheckAlive is a must-have tool for anyone responsible for managing web assets. Here’s why:
- Automation: Save time and effort by automating the process of checking URL statuses and finding subdomains.
- Reliability: Ensure your URLs are accessible and discover any hidden subdomains that could pose security risks.
- Flexibility: Customize the tool to fit your needs with options for status codes, output files, and more.
- Ease of Use: With a simple installation process and intuitive command-line interface, CheckAlive is accessible to users of all skill levels.
Contributing
We welcome contributions to make CheckAlive even better! If you have ideas for new features or improvements, please open an issue or submit a pull request on our GitHub repository.
Conclusion
Maintaining the health and security of your web assets is crucial, and CheckAlive simplifies this process with its comprehensive features and ease of use. Whether you're a website administrator, developer, or cybersecurity professional, CheckAlive is a valuable addition to your toolkit. Install CheckAlive today and take control of your web assets with confidence!
