Monday, July 27, 2015

telnet and netcat/nc UDP and TCP port testing

Telnet: Supports only TCP port check

$ telnet



netcat: Supports both UDP and TCP port check

To test TCP connection b/w two servers use below
netcat      Do this on serverA
then enter "hi"
nc -l      Do this on serverB

To test UDP connection b/w two servers use below
netcat -u      Do this on serverA
then enter "hi"
nc -lup      Do this on serverB

netcat to scan open ports in any server

netcat -z -vvv -n

-z scan
-v verbose
-n perform just ip dont try to resolve host


CSS tricks

Mixed paint in background: background: linear-gradient(to right, #b6e358, #38b143) Grid view: display: grid; grid-template-columns: a...