How to Use Netcat

Oh, here's one last goodie for advanced users. Get netcat for Windows. It's a program written by Weld Pond and Hobbit, and available from many sites, for example It is basically telnet on steroids. For example, using netcat, you can set up a port -- also known as a back door, depending on your motivation -- that will allow people to telnet into a DOS shell. Use this command:

C:\>nc -L -p 5000 -t -e cmd.exe

You can specify a different port number than 5000. Just make sure it doesn't conflict with another port by checking with the netstat
command. Then you and your friends, enemies and random losers can either telnet in or netcat in with the command:

C:\>nc -v [ipaddress of target] [port]

Of course you will probably get hacked for setting up this port. However, if you set up a sniffer to keep track of the action, you can turn this scary back door into a fascinating honeypot. For example, you could run it on port 23 and watch all the hackers who attack with telnet hoping to log in. With some programming you could even fake a unix-like login sequence and play some tricks on your attackers.

Where are those back issues of GTMHHs and Happy Hacker Digests? Check out the official Happy Hacker Web page ""
We are against computer crime. We support good, old-fashioned hacking of the kind that led to the creation of the Internet and a new era of freedom of information. But we hate computer crime. So don't email us about any crimes you may have committed!

Copyright 2002 Carolyn Meinel. You may forward, print out or post this GUIDE TO (mostly) HARMLESS HACKING on your Web site as long as you leave this notice at the end.

Last Page             Hacking With XP             Secret Stuff Page

Free Credit Reports
Free DMV Links
Free Real Estate Forms
Free Secret Info Page
Free Crime Protection
Free Legal Forms
Free Classified Links
Free Auction Site Links
Free Business Forms
Free Government Programs
Free Web Business Ideas
Free Real Estate Reports
Free HTML Tutorial
Free Software Sources
Free Business Reports
Free Real Estate Glossary
Free Web Art
Car Tips