GithubHelp home page GithubHelp logo

ahmadi7 / lazyshot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdhama/lazyshot

0.0 0.0 0.0 12 KB

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

License: MIT License

Python 100.00%

lazyshot's Introduction

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

lazyshot's People

Contributors

mdhama avatar ehsahil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.