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: 3 months 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-25T15:58:06.000Z (4 months ago)
- Last Synced: 2025-03-25T16:49:54.359Z (4 months ago)
- Topics: bugbounty, chrome, chromium, discovery, golang
- Language: Go
- Homepage:
- Size: 1.49 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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).

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" .
```