Skip to content

DomainRecon is a lightweight PHP tool for domain reconnaissance, security analysis, and information gathering.

License

Notifications You must be signed in to change notification settings

mrwhite4939/DomainRecon

Repository files navigation

DomainRecon

    ____                        _       ____
   / __ \____  ____ ___  ____ _(_)___  / __ \___  _________  ____
  / / / / __ \/ __ `__ \/ __ `/ / __ \/ /_/ / _ \/ ___/ __ \/ __ \
 / /_/ / /_/ / / / / / / /_/ / / / / / _, _/  __/ /__/ /_/ / / / /
/_____/\____/_/ /_/ /_/\__,_/_/_/ /_/_/ |_|\___/\___/\____/_/ /_/

Domain Reconnaissance Tool for Security Professionals

GitHub PHP Linux Kali Linux

DomainRecon is a PHP-based reconnaissance tool for gathering domain information during authorized security assessments and penetration testing engagements.


Overview

DomainRecon consolidates multiple reconnaissance techniques into a single PHP script, designed for use on Kali Linux and Termux platforms. This tool assists security professionals in the information gathering phase of authorized penetration tests.


Features

  • Basic Recon (Title, IP, CMS, Cloudflare Detection, robots.txt)
  • Whois Lookup
  • Geo-IP Lookup
  • HTTP Banner Grabbing
  • DNS Lookup
  • Subnet Calculator
  • Nmap Port Scanning
  • Subdomain Enumeration
  • Reverse IP & CMS Detection
  • SQL Injection Scan (Error-Based)
  • Blogger Information Scan
  • WordPress Detection & Scan
  • Web Crawler
  • MX Records Lookup
  • Auto Dependency Installer
  • Update Checker

System Requirements

Kali Linux

  • PHP 7.0 or higher
  • Root privileges (required for certain modules)
  • Internet connection
  • Nmap (for port scanning functionality)

Termux

  • PHP package installed via pkg
  • Storage permissions configured
  • Internet connection
  • Nmap (optional, for port scanning)

Installation

Kali Linux (Root Required)

git clone https://github.com/MrWhite4939/DomainRecon.git
cd DomainRecon
chmod +x DomainRecon.php
php DomainRecon.php

Termux (No Root)

pkg update && pkg upgrade
pkg install git php
git clone https://github.com/MrWhite4939/DomainRecon.git
cd DomainRecon
chmod +x DomainRecon.php
php DomainRecon.php

Usage Instructions

Execute the main script using the PHP interpreter:

php DomainRecon.php

The tool will present an interactive menu with available reconnaissance modules. Select the desired module by entering the corresponding number and provide the target domain when prompted.


Command Examples

Basic Execution

php DomainRecon.php

Running with Specific PHP Binary

/usr/bin/php DomainRecon.php

Execution in Termux

php DomainRecon.php

Permissions & Execution Notes

  • Some modules require root privileges to function correctly, particularly network-level operations
  • Nmap integration requires Nmap to be installed on the system
  • Port scanning operations may require elevated privileges
  • Ensure execution permissions are set using:
chmod +x DomainRecon.php
  • Network firewalls or security policies may affect certain reconnaissance functions
  • The tool requires active internet connectivity for external lookups and API calls

Troubleshooting

Permission Denied Errors

If you encounter permission errors, verify that the script has execution permissions:

chmod +x DomainRecon.php

For modules requiring elevated privileges, execute with root access:

sudo php DomainRecon.php

PHP Not Found

Ensure PHP is installed and in your system PATH:

Kali Linux:

apt-get update
apt-get install php php-cli

Termux:

pkg install php

Nmap Module Failures

Install Nmap if port scanning functionality is required:

Kali Linux:

apt-get install nmap

Termux:

pkg install nmap

Dependency Issues

The tool includes an auto dependency installer. If modules fail due to missing dependencies, select the dependency installer option from the main menu.

Connection Timeouts

Verify internet connectivity and check if target domains are accessible. Some reconnaissance operations may timeout on unresponsive targets or when blocked by security controls.


Legal Disclaimer

This tool is provided for educational purposes and authorized security testing only. Users are solely responsible for ensuring they have explicit written authorization before conducting any reconnaissance or security assessment activities against target systems.

Unauthorized access to computer systems, networks, or data is illegal under applicable laws including but not limited to the Computer Fraud and Abuse Act (CFAA) in the United States and similar legislation in other jurisdictions.

The author and contributors of DomainRecon assume no liability for misuse of this tool. Any actions and consequences resulting from the use of this software are the sole responsibility of the user.

By using this tool, you acknowledge that:

  • You will only use this tool against systems you own or have explicit written permission to test
  • You understand the legal implications of unauthorized computer access in your jurisdiction
  • You accept full responsibility for your actions and any resulting consequences
  • The tool is provided "as is" without warranties of any kind

Author Information

╔═══════════════════════════════════════╗
║  Author    : MrWhite4939                     ║
║  GitHub    : github.com/MrWhite4939          ║
║  Platform  : Linux & Termux                  ║
║  Language  : PHP                             ║
╚═══════════════════════════════════════╝

GitHub: https://github.com/MrWhite4939

For issues, feature requests, or contributions, please visit the GitHub repository.


Contributing

Contributions are welcome. Please submit pull requests or open issues on the GitHub repository for bugs, improvements, or feature suggestions.


License

This project is distributed under standard open source licensing terms. Refer to the LICENSE file in the repository for complete licensing information.


Note: This tool is intended for professional use by qualified security practitioners. Always operate within legal boundaries and ethical guidelines.

About

DomainRecon is a lightweight PHP tool for domain reconnaissance, security analysis, and information gathering.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published