This Python script integrates with the SecurityTrails API to retrieve DNS history records for a given domain and allows users to perform detailed Nmap scans on selected IP addresses from the results.
- Queries SecurityTrails API to fetch DNS history for a specified domain.
- Displays detailed DNS history records including IP addresses, organizations, and first/last seen dates.
- Enables users to select an IP address for Nmap scanning based on the retrieved DNS records.
- Executes Nmap scans with verbose output directly to the terminal.
- Provides an overall progress bar using
alive-progressto track the status of multiple Nmap scans concurrently.
- Python 3.6 or higher
- Dependencies listed in
requirements.txt
- Clone the repository.
- Install dependencies using
pip install -r requirements.txt. - Run the script and follow the prompts to query DNS history and perform Nmap scans.
- Ensure you have a valid API key for SecurityTrails (
API_KEYin the script). - Customize the script further based on your specific needs and preferences.
Feel free to contribute and improve this script. If you encounter any issues or have suggestions, please open an issue or submit a pull request.
