Skip to content

The simplest way to take an automated screenshot of given URLs. Easy installation! Edit

License

Notifications You must be signed in to change notification settings

mdhama/lazyshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LazyShot

The simplest way to take an automated screenshot of given URLs. Easy installation!

LAZYSHOT

Requirements:

  • Python >= 2.7
  • Selenium, urlparse and termcolor Python library. Please install latest by running the following command.
pip install -r requirements.txt

Installation:

Follow these steps to install the Lazyshot.

  • Clone the project using git command.
git clone https://github.com/mdhama/lazyshot.git
  • Go to /lazyshot
cd lazyshot
  • Download chromedriver (v2.35) from here

  • Extract zip file. Copy and Paste chromedriver to /path/to/lazyshot/ directory

  • Add alias chromedriver into .bash_profile

cd
nano ~/.bash_profile

or

vi ~/.bash_profile
  • Append below line into .bash_profile
alias chromedriver="~/path/to/lazyshot/chromedriver"
  • Save and exit. Now refresh .bash_profile
source ~/.bash_profile

Done!

How to use:

To take screenshots simply run this command

python lazyshot.py wordlist

Screenshots will be saved into Default outputs folder. You can pass the custom folder name using

python lazyshot.py wordlist --out folder_name

Wordlist:

The wordlist is just a simple data file where each line contains one URL.

vi wordlist

list subdomains/domains

:wq (exit vim)

Wordlist file example content

www.example.com
https://foo.example.com
http://bar.expample.com
foo-bar.exmaple.com

Example:

python lazyshot.py wordlist --out example

output:

 _                     __ __ _           _
| |                   /  ___| |         | |   
| |     __ _ _____   _\ `--.| |__   ___ | |_  
| |    / _` |_  / | | |`--. \ '_ \ / _ \| __| 
| |___| (_| |/ /| |_| /\__/ / | | | (_) | |_  
\_____/\__,_/___|\__, \____/|_| |_|\___/ \__| 
                  __/ |                     
                 |___/       By: Mukesh Dhama & Sahil Ahamad
-------------------------------------------------------------                           


www.example.com is ready.
foo.example.com is ready.
bar.expample.com is ready.
foo-bar.exmaple.com is ready.

Screenshots will be saved into example directory in .png format

License:

MIT License

Any Pull request is greatly appreciated

About

The simplest way to take an automated screenshot of given URLs. Easy installation! Edit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages