The simplest way to take an automated screenshot of given URLs. Easy installation!
- Python >= 2.7
- Selenium, urlparse and termcolor Python library. Please install latest by running the following command.
pip install -r requirements.txt
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!
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
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
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
MIT License
Any Pull request is greatly appreciated