Port Checker Script
Thanks for this Stan!
You can find the source here: portknock-V3.py.
Example:
Bash./portknock-V3.py -p 22,80,631 -H localhost,192.168.0.123 -P TCP
--------- localhost ----------
TCP Port 22 is open.
TCP Port 80 is open.
TCP Port 631 is open.
------- 192.168.0.123 --------
TCP Port 22 is open.
TCP Port 80 is open.
TCP Port 631 is open.
For help:
Bash./portknock-V3.py -h
usage: portknock-V3.py [-h] -p PORT -H HOST [-P PROTOCOL]
Port checker
options:
-h, --help show this help message and exit
-p PORT, --port PORT port1,port2,....
-H HOST, --host HOST host1,host2,.....
-P PROTOCOL, --protocol PROTOCOL
[TCP|UDP]