{"id":21814306,"url":"https://github.com/snawoot/ssh-tarpit","last_synced_at":"2025-04-13T23:46:09.791Z","repository":{"id":53602450,"uuid":"177213767","full_name":"Snawoot/ssh-tarpit","owner":"Snawoot","description":"SSH tarpit that slowly sends an endless banner","archived":false,"fork":false,"pushed_at":"2022-09-14T09:38:20.000Z","size":54,"stargazers_count":34,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T13:51:21.907Z","etag":null,"topics":["ssh","ssh-honeypot","ssh-reinforcement","ssh-server","ssh-tarpit","ssh-windows-unix"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Snawoot.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":"2019-03-22T21:53:56.000Z","updated_at":"2024-11-24T19:20:00.000Z","dependencies_parsed_at":"2022-09-26T17:40:39.238Z","dependency_job_id":null,"html_url":"https://github.com/Snawoot/ssh-tarpit","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snawoot%2Fssh-tarpit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snawoot%2Fssh-tarpit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snawoot%2Fssh-tarpit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snawoot%2Fssh-tarpit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snawoot","download_url":"https://codeload.github.com/Snawoot/ssh-tarpit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799693,"owners_count":21163398,"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":["ssh","ssh-honeypot","ssh-reinforcement","ssh-server","ssh-tarpit","ssh-windows-unix"],"created_at":"2024-11-27T14:37:34.790Z","updated_at":"2025-04-13T23:46:09.761Z","avatar_url":"https://github.com/Snawoot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ssh-tarpit\n==========\n\nSSH tarpit that slowly sends an endless banner. [Original idea by Chris Wellons](https://nullprogram.com/blog/2019/03/22/). This is Python 3 implementation focused on safety and correctness.\n\n## Requirements\n\n* Python 3.5.3+\n\n## Installation\n\n\n### From PyPI\n\nStandard Python package installation. This package is available on PyPI:\n\n```\npip3 install ssh-tarpit\n```\n\n### From source\n\nRun within source directory:\n\n```\npip3 install .\n```\n\n### Docker\n\nRun:\n\n```\ndocker run -d \\\n    --security-opt no-new-privileges \\\n    -p 22:2222 \\\n    --restart unless-stopped \\\n    --name ssh-tarpit \\\n    yarmak/ssh-tarpit\n```\n\n## Usage\n\nSynopsis:\n\n```\n$ ssh-tarpit --help\nusage: ssh-tarpit [-h] [--disable-uvloop] [-v {debug,info,warn,error,fatal}]\n                  [-i INTERVAL] [-f [LOGFILE [LOGFILE ...]]] [-a BIND_ADDRESS]\n                  [-p BIND_PORT] [-D]\n\nSSH tarpit that slowly sends an endless banner\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --disable-uvloop      do not use uvloop even if it is available (default:\n                        False)\n  -v {debug,info,warn,error,fatal}, --verbosity {debug,info,warn,error,fatal}\n                        logging verbosity (default: info)\n  -i INTERVAL, --interval INTERVAL\n                        interval between writes in seconds (default: 2.0)\n  -f [LOGFILE [LOGFILE ...]], --logfile [LOGFILE [LOGFILE ...]]\n                        file(s) to log to. Empty string argument represents\n                        stderr. Flag without arguments disables logging\n                        completely. Default is stderr only. (default: [''])\n\nlisten options:\n  -a BIND_ADDRESS, --bind-address BIND_ADDRESS\n                        bind address (default: 127.0.0.1)\n  -p BIND_PORT, --bind-port BIND_PORT\n                        bind port (default: 2222)\n  -D, --dualstack       force dualstack socket mode. Sets socket IPV6_V6ONLY\n                        option to 0 (default: False)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnawoot%2Fssh-tarpit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnawoot%2Fssh-tarpit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnawoot%2Fssh-tarpit/lists"}