{"id":13795096,"url":"https://github.com/yvesago/imap-honey","last_synced_at":"2026-04-04T04:48:50.272Z","repository":{"id":57599423,"uuid":"62391747","full_name":"yvesago/imap-honey","owner":"yvesago","description":"IMAP or SMTP honeypot written in Golang","archived":false,"fork":false,"pushed_at":"2022-04-22T15:38:19.000Z","size":12,"stargazers_count":26,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T04:48:46.710Z","etag":null,"topics":["golang","honeypot","imap","security","security-tools","smtp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yvesago.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-01T12:33:49.000Z","updated_at":"2025-11-28T17:04:55.000Z","dependencies_parsed_at":"2022-09-18T09:22:28.140Z","dependency_job_id":null,"html_url":"https://github.com/yvesago/imap-honey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yvesago/imap-honey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvesago%2Fimap-honey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvesago%2Fimap-honey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvesago%2Fimap-honey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvesago%2Fimap-honey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yvesago","download_url":"https://codeload.github.com/yvesago/imap-honey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvesago%2Fimap-honey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31388168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","honeypot","imap","security","security-tools","smtp"],"created_at":"2024-08-03T23:00:52.130Z","updated_at":"2026-04-04T04:48:50.256Z","avatar_url":"https://github.com/yvesago.png","language":"Go","funding_links":[],"categories":["Honeypots","\u003ca id=\"a53d22b9c5d09dc894413453f4755658\"\u003e\u003c/a\u003e未分类"],"sub_categories":[],"readme":"# imap-honey\n\nSimple IMAP or SMTP honeypot written in Golang with log to console or syslog\n\n## Quick start\n\n```\n$ go run imaphoney/honey.go \u0026\n\n$ telnet localhost 1993\nTrying ::1...\nConnected to localhost.\nEscape character is '^]'.\nOK IMAP4\na0001 CAPABILITY\n* CAPABILITY ACL ID IDLE IMAP4rev1 AUTH=PLAIN\na0001 OK CAPABILITY\na0002 LOGOUT\n* BYE localhost\na0002 OK LOGOUT\nConnection closed by foreign host.\n```\n\n```\n$ go run smtphoney/honey.go \u0026\n\n$ telnet localhost 1993\nTrying ::1...\nConnected to localhost.\nEscape character is '^]'.\n220 localhost ESMTP ready\nEHLO honey\n250-localhost\n250-PIPELINING\n250-SIZE 5242880\n250-ETRN\n250 8BITMIME\n250 DSN\nMAIL FROM: test@example.org\n250 Recipient ok\nQUIT\n221 2.0.0 Bye\nConnection closed by foreign host.\n```\n\n## IMAPS/SMTPS support\n\n1) Create public/private keys via:\n\n```\nopenssl genrsa -out server.key 2048\nopenssl req -new -x509 -sha256 -key server.key -out server.pem -days 3650\n```\n\n2) Run and test\n\n```\n$ make all\n$ ./build/linux/imaphoney -cert server.pem -key server.key -addr :9443 -server my.syslog.server:514 \u0026\n\n$ openssl s_client -connect localhost:9443 -quiet\n...\n```\n\n\n## Full usage\n\n```\nUsage of ./build/linux/imaphoney:\n  -addr string\n        ipaddr:port (default \":1993\")\n  -cap string\n        imap CAPABILITY (default \"ACL ID IDLE IMAP4rev1 AUTH=PLAIN\")\n  -cert string\n        cert file\n  -d    debug\n  -hostname string\n        hostname (default \"localhost\")\n  -key string\n        cert file\n  -q    quiet - no msg in console\n  -server string\n        syslog remote server\n```\n\n```\nUsage of ./build/linux/smtphoney:\n  -addr string\n    \tipaddr:port (default \":1993\")\n  -aok\n    \tauth ok\n  -cap string\n    \tsmtp CAPABILITY (default \"250-localhost;250-PIPELINING;250-SIZE 5242880;250-ETRN;250 8BITMIME;250 DSN;\")\n  -cert string\n    \tcert file\n  -d\tdebug\n  -hostname string\n    \thostname (default \"localhost\")\n  -key string\n    \tcert file\n  -la\n    \tlog auth\n  -ld\n    \tlog data\n  -q\tquiet - no msg in console\n  -server string\n    \tsyslog remote server\n```\n\n# AUTHORS\n\nYves Agostini, `\u003cyvesago@cpan.org\u003e`\n\n# LICENSE AND COPYRIGHT\n\nLicense : MIT\n\nCopyright 2022 - Yves Agostini\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvesago%2Fimap-honey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyvesago%2Fimap-honey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvesago%2Fimap-honey/lists"}