{"id":19662248,"url":"https://github.com/leblanc-simon/open-go-knocking","last_synced_at":"2026-06-13T00:31:12.167Z","repository":{"id":169553786,"uuid":"645545210","full_name":"leblanc-simon/open-go-knocking","owner":"leblanc-simon","description":"Simple port knocking client written in GoLang","archived":false,"fork":false,"pushed_at":"2023-05-26T20:25:13.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T00:03:29.768Z","etag":null,"topics":["golang","knock","knocking","network","port-knock","port-knocking"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leblanc-simon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2023-05-25T22:43:24.000Z","updated_at":"2023-05-30T23:47:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"71586d8d-5e8c-4d90-a1e8-82219784cc90","html_url":"https://github.com/leblanc-simon/open-go-knocking","commit_stats":null,"previous_names":["leblanc-simon/open-go-knocking"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/leblanc-simon/open-go-knocking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leblanc-simon%2Fopen-go-knocking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leblanc-simon%2Fopen-go-knocking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leblanc-simon%2Fopen-go-knocking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leblanc-simon%2Fopen-go-knocking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leblanc-simon","download_url":"https://codeload.github.com/leblanc-simon/open-go-knocking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leblanc-simon%2Fopen-go-knocking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34268187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","knock","knocking","network","port-knock","port-knocking"],"created_at":"2024-11-11T16:10:02.566Z","updated_at":"2026-06-13T00:31:12.116Z","avatar_url":"https://github.com/leblanc-simon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenGoKnocking\n\nSimple and cross-platform port knocking client written in GoLang.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/leblanc-simon/open-go-knocking/main/assets/open-go-knocking.png\"\u003e\n\u003c/p\u003e\n\n## Installation\n\nTo install OpenGoKnocking in your $GOPATH:\n\n```bash\ngit clone https://github.com/leblanc-simon/open-go-knocking.git\ncd open-go-knocking\ngo install\n```\n\nalternatively, you can download binary from [releases](https://github.com/leblanc-simon/open-go-knocking/releases). \nBinaries are availables for GNU/Linux, MacOS and Windows\n\n## Usage\n\n```bash\n# Knock to the server 192.168.0.42 at port 1337 (tcp), then 1338 (UDP) and finally 1339 (TCP)\nopen-go-knocking 192.168.0.42 1337:tcp 1338:udp 1339:tcp\n\n# If the majority of ports are TCP ports, you can use the following syntax (ports without protocol will be in TCP)\nopen-go-knocking --tcp 192.168.0.42 1337 1338:udp 1339\n\n# If the majority of ports are UDP ports, you can use the following syntax (ports without protocol will be in UDP)\nopen-go-knocking --udp 192.168.0.42 1337 1338:tcp 1339\n\n# If you use domain name, you can increase the timeout to take account of resolution time\nopen-go-knocking --timeout 100 example.com 1337:tcp 1338:udp 1339:tcp\n```\n\n## Options\n\n* `--tcp`: use TCP protocol by default\n* `--udp`: use UPD protocol by default\n* `--delay` (in ms / default 1): delay in milliseconds between 2 packets send to host\n* `--timeout` (in ms / default 5): timeout in milliseconds before autoclose connection\n* `--version`: Show the current version\n* `--help`: Show the help\n\n## Errors\n\nPossible exit codes :\n\n* 0: all is fine :)\n* 1: Not enough arguments (host and port are required)\n* 2: Host is not a valid hostname or IP (v4 or v6)\n* 3: Problems with ports or protocols (check if you use `--tcp` or `--udp` that the option is located before the host)\n\n## Author\n\n* Simon Leblanc \u003ccontact@leblanc-simon.eu\u003e\n\n## License\n\n[WTFPL](http://www.wtfpl.net/)\n\n## Logo\n\nOriginal Logo from [Takuya Ueda](https://twitter.com/tenntenn), you can find source [in the repository](https://github.com/golang-samples/gopher-vector). Licensed under the Creative Commons 3.0 Attributions license.\n\nModified by Simon Leblanc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleblanc-simon%2Fopen-go-knocking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleblanc-simon%2Fopen-go-knocking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleblanc-simon%2Fopen-go-knocking/lists"}