An open API service indexing awesome lists of open source software.

https://github.com/cpl/honey.zip

A "honeypot" server in Go, that will respond with 200 and a file (wink wink nudge nudge, use a zip bomb)
https://github.com/cpl/honey.zip

Last synced: 5 months ago
JSON representation

A "honeypot" server in Go, that will respond with 200 and a file (wink wink nudge nudge, use a zip bomb)

Awesome Lists containing this project

README

          

# honey.zip

[![Go Report Card](https://goreportcard.com/badge/github.com/cpl/honey.zip)](https://goreportcard.com/report/github.com/cpl/honey.zip)
---

A minimal Go web-server that will respond to any and all requests with a simple `200` and a file (which I recommend to be a [zip bomb](https://en.wikipedia.org/wiki/Zip_bomb) with a masked name).

**Disclaimer**, do not use for malicious purposes. Only for educational, pen-testing and proof-of-concept purposes.

## Install

* You can download a pre-compiled binary from the [GitHub releases]()
* If you have Go installed, simply run `go get cpl.li/go/honey.zip`
* You can build from source by cloning the repo and running `go build .`

## Use

```bash
# this is the most basic way you can call honey.zip
$ honey.zip -fpath=/tmp/zipbomb.zip
```

```bash
$ honey.zip --help

Usage of honey.zip:
-addr string
web server listening address (default ":8091")
-delay duration
delay for the response
-fname string
filename used to serve zip bomb (default "sys-memory-dump.zip")
-fpath string
filepath to zip bomb
-websrv string
web server header value (default "Apache/1.8")
```