-
14
pages
-
English
-
Documents
Description
Netcat for the Masses | Dean De Beer | 05.10.2007 Introduction Having had numerous people recently ask me about the various uses for Netcat I decided to put together a document showing a few handy uses for good ol' Netcat. Netcat has been described as telnet on steroids or a Swiss army knife, both excellent descriptions for this versatile little tool. Originally written by Hobbit for Linux, Weld Pond later ported it to Windows. In essence it is a tool that reads and writes data across a network connection, using the TCP or UDP Protocol. For the orginal, detailed technical description of Netcat visit: http://www.vulnwatch.org/netcat/ Installation Installing Netcat on Windows is as simple as extracting the zipped file to a directory. On Linux it’s a little more work. Most versions of Netcat that come with your Linux Distribution will not allow you to execute a program when a connection is made. This is because they are not compiled with the GAPING_SECURITY_HOLE argument. This enables the “–e” option that allows the execution of a program. In this mode it functions like “inetd” for a single connection. Use this mode with care! To compile Netcat with this option use your favorite text editor to change the CFLAGS line in the Makefile to the following: CFLAGS = -O –DGAPING_SECURITY_HOLE To compile Netcat and create the nc binary do the following: make linux mv nc netcat If you are having problems compiling Netcat on Linux add ...
-
Publié par
-
Langue
English