Skip to content

Instantly share code, notes, and snippets.

@suk79sin
suk79sin / gist:8ce4977faef1cfd9c6e02b5460fc04ef
Created September 3, 2018 08:53 — forked from Khoulaiz/gist:41b387883a208d6e914b
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23