Skip to content

mckipfc/subdomain_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Subdomain Scanner

A Python tool that scans for common subdomains and checks if they are reachable. If the website subdomain is reachable it checks if the subdomain has any titles that you may find interesting and would want to focus on.

Features

  • Resolves common subdomains (www, mail, ftp, api, etc.)
  • Resolves IP addresses
  • Checks HTTP/HTTPS accessibility
  • Extracts webpage <title> if found

Requirements

  • Python 3.x
  • requests library
pip install -r requirements.txt

Usage

Run the scanner against a domain:

python subdomain_scanner.py example.com 
[+] Found: www.example.com -> 93.184.216.34
     Title: Example Domain

[+] Found: mail.example.com -> 93.184.216.34
     No title tag found

Installation

Clone the repo and install dependencies:

git clone https://github.com/mckipfc/Subdomain_Scanner.git
cd Subdomain_Scanner
pip install -r requirements.txt

Notes

This tool was built as a learning project to practice:

  • DNS resolution with Python’s socket
  • Making HTTP/HTTPS requests with requests
  • String parsing and error handling
  • Structuring small Python tools

About

Python subdomain scanner: resolve common subdomains, check reachability, grab titles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages