{"id":18051986,"url":"https://github.com/mbologna/telnetd_honeypot","last_synced_at":"2025-09-07T16:34:36.467Z","repository":{"id":70249454,"uuid":"41853697","full_name":"mbologna/telnetd_honeypot","owner":"mbologna","description":"A very simple telnetd honeypot written in Python and Twisted","archived":false,"fork":false,"pushed_at":"2015-09-03T14:10:29.000Z","size":140,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T15:52:35.191Z","etag":null,"topics":["hacktoberfest","honeypot","python","security","telnet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbologna.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":"2015-09-03T10:19:12.000Z","updated_at":"2022-06-08T21:03:49.000Z","dependencies_parsed_at":"2023-02-26T02:00:23.711Z","dependency_job_id":null,"html_url":"https://github.com/mbologna/telnetd_honeypot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbologna%2Ftelnetd_honeypot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbologna%2Ftelnetd_honeypot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbologna%2Ftelnetd_honeypot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbologna%2Ftelnetd_honeypot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbologna","download_url":"https://codeload.github.com/mbologna/telnetd_honeypot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248269683,"owners_count":21075784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hacktoberfest","honeypot","python","security","telnet"],"created_at":"2024-10-30T22:58:01.395Z","updated_at":"2025-04-10T18:15:54.220Z","avatar_url":"https://github.com/mbologna.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telnetd honeypot\nA very simple telnetd honeypot written in Python, using Twisted framework.\n\n## Why?\n\nAs I always wanted to have a look with twisted, seems a good idea. The main \nidea here is to write a simple telnetd server that:\n\n*   shows the root prompt and waits for commands\n*   answers with fake answers to some UNIX commands (like `uname` and `id`)\n*   answers to all other commands with `Command not found` or with nothing \n(like that the command was accepted). The choice between answering in the \nformer way rather than the latter is random\n*   record everything that is written by the attacker\n\nRead more at http://michelebologna.net/2015/09/fun-with-python-powered-telnetd-honeypot\n\n## Demo\n\n```\n% python telnetd.py \u0026\n[1] 15171\n% telnet localhost 8023\nTrying 127.0.0.1...\nConnected to localhost.\nEscape character is '^]'.\n/ # uname -a \nLinux f001 3.13.3-7-high-octane-fueled #3000-LPG SMPx4 Fri Jun 31 25:24:23 UTC 2200 x86_64 x64_86 x13_37 GNU/Linux\n/ # id\nuid=0(root) gid=0(root) groups=0(root)\n/ # ls \n/ # ps auxw \nbash: ps: command not found\n```\n\n## Installation\n\n1. Install twisted using `pip`:\n    \n    `pip install twisted`\n\n2. Clone this repo\n\n    `git clone https://github.com/mbologna/telnetd_honeypot`\n\n## Usage\n\n1. Launch telnetd.py with as little permissions as possible (ideally in a \nDocker container!). Telnetd will listen on 8023/tcp.\n\n    `python telnetd.py`\n\n2. (optional). You can spin up a bouncer (like rinetd) to serve it on 23/tcp\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbologna%2Ftelnetd_honeypot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbologna%2Ftelnetd_honeypot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbologna%2Ftelnetd_honeypot/lists"}