2033 shaares
46 private links
46 private links
2 results
tagged
shellmagic
A tester aussi
@miguel_f @climagic #shellmagic Something I just recently learned:
curl telnet://127.0.0.1:22
Even when telnet and netcat are not available, curl usually is.
Pas bête !
How to test a TCP (or UDP) remote port without telnet or netcat (in a one-liner):
(google’s IP and TCP to 443)
timeout 1 bash -c '</dev/tcp/216.58.207.46/443 && echo Port is open || echo Port is closed' || echo Connection timeout