Skip to content

Tool to make the life of web pentesters a little easier.

Notifications You must be signed in to change notification settings

vxChiZu/SiteMole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

SiteMole

Tool to make the life of web-pentesters a little easier.

SiteMole is a Python-based web reconnaissance tool designed to assist security professionals and enthusiasts in gathering information about a target website. The tool provides various modules to extract valuable insights, including comments, links, images, HTTP headers, and more.

Features

  • Comment Extractor: Extracts HTML comments from the target webpage.

  • Subresource Integrity (SRI) Checker: Checks if external JavaScript files use integrity attributes.

  • Link Extractor: Collects all links found on the page.

  • Image Scraper: Gathers all image URLs (JPG, PNG, GIF, SVG) from the target.

  • HTTP Header Analyzer: Retrieves and displays HTTP headers from the server.

  • DNS Lookup: Resolves the target domain to its IP address.

  • And more are in the pipeline

Installation

Clone the repository:

git clone https://github.com/vxChiZu/SiteMole.git
cd SiteMole

Install Dependencies

Ensure you have Python 3 installed. Install the required dependencies using:

pip install -r requirements.txt

Usage

Run the script with a target URL and specify a module to execute:

python sitemole.py -t https://example.com -m [module]

Available Modules

Module Description
comments Extracts HTML comments
sri Checks for Subresource Integrity (SRI) usage
links Extracts links from the page
images Scrapes image URLs from the page
headers Analyzes HTTP security headers
all Runs all modules and saves results to results.txt

Interactive Mode

If no module is specified, an interactive menu allows you to choose a module to run.

python sitemole.py -t https://example.com
# or
python sitemole.py

Example Usage

Run the comment extractor:

python sitemole.py -t https://example.com -m comments

Run all modules and save results:

python sitemole.py -t https://example.com -m all

Requirements

Ensure you have the following installed:

argparse
requests
termcolor

These will be automatically installed using pip install -r requirements.txt.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request with your improvements.

Disclaimer

Use this tool for ethical and lawful purposes only. The author takes no responsibility for any misuse or illegal activities carried out using SiteMole.

About

Tool to make the life of web pentesters a little easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages