Sunday, January 6, 2013

Hacking with Telnet

Step 1 : Download the tools 

The only thing you will need is a port scanner. nmap is a free and powerful port scanner. You can download it for WindowsMac OSX, or Linux. If possible make sure you install the GUI with it. It comes with the Windows installer. Download it at http://nmap.org/download.html . 

Step 2:  Using zenmap ( nmaps GUI )


t's pretty simple. Open the program and in the "Target" box, type the ip address of the computer you want to hack. 


If you don't know the ip address, go to the computer you want to access (I will assume you have the legal rights to whatever you are trying to access), open a command line and type ipconfig. You can try to hack devices too sometimes. Routers and switches sometimes have telnet. Try scanning these too.

Say you want to scan a range of IP addresses, then you would type the beginning IP address followed by (no spaces) a dash ( - ) and the end of the last IP address. For example, if you wanted to scan 192.168.1.100 to 192.168.1.299 then you would type 192.168.1.100-299 .

In the "Profile" menu of Zenmap, select "Intense scan" if it is not already selected. Click scan and watch as the program scans the computer or device for open ports. Watch the nmap output until you see some words in green. These are the open ports on the computer or device. If port 23 is open, your device is hackable.

Many servers and routers have port 23 open.

If you can't find a device with Telnet enabled, use nethack.alt.org .

Step 3: Start the telnet ! 


Now you can go and download some telnet programs. But whats the point of that? Most operating systems come with telnet built in. For Windows, click Start -> Run (or Windows Key + R) and typetelnet in the box. This will open a telnet screen.


If you can't open telnet for some reason follow these steps :


* Go to Start 

* Control Panel 
* Programs And Features 
* turn Windows features on or off 
* Check telnet client 
Hit Ok 

Step 4: Start the connection 















n the telnet box type "o TheAddressOfTheComputerYouWantToConnectTo PortNumber" 

You will want to use the IP address that you found port 23 open on, or the game, nethack.alt.org. 
For example, using nethack.alt.org as our telnet server you would type "o nethack.alt.org 23". 

If you don't type a port number, it will assume you mean 23. 

Now hit enter to connect.

Play with the device you connected with ! 


Now here is where it will get slightly more difficult for me to explain. The reason this is, is that every device has its own interface from here. Some will need code, and others will take you though its program, step by step. Nethack is a game that you play.


One of the most easy thing to hack via telnet, is a Cisco router. All Cisco routers have a telnet server built in. To learn the Cisco "language" go to this website.

When connected to a Cisco router you will get something similar to the picture below. Type "enable" and you can use the privileged mode. After entering privileged mode, type "config t" to configure the router.




No comments:

Post a Comment