Netcat examples

1. Test if a particular TCP port of a remote host is open. $ nc -vn 192.168.233.208 5000 nc: connect to 192.168.233.208 5000 (tcp) failed: Connection refused $ nc -v 192.168.233.208 22 Connection to 192.168.233.208 22 port [tcp/ssh] succeeded! SSH-2.0-OpenSSH_6.0p1 Debian-4 2. Send a test UDP packet to a remote host. The command below sends […]

Read More

NetCat Security by Mati Aharoni

This post is written by one of my favorite InfoSec role models, Mati Aharoni.  All credit goes to Mati Aharoni and to networknewz. A few years back, Mati Aharoni, one of the core developers of the BackTrack penetration testing CD and founder of www.offensive-security.com, wrote a short security paper that demonstrated an entire hack from […]

Read More