hetty/README.md

160 lines
5.5 KiB
Markdown
Raw Normal View History

2022-03-03 07:29:14 +00:00
<img src="https://user-images.githubusercontent.com/983924/156430531-6193e187-7400-436b-81c6-f86862783ea5.svg#gh-light-mode-only" width="240"/>
<img src="https://user-images.githubusercontent.com/983924/156430660-9d5bd555-dcfd-47e2-ba70-54294c20c1b4.svg#gh-dark-mode-only" width="240"/>
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
[![Latest GitHub release](https://img.shields.io/github/v/release/dstotijn/hetty?color=25ae8f)](https://github.com/dstotijn/hetty/releases/latest)
2022-03-03 07:29:14 +00:00
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fdstotijn%2Fhetty%2Fbadge%3Fref%3Dmain&label=build&color=24ae8f)](https://github.com/dstotijn/hetty/actions/workflows/build-test.yml)
2022-03-02 18:16:53 +00:00
![GitHub download count](https://img.shields.io/github/downloads/dstotijn/hetty/total?color=25ae8f)
[![GitHub](https://img.shields.io/github/license/dstotijn/hetty?color=25ae8f)](https://github.com/dstotijn/hetty/blob/master/LICENSE)
[![Documentation](https://img.shields.io/badge/hetty-docs-25ae8f)](https://hetty.xyz/)
2020-09-27 18:38:30 +00:00
2020-11-01 16:03:04 +00:00
**Hetty** is an HTTP toolkit for security research. It aims to become an open
source alternative to commercial software like Burp Suite Pro, with powerful
features tailored to the needs of the infosec and bug bounty community.
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
<img src="https://hetty.xyz/img/hero.png" width="907" alt="Hetty proxy logs (screenshot)" />
2020-09-27 18:38:30 +00:00
2020-11-01 16:03:04 +00:00
## Features
2022-03-02 18:16:53 +00:00
- Machine-in-the-middle (MITM) HTTP proxy, with logs and advanced search
- HTTP client for manually creating/editing requests, and replay proxied requests
2022-03-29 12:06:51 +00:00
- Intercept requests and responses for manual review (edit, send/receive, cancel)
2022-03-02 18:16:53 +00:00
- Scope support, to help keep work organized
- Easy-to-use web based admin interface
- Project based database storage, to help keep work organized
2020-11-01 16:03:04 +00:00
2022-03-02 18:16:53 +00:00
👷‍♂️ Hetty is under active development. Check the <a
href="https://github.com/dstotijn/hetty/projects/1">backlog</a> for the current
status.
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
📣 Are you pen testing professionaly in a team? I would love to hear your
thoughts on tooling via [this 5 minute
survey](https://forms.gle/36jtgNc3TJ2imi5A8). Thank you!
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
## Getting started
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
💡 The [Getting started](https://hetty.xyz/docs/getting-started) doc has more
detailed install and usage instructions.
2020-11-01 18:01:07 +00:00
2022-03-02 18:16:53 +00:00
### Installation
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
The quickest way to install and update Hetty is via a package manager:
2020-11-01 16:03:04 +00:00
2022-03-02 18:16:53 +00:00
#### macOS
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
```sh
brew install hettysoft/tap/hetty
2020-09-27 18:38:30 +00:00
```
2022-03-02 18:16:53 +00:00
#### Linux
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
```sh
sudo snap install hetty
2020-09-27 18:38:30 +00:00
```
2022-03-02 18:16:53 +00:00
#### Windows
2020-11-01 16:03:04 +00:00
2022-03-02 18:16:53 +00:00
```sh
2022-03-03 09:35:25 +00:00
scoop bucket add hettysoft https://github.com/hettysoft/scoop-bucket.git
2022-03-02 18:16:53 +00:00
scoop install hettysoft/hetty
2020-11-01 16:03:04 +00:00
```
2022-03-02 18:16:53 +00:00
#### Other
2022-03-02 18:16:53 +00:00
Alternatively, you can [download the latest release from
GitHub](https://github.com/dstotijn/hetty/releases/latest) for your OS and
architecture, and move the binary to a directory in your `$PATH`. If your OS is
not available for one of the package managers or not listed in the GitHub
releases, you can compile from source _(link coming soon)_.
#### Docker
Docker images are distributed via [GitHub's Container registry](https://github.com/dstotijn/hetty/pkgs/container/hetty)
and [Docker Hub](https://hub.docker.com/r/dstotijn/hetty). To run Hetty via with a volume for database and certificate
storage, and port 8080 forwarded:
```
docker run -v $HOME/.hetty:/root/.hetty -p 8080:8080 \
ghcr.io/dstotijn/hetty:latest
```
2022-03-02 18:16:53 +00:00
### Usage
2022-03-02 18:16:53 +00:00
Once installed, start Hetty via:
```sh
hetty
```
2022-03-02 18:16:53 +00:00
💡 Read the [Getting started](https://hetty.xyz/docs/getting-started) doc for
more details.
2022-03-02 18:16:53 +00:00
To list all available options, run: `hetty --help`:
```
2022-03-02 18:16:53 +00:00
$ hetty --help
2022-03-02 18:16:53 +00:00
Usage:
hetty [flags] [subcommand] [flags]
2022-03-02 18:16:53 +00:00
Runs an HTTP server with (MITM) proxy, GraphQL service, and a web based admin interface.
2022-03-02 18:16:53 +00:00
Options:
--cert Path to root CA certificate. Creates file if it doesn't exist. (Default: "~/.hetty/hetty_cert.pem")
--key Path to root CA private key. Creates file if it doesn't exist. (Default: "~/.hetty/hetty_key.pem")
--db Database directory path. (Default: "~/.hetty/db")
--addr TCP address for HTTP server to listen on, in the form \"host:port\". (Default: ":8080")
--chrome Launch Chrome with proxy settings applied and certificate errors ignored. (Default: false)
--verbose Enable verbose logging.
--json Encode logs as JSON, instead of pretty/human readable output.
--version, -v Output version.
--help, -h Output this usage text.
2022-03-02 18:16:53 +00:00
Subcommands:
- cert Certificate management
2022-03-02 18:16:53 +00:00
Run `hetty <subcommand> --help` for subcommand specific usage instructions.
2022-03-02 18:16:53 +00:00
Visit https://hetty.xyz to learn more about Hetty.
```
2022-03-02 18:16:53 +00:00
## Documentation
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
📖 [Read the docs](https://hetty.xyz/docs)
2020-11-01 16:03:04 +00:00
## Support
Use [issues](https://github.com/dstotijn/hetty/issues) for bug reports and
2022-03-02 18:16:53 +00:00
feature requests, and
[discussions](https://github.com/dstotijn/hetty/discussions) for questions and
troubleshooting.
2020-09-27 18:38:30 +00:00
2020-11-01 16:03:04 +00:00
## Community
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
💬 [Join the Hetty Discord server](https://discord.gg/3HVsj5pTFP)
2020-09-27 18:38:30 +00:00
2020-10-04 11:21:08 +00:00
## Contributing
2022-03-02 18:16:53 +00:00
Want to contribute? Great! Please check the [Contribution
Guidelines](CONTRIBUTING.md) for details.
2020-10-04 11:21:08 +00:00
2020-09-27 18:38:30 +00:00
## Acknowledgements
2020-11-01 16:03:04 +00:00
- Thanks to the [Hacker101 community on Discord](https://www.hacker101.com/discord)
2022-03-02 18:16:53 +00:00
for the encouragement and early feedback.
- The font used in the logo and admin interface is [JetBrains
Mono](https://www.jetbrains.com/lp/mono/).
2020-09-27 18:38:30 +00:00
2021-12-30 10:40:14 +00:00
## Sponsors
2022-03-30 11:01:00 +00:00
<p><a href="https://www.tines.com/?utm_source=oss&utm_medium=sponsorship&utm_campaign=hetty">
2022-03-02 18:16:53 +00:00
<img src="https://hetty.xyz/img/tines-sponsorship-badge.png" width="140" alt="Sponsored by Tines">
2022-03-30 11:01:00 +00:00
</a></p>
💖 Are you enjoying Hetty? You can [sponsor me](https://github.com/sponsors/dstotijn)!
2021-12-30 10:40:14 +00:00
2020-09-27 18:38:30 +00:00
## License
2022-03-02 18:16:53 +00:00
[MIT](LICENSE)
2020-09-27 18:38:30 +00:00
2022-03-02 18:16:53 +00:00
© 2022 Hetty Software