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.1.tar.gz (109.8 kB view details)

Uploaded Source

Built Distribution

snapper-0.0.1-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapper-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f8850c18e04797bad258666a0220e3a4ab2b1297340a2c2c0c1c9ddcbf862f3f
MD5 31ce90bc39ea8c93e30593e536ca9c2d
BLAKE2b-256 c724abd9b3656e0eae5402ee82ceed1e2dcd41083487a506f2c74cb5f0f4d872

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snapper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b458e616f48cb3fad5ed3c6bd050236c54a1ea27b7d29c6c6edf1d17c1d15ee
MD5 122962a391dfc8ba126890d5d394a097
BLAKE2b-256 1f11aa2678888ba7b4137155a020e819940e9a2902d0a9258c308e367819978c

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