cygwin下netcat编译与使用

cd /tmp wget http://ftp.de.debian.org/debian/pool/main/n/netcat/netcat_1.10.orig.tar.gz wget http://ftp.de.debian.org/debian/pool/main/n/netcat/netcat_1.10-38.diff.gz tar vxzf netcat_1.10.orig.tar.gz cd netcat-1.10.orig/ zcat ../netcat_1.10-38.diff.gz | patch -p1 //Vi Makefile line 11 DFLAGS = -DDEBIAN_VERSION=’”1.10-38″‘ -DGAPING_SECURITY_HOLE -DIP_TOS -DTELNET mv nc.exe /bin/ mv nc.1 /usr/share/man/man1/ nc -h $ nc -h [v1.10-38] connect to […]