Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtfmkiesel/drivebyte
A blazingly fast, cross-os cli tool to discover and take automated screenshots of websites
https://github.com/rtfmkiesel/drivebyte
bugbounty chrome chromium discovery golang
Last synced: 26 days ago
JSON representation
A blazingly fast, cross-os cli tool to discover and take automated screenshots of websites
- Host: GitHub
- URL: https://github.com/rtfmkiesel/drivebyte
- Owner: rtfmkiesel
- License: apache-2.0
- Created: 2023-09-16T12:12:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-31T18:47:55.000Z (5 months ago)
- Last Synced: 2024-07-31T23:00:02.294Z (5 months ago)
- Topics: bugbounty, chrome, chromium, discovery, golang
- Language: Go
- Homepage:
- Size: 1.48 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drivebyte
![GitHub Repo stars](https://img.shields.io/github/stars/rtfmkiesel/drivebyte) ![GitHub](https://img.shields.io/github/license/rtfmkiesel/drivebyte)A *blazingly fast*, cross-os cli tool to discover and take automated screenshots of websites using Chromium-based browsers. This was done with automated content discovery & bug bounty in mind. This was heavily inspired and is basically a minified version of [michenriksen/aquatone](https://github.com/michenriksen/aquatone).
![](demo.gif)
For chaining, `drivebyte` will output successfully screenshotted URLs to `stdout` and verbose as well as error messages to `stderr` which makes the output easily parsable.
## Usage
```
Usage:
drivebyte [flags]Flags:
TARGETS:
-t, -targets string /path/to/urls or a single URL
-p, -ports string ports to scan: "FROM-TO" or "min", "default", "large", "max" (default "default")
-pt, -port-timeout int timeout for port checks in seconds (default 10)
-w, -workers int amount of concurrect workers (default 10)BROWSER:
-o, -output-dir string output directory for the screenshots (default "./screenshots")
-c, -chrome string path to the chrome binary
-i, -incognito launch chrome in incognito mode
-x, -proxy-url string proxy url to use
-st, -screenshot-timeout int timeout for the screenshot in seconds (default 10)
-ph, -pixel-h int size of the screenshot in pixels (horizontal) (default 1440)
-pv, -pixel-v int size of the screenshot in pixels (vertical) (default 800)
-T, -temp-dir string directory to store the temporary files
-ua, -user-agent string override the chrome user agent
-fg, -foreground launch chrome in foregroundOPTIONS:
-v, -verbose
```## Installation
### Binaries
Download the prebuilt binaries [here](https://github.com/rtfmkiesel/drivebyte/releases).### With Go
```bash
go install github.com/rtfmkiesel/drivebyte@latest
```### Build from source
```bash
git clone https://github.com/rtfmkiesel/drivebyte
cd drivebytemake
# or
go mod tidy
go build -ldflags="-s -w" .
```