GithubHelp home page GithubHelp logo

domain_analysis's Introduction

Domain Analysis Tool

This Python script performs a comprehensive analysis of a given domain, gathering various types of information and generating a detailed PDF report.

Features

  • Fetches and analyzes web content
  • Extracts links from the webpage
  • Retrieves domain registration information
  • Performs DNS lookups (A records)
  • Checks MX records
  • Performs reverse DNS lookups
  • Provides IP geolocation information
  • Generates a comprehensive PDF report

Requirements

  • Python 3.6+
  • Required Python packages (see requirements.txt)
  • Internet connection for data retrieval

Installation

  1. Clone the repository:
git clone https://github.com/Frontsightvc/domain_analysis.git 

cd domain_analysis
  1. Install the required packages:
pip install -r requirements.txt

Usage

Local Usage

Run the script from the command line, providing a domain name as an argument:

python domain_analysis_tool.py example.com

The script will generate a 'report.pdf' file in the same directory.

Google Colab Usage

  1. Open a new Google Colab notebook.

  2. Run the following commands in a code cell:

!git clone https://github.com/Frontsightvc/domain_analysis.git
%cd domain_analysis
!pip install -r requirements.txt
  1. Run the script:
!python domain_analysis.py example.com

How It Works

URL Formatting: The script ensures the input URL has a proper scheme (http:// or https://).

Web Content Retrieval: It fetches the HTML content of the specified URL.

HTML Parsing: The script extracts links and text content from the HTML.

Domain Information: It retrieves WHOIS information for the domain.

DNS Information: The script performs DNS lookups to get A records.

MX Records: It checks for MX (mail exchanger) records.

Reverse DNS: The script performs a reverse DNS lookup on the IP address.

Geolocation: It provides geolocation information for the IP address.

PDF Generation: All gathered information is compiled into a structured PDF report.

domain_analysis's People

Contributors

qepting91 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.