{"id":16007214,"url":"https://github.com/jahed/knock","last_synced_at":"2025-11-25T16:02:58.935Z","repository":{"id":69108296,"uuid":"313103309","full_name":"jahed/knock","owner":"jahed","description":"A simple port knocker. Given a host, looks up its port sequence and knocks on it.","archived":false,"fork":false,"pushed_at":"2024-10-23T16:14:38.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T01:42:04.323Z","etag":null,"topics":["port-knocker","port-knocking","powershell","security","shell","ssh"],"latest_commit_sha":null,"homepage":"https://jahed.dev","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jahed.png","metadata":{"files":{"readme":"README","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-15T19:07:18.000Z","updated_at":"2024-10-23T16:21:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cbf5fb3-90a6-46dd-86d5-de7798845205","html_url":"https://github.com/jahed/knock","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"2a9e40256cdc6b0a139a5edf76b00aa39d690cac"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jahed/knock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Fknock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Fknock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Fknock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Fknock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jahed","download_url":"https://codeload.github.com/jahed/knock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahed%2Fknock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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","status":"online","status_checked_at":"2025-11-25T02:00:05.816Z","response_time":54,"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":["port-knocker","port-knocking","powershell","security","shell","ssh"],"created_at":"2024-10-08T12:02:17.023Z","updated_at":"2025-11-25T16:02:58.918Z","avatar_url":"https://github.com/jahed.png","language":"Shell","readme":"NAME\n  knock - a simple port knocker\n\nSYNOPSIS\n  ./knock \u003chost\u003e\n\nDESCRIPTION\n  Given a host, looks up its port sequence and knocks on it.\n\n  Version:   v2.2.1\n  Homepage:  https://github.com/jahed/knock\n  Donate:    https://jahed.dev/donate\n\nOPTIONS\n  \u003chost\u003e\n    Target host. Where you want to knock. Must exist in config file.\n\n  -c, --config \u003cconfig\u003e\n    Config file location. Defaults to ~/.config/knock/hosts.json.\n\n  -h, --help\n    Prints this help message.\n\n  --version\n    Prints the version.\n\nCONFIG\n  The config file must have the following structure:\n\n  {\n    \"example.com\": [\"1000\", \"2000\", \"3000\"]\n  }\n\n  Such that executing:\n\n    ./knock --config ./knock.json example.com\n\n  Will knock on example.com at ports 1000 then 2000 then 3000.\n\nDEPENDENCIES\n  Required\n    ncat    https://nmap.org/ncat/\n    Bash    https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29\n\nCOPYRIGHT\n  Copyright (C) 2022 Jahed Ahmed\n\n  This program is free software: you can redistribute it and/or modify\n  it under the terms of the GNU Affero General Public License as published by\n  the Free Software Foundation, either version 3 of the License, or any later version.\n\n  This program is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU Affero General Public License for more details.\n\n  You should have received a copy of the GNU Affero General Public License\n  along with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahed%2Fknock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjahed%2Fknock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahed%2Fknock/lists"}