Skip to content

Instantly share code, notes, and snippets.

View actiago's full-sized avatar
💭
🐙

Tiago Amaral actiago

💭
🐙
View GitHub Profile
@actiago
actiago / gist:47978a6e81e7cd26b29f3519c97e36e1
Created August 27, 2021 22:25 — 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