Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jahed/knock
A simple port knocker. Given a host, looks up its port sequence and knocks on it.
https://github.com/jahed/knock
port-knocker port-knocking powershell security shell ssh
Last synced: 6 days ago
JSON representation
A simple port knocker. Given a host, looks up its port sequence and knocks on it.
- Host: GitHub
- URL: https://github.com/jahed/knock
- Owner: jahed
- License: agpl-3.0
- Created: 2020-11-15T19:07:18.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T16:14:38.000Z (3 months ago)
- Last Synced: 2024-11-12T16:44:56.191Z (2 months ago)
- Topics: port-knocker, port-knocking, powershell, security, shell, ssh
- Language: Shell
- Homepage: https://jahed.dev
- Size: 42 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
NAME
knock - a simple port knockerSYNOPSIS
./knockDESCRIPTION
Given a host, looks up its port sequence and knocks on it.Version: v2.2.1
Homepage: https://github.com/jahed/knock
Donate: https://jahed.dev/donateOPTIONS
Target host. Where you want to knock. Must exist in config file.-c, --config
Config file location. Defaults to ~/.config/knock/hosts.json.-h, --help
Prints this help message.--version
Prints the version.CONFIG
The config file must have the following structure:{
"example.com": ["1000", "2000", "3000"]
}Such that executing:
./knock --config ./knock.json example.com
Will knock on example.com at ports 1000 then 2000 then 3000.
DEPENDENCIES
Required
ncat https://nmap.org/ncat/
Bash https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29COPYRIGHT
Copyright (C) 2022 Jahed AhmedThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .