Git Product home page Git Product logo

go-stare's Introduction

go-stare

made-with-Go go-report license contributions welcome godoc

A fast & light web screenshot without headless browser but Chrome DevTools Protocol!


Resources

Installation

from Binary

The installation is easy. You can download a prebuilt binary from releases page, unpack and run! or with

▶ curl -sSfL https://git.io/go-stare | sh -s -- -b /usr/local/bin

from Source

If you have go1.14+ compiler installed and configured:

▶ GO111MODULE=on go get -v github.com/dwisiswant0/go-stare

In order to update the tool, you can use -u flag with go get command.

from GitHub

▶ git clone https://github.com/dwisiswant0/go-stare
▶ cd go-stare
▶ go build .
▶ mv go-stare /usr/local/bin

Usage

Basic Usage

Simply, go-stare can be run with:

▶ go-stare -t "http://domain.tld"

Flags

▶ go-stare -h

This will display help for the tool. Here are all the switches it supports.

Flag Description
-t, --target Target to captures (single target URL or list)
-c, --concurrency Set the concurrency level (default: 5)
-o, --output Screenshot directory output results (default: ./out)
-q, --quality Image quality to produce (default: 75)
-T, --timeout Maximum time (seconds) allowed for connection (default: 10)
-v, --verbose Verbose mode

Target

You can define a target in 3 ways:

Single URL

▶ go-stare -t "http://domain.tld"

URLs from list

▶ go-stare -t /path/to/urls.txt

from Stdin

In case you want to chained with other tools.

▶ subfinder -d domain.tld -silent | httpx -silent | go-stare -o ./out
# or
▶ gau domain.tld | go-stare -o ./out -q 50

Help & Bugs

If you are still confused or found a bug, please open the issue. All bug reports are appreciated, some features have not been tested yet due to lack of free time.

License

go-stare released under MIT. See LICENSE for more details.

Version

Current version is 0.0.2 and still development.

go-stare's People

Contributors

dependabot[bot] avatar dwisiswant0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-stare's Issues

[BUG] Image size ZERO KB after geting the Screenshot

Describe the bug

The Screenshot is there at ouput folder but no image shwoing only zero kB.

To Reproduce

1.Install go-stare version v0.0.2
2. try an example go-stare -t "http://google.com"
3. you can see the out/ folder that the image file is present but the size to be zero KB
Expected behavior

An expected behavior is that domain screenshot has to be present.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Mac OS
  • OS version: Catalina 10.15.7
  • go-stare version: v0.0.2

Additional context
nothing the tool is great but need the bug fixes

[BUG]Not working properly

Either giving same screenshot as of first url for all urls in file. First url takes like 10-15 seconds than all other urls are done within 2 seconds and program finishes. After checking all other screenshots are same as first one.

Issue with latest release too ! 0 KB size of image and cant load it properly

After using tool in Kali Linux, there is a success message but when went into the directory, it says 0KB size of image and image does not even load. Please resolve asap. Thanks.

Screenshot 2021-04-01 09:31:35
Also tried using previous releases still no luck.
Suggestion - if possible please add other additional formats such as SVG, JPG etc.

Protocol

@dwisiswant0 Add the functionality to also screenshot the url on both protocols if user supply the url without protocol

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.