Telnet On Backtrack 5

Telnet On Backtrack 5

telnet on Backtrack 5
 
 
REMEMBER :-
  • For the educational purpose , In this article we are using Windows Xp as a remote PC. 
  • Before experimenting with TELNET , make sure that telnet services is started  on remote PC.
On Remote PC 
  • Press Ctrl+r , your Run window will open .
  • Type services.msc and press OK Button .
  • See the below image for more details -
services.msc


SERVICES

  • Your  Services window will open , now find the Telnet Service .
  • Once you find it , right click then go to properties and click on it . 
  • See the below image for more details - 

services(Local)



TELNET PROPERTIES 
  • Here is your Telnet Properties window will open .
  • Now goto startup type and from dropdown select Automatic .
  • Now click on the start button to start the Telnet Services .
  • And at last click on Ok button .
  • See the below image for more details - 



Now lets start to Experiment will TELNET On backtrack  5


SCANNING REMOTE IP 

  •  Using Zenmap for scanning the open ports .
  • See the below image for result - 
zenmap on backtrack 5


CONNECTING TELNET 

  • To connecting with telnet use the command .
  • Here we are going to connect with  a remote host on the network.
  • Syntax : telnet <ip address >
  • Example : telnet 192.168.222.130
  • After few seconds it display a banner Welcome to Microsoft Telnet Service and then it ask you to enter the login id and password of remote host . 
  • You should know the login and password then only you can use Telnet .
  • And after input correct login and password , its connected with Telnet and windows shell is display on your Backtrack terminal . 
  • Example : See the below image - 

telnet on backtrack 5


Example 1 : 

  • To view victim ip address , use the ifconfig command .
  • See the below image - 

view ip address on backtrack 5


Example 2 :
  • To view windows Ip address, MAC Address , Subnet Mask , Default Gateway etc 
  • Use ipconfig /all command .
  • See the below image for more details -
view ipconfig /all command


Example 3 : 
  • To see the remote PC system information using systeminfo command on Backrack 5 
  • See the below image for more details - 
system info command on backtrack terminal


Example 4:
  • Creating a directory using md command on the remote PC .
  • See the below image for more details - 



Example 5 : 
  • Using tree command .
  • See the below image for more details -

tree command
 
More Examples 
 
  • In this example , we connected to a unix OS (metasploitable) .
  • through telnet , we connecting to ip 192.168.232.129
  • See the below image for details - 

TELNET METASPLOITABLE
 
  • In below image we use two commands - 
  1. whoami
  2. ifconfig 
  • See the below image for more details - 

COMMANDS ON TELNET SESSION

Comments

Popular Posts