Home

Awesome

Build Status

Status

The project is being actively developed.
This honeypot has been tested by Sec51 however we cannot guarantee that it's bug free!
Attackers may be able to gain access to your honeypot server in case of severe bugs.
Use at your own risk !
We are not responsible for any damages caused by this software.
For more information see the license.

SMTP honeypot

Here a list of features developed so far:

Future development

How to run it:

  1. Generate a public/private key via:

openssl req -newkey rsa:2048 -nodes -keyout smtp.key -x509 -days 365 -out smtp.crt

  1. Move the newly created certificates to a cert folder.

  2. Configure your remote ip address or ip address list in the conf/development.conf or conf/production.conf INI config file. This will allow only your IP to connect to the API. In addition set the path of the certificates.

  3. Run the binary via:

setcap 'cap_net_bind_service=+ep' honeymail

  1. Access the api via:

To see today's emails:

To see a specific date emails:

To see a spefici email (you can find the id from the list return from /api/emails):

Please report any bugs you will encounter.

Dependencies

The project is now using go vendoring. So all dependencies are inside the vendor folder.

License

Copyright (c) 2016 Sec51.com info@sec51.com

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.