Skip to content

WebSnapshooter is a simple, yet effective Python script that takes screenshots of websites discovered from an Nmap output file. It's the perfect tool for web reconnaissance when you're feeling a bit lazy and want to peek at those webpages without actually visiting them.

License

Notifications You must be signed in to change notification settings

W-GOULD/WebSnapshooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

WebSnapshooter

WebSnapshooter is a simple, yet effective Python script that takes screenshots of websites discovered from an Nmap output file. It's the perfect tool for web reconnaissance when you're feeling a bit lazy and want to peek at those webpages without actually visiting them.

Prerequisites

  • Python 3.6+
  • Nmap (with XML output support)
  • Playwright (for browser automation)
  • python-nmap (for parsing Nmap output)

Installation

  1. Clone the repository:
git clone https://github.com/W-GOULD/websnapshooter.git
cd websnapshooter
  1. Install the required Python libraries:
pip install python-nmap playwright
  1. Install Playwright browsers:
playwright install

Usage

First, run an Nmap scan and save the output in XML format:

nmap -p80,443 -oX nmap_output.xml <target>

Next, run the WebSnapshooter script:

python nmap_screenshot.py nmap_output.xml

The script will parse the Nmap output file, extract the websites with HTTP/HTTPS services, and use Playwright to take screenshots of these websites. The screenshots will be saved in the current directory with the URL as the file name.

Please remember to use this script responsibly and only on systems you have permission to access.

About

WebSnapshooter is a simple, yet effective Python script that takes screenshots of websites discovered from an Nmap output file. It's the perfect tool for web reconnaissance when you're feeling a bit lazy and want to peek at those webpages without actually visiting them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages