{"id":17141689,"url":"https://github.com/calebstewart/pwncat-testing-images","last_synced_at":"2025-04-10T09:38:10.669Z","repository":{"id":84750044,"uuid":"370854513","full_name":"calebstewart/pwncat-testing-images","owner":"calebstewart","description":"Docker images for automated pwncat testing.","archived":false,"fork":false,"pushed_at":"2021-05-30T05:04:13.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T08:25:13.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebstewart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-25T23:39:52.000Z","updated_at":"2023-03-22T04:16:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"5455e6f8-313e-41fc-b5c8-6439610aa374","html_url":"https://github.com/calebstewart/pwncat-testing-images","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebstewart%2Fpwncat-testing-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebstewart%2Fpwncat-testing-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebstewart%2Fpwncat-testing-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebstewart%2Fpwncat-testing-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebstewart","download_url":"https://codeload.github.com/calebstewart/pwncat-testing-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248192716,"owners_count":21062729,"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":[],"created_at":"2024-10-14T20:26:14.433Z","updated_at":"2025-04-10T09:38:10.647Z","avatar_url":"https://github.com/calebstewart.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Container Images for pwncat CI/CD-based testing\n\nThese container images serve as GitHub Actions \"service\" containers to provide\nbind and reverse shells as well as SSH for linux hosts. This allows us to\npoint `pytest` at these existing instances and run automated testing.\n\n## Linux Containers (Ubuntu/CentOS)\n\nEach Linux container exposes three ports:\n\n- SSH via Port 22\n- Bind Shell via Port 4444\n- Reverse Shell Trigger via Port 9999\n\nTo trigger a reverse shell, send a line of text to `:9999` containing a host/port\ncombo. For example:\n\n```sh\necho \"$LISTENER_IP:4444\" \u003e /dev/tcp/$CONTAINER_IP/9999\n```\n\nThis will trigger a connection from the container to `$LISTENER_IP` on port `4444`.\nThis is easiest if both the listener and the vulnerable host are containers.\n\n## Windows Containers\n\nThe windows container runs similar services except without the SSH service.\nIt will start a bind shell on port `4444`, and a reverse shell trigger on `9999`.\nThe reverse shell trigger behaves in the same way as the Linux version. The\nkey difference with Windows is that the bind shell can only handle a single\nconnection at a time. Further connections will hang until the first is closed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebstewart%2Fpwncat-testing-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebstewart%2Fpwncat-testing-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebstewart%2Fpwncat-testing-images/lists"}