Skip to main content

A security tool for grabbing screenshots of many web hosts.

Project description

Snapper

A security tool for grabbing screenshots of many web hosts. This tool is useful after DNS enumeration or after enumerating web hosts via nmap or nessus.

How to install

  • Pypl package
pip install -i  https://test.pypi.org/simple/ snapper
npm -g install phantomjs

How to use

On the server side

To start up the application from pypi:

snap

You can also launch it directly from github, make sure requirenment.txt is satisfied:

python cli.py

On the user side

POST command populates the data:

curl -XPOST -H 'Content-Type: application/json' -d '{"urls": ["google.com", "gmail.google.com", "ads.google.com"]}' http://127.0.0.1:8000/api/v1/submit

This kicks off 3 processes, each of which fetch screenshots of the http and https versions of the hosts in question. output results Each POST request has an id, which you can use to access the data outputted by it. The output is saved on the server side in the "output" folder and the path to it is returned as json by GET command:

curl -XGET http://127.0.0.1:8000/api/v1/tasks/164157d3-472d-4e25-8488-389e206d24bb

You can view the results here. Note in addition to the server, the static files are available in your current working directory as "output"

More options

snap --help
Options:
  -h, --help            show this help message and exit
  -u USER_AGENT, --user-agent=USER_AGENT
                        The user agent used for requests
  -o OUTPUT_DIR, --output=OUTPUT_DIR	
  						Directory for output
  -l LOGS, --log_level=LOGS 
  						Logging facility level
  -t TIMEOUT, --timeout=TIMEOUT
                        Number of seconds to try to resolve
  -p PORT, --port=PORT  Port to run server on
  -H HOST, --host=HOST  Host to run server on  
  -v                    Display console output for fetching each host

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapper-0.0.9.tar.gz (109.8 kB view details)

Uploaded Source

Built Distribution

snapper-0.0.9-py3-none-any.whl (120.8 kB view details)

Uploaded Python 3

File details

Details for the file snapper-0.0.9.tar.gz.

File metadata

  • Download URL: snapper-0.0.9.tar.gz
  • Upload date:
  • Size: 109.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for snapper-0.0.9.tar.gz
Algorithm Hash digest
SHA256 96c5dfeb5cd02bb48ee8bb401f6d3d59ed5198ddff4556cbd82b99d52eb09e3a
MD5 e331e218568b47b1af1f9d4fda8aa8a5
BLAKE2b-256 27ed5af01fb952c7615a2b9a3354e731c27fac1c2d4dcf08e604dddb442a815b

See more details on using hashes here.

File details

Details for the file snapper-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: snapper-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 120.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for snapper-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 66a4cbe0ac626e8ba7067eee9ac6c3a4e313913b00147214c099000462c9c294
MD5 fb39281a71212fea3c7f40d9ac566821
BLAKE2b-256 af39542e156aedfb060d847bca33390bc3ae098d4ebac4cb2e265ef4137b3317

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page