Kamis, 07 Juli 2011

Playing TELNET on the Network

Yup, telnet is one of the facilities often use to meromote computers in a network through underdos (CMD),  But sometimes the telnet command fails to connect Bete often can you?,

Sure could aja dong, why does telnetnya configuration is activated or not, if not fair wrote baseball telnat command can be used.
Actually the command telnet command almost similar to Remote Desktop, only more exciting if telnet aka baseball caught when we did the takeover to a computer, if telnet can already do so automatically we used to control the computer in accordance with our wishes, for example:
Turning off computers that we do not want, or just for fun thieves telnet function data already active.
Instead of mild dizzy dizzy we practice yuk ... ... ... ... ... ..
The initial step we try to check the telnet configuration on our computers, how:
 Press the windows key + R (click Run - type CMD then click OK) until the appearance of Dos :




To check whether telnet function can be done or not we should first check what the computer wrote that road again, now typing the command:










In the above I try with several commands


-net view, check the network (host) which wrote a longer active. there are some hosts are connected to my computer that is PC-03, whereas my own SERVER SERVER-2003 using the computer. Then I try to ping the PC -03, was generated IP 192.168.16.8, Furthermore, we can try pulled check which ports can we infiltrated into the computer for example I want to check another computer SERVER
















Note on Section Foreign Address! There we get an open port with port 139, when it's like that you try to do telnet (space) IPtujuan (space) noPort:
telnet 192.168.16.66 139
if true then it will generate the following:






Something like that; was the result, your task now is to find what is the function of port 139, seracing on google huh? ... ... He ... he ..,

Ok Maybe that's how to check open ports on a particular host. Now we return the telnet command to another computer that is connected Meremoth role in our computer. Now we try to telnet PC03, the same way like before

Telnet 192.168.16.8 (enter), if successful it will come out look like this:
C:\Documents and Settings\Administrator>net view
Server Name            Remark
——————————————————————————-
\\PC03                     lpkid
\\SERVER
\\SERVER-2003
The command completed successfully.
C:\Documents and Settings\Administrator>ping 192.168.16.8
Pinging 192.168.16.8 with 32 bytes of data:
Request timed out.
Reply from 192.168.16.8: bytes=32 time<1ms TTL=128
Reply from 192.168.16.8: bytes=32 time<1ms TTL=128
Request timed out.
Ping statistics for 192.168.16.8:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\Administrator>telnet 192.168.16.8
Welcome to Microsoft Telnet Client
Escape Character is ‘CTRL+]’
You are about to send your password information to a remote computer in Internet
zone. This might not be safe. Do you want to send anyway(y/n): n (n inputs, then enter)
Welcome to Microsoft Telnet Service
login: admin (User input that has been given permission to do telnet and password)
password:******
*==========================================================
Welcome to Microsoft Telnet Server.
*==========================================================
C:\Documents and Settings\admin>
To make sure we really exist in PC03 Computer, we are trying to do IP checks:
*==========================================================
Welcome to Microsoft Telnet Server.
*==========================================================
C:\Documents and Settings\admin>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix  . :
IP Address. . . . . . . . . . . . . . : 192.168.16.8
Subnet Mask . . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
C:\Documents and Settings\admin>
Yup indeed we've made it into the computer,

(note to bisamasuk telnet service must be activated first, which then Client / admin anywhere that can do telnet .. Ok!)

Well now you can be doing right now wrote on the computer that you are I want to restart the control eg:


If you do not know wrote commands typed commands like this

C:\Documents and Settings\admin>shutdown/?
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
No args                          Display this message (same as -?)
-i                                    Display GUI interface, must be the first option
-l                                    Log off (cannot be used with -m option)
-s                                   Shutdown the computer
-r                                    Shutdown and restart the computer
-a                                   Abort a system shutdown
-m \\computername       Remote computer to shutdown/restart/abort
-t xx                               Set timeout for shutdown to xx seconds
-c "comment"                 Shutdown comment (maximum of 127 characters)
-f                                    Forces running applications to close without warning
-d [u][p]:xx:yy               The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer le
ss than 256)
yy is the minor reason code (positive integer le
ss than 65536)
C:\Documents and Settings\admin>shutdown -r -t 15
The machine is locked and can not be shut down without the force option.
C:\Documents and Settings\admin>shutdown -r -f -t 15
C:\Documents and Settings\admin>
For command-r-f-t I'm sure already on knowing all, Well it is telnet to the computer that uses Windows OS what if we try to infiltrate kedalm Os Os linux via windows? There may be little difference between linux and windows, SSH in Linux There is a term that serves to do a remote desktop, and also telnet, both have the same function that the takeover of other computers and are certainly entitled to the admin (root).

In the experiment this time I have a client that connects to the linux server with IP: 192.168.16.254 I happen to know the password of each client, while the admin I did not know he ... he .., Now we try to get into Linux through cmd on windows lets Go ... ... !

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>telnet 192.168.16.254
Connecting To 192.168.16.254…Could not open connection to the host, on port 23
: Connect failed
C:\Documents and Settings\Administrator>ftp o  192.168.16.254
Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.
FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuf
fer] [-b:asyncbuffers] [-w:windowsize] [host]
-v              Suppresses display of remote server responses.
-n              Suppresses auto-login upon initial connection.
-i              Turns off interactive prompting during multiple file transfers.
-d              Enables debugging.
-g              Disables filename globbing (see GLOB command).
-s:filename     Specifies a text file containing FTP commands; the commands will automatically run after FTP starts.
-a              Use any local interface when binding data connection.
-A              login as anonymous.
-x:send sockbuf    Overrides the default SO_SNDBUF size of 8192.
-r:recv sockbuf      Overrides the default SO_RCVBUF size of 8192.
-b:async count      Overrides the default async count of 3
-w:buffer size       Overrides the default transfer buffer size of 65535.
host Specifies the host name or IP address of the remote
host to connect to.
Notes:
- mget and mput commands take y/n/q for yes/no/quit.
- Use Control-C to abort commands.
C:\Documents and Settings\Administrator>ftp -v 192.168.16.254
User (192.168.16.254:(none)): roads-01
Password:******
ftp> dir
total 39108
lrwxrwxrwx  1 roads-01 roads-01       39 Dec 11 20:00 .DCOPserver_roads.net_:0 -
> /home/roads-01/.DCOPserver_roads.net__0
-rw-r–r–       1 roads-01 roads-01         58 Dec 11 20:00 .DCOPserver_roads.net__0
-rw——-        1 roads-01 roads-01         41556 Dec 30 17:44 .ICEauthority
drwx——       6 roads-01 roads-01         4096 Dec  4 19:21 .Trash
-rw——-        1 roads-01 roads-01         330 Dec 30 17:44 .Xauthority
drwx——       3 roads-01 roads-01        4096 Feb 11  2008 .adobe
-rw-r–r–       1 roads-01 roads-01         192 May 24  2007 .asoundrc
-rw-r–r–       1 roads-01 roads-01         305 Dec 19 10:30 .asoundrc.asoundconf
drwxr-xr-x    4 roads-01 roads-01         4096 Mar 17  2008 .avg7
-rw——-        1 roads-01 roads-01         7661 Dec 19 09:43 .bash_history
ftp> ls -l
total 38360
dr-xr-xr-x 25 roads-01 roads-01      12288 Feb 24  2008 31-12-20_2020
drwxr-xr-x  4 roads-01 roads-01     4096 Nov 10 21:35 Desktop
-rw-r—–  1 roads-01 roads-01        328405 Dec  4 19:20 Foto Lembar 3.5
-rw-r—–  1 roads-01 roads-01        964590 Jun 28  2007 Kwitansi.jpeg
-rw-r–r–  1 roads-01 roads-01        18231 Sep 19 16:51 LATIHAN 1.ods
-rw-r—–  1 roads-01 roads-01        471882 Nov 27 08:20 Rohmat
-rw-r–r–  1 roads-01 roads-01        14885 Nov 13  2007 ULANGAN 1.odt
-rw-r–r–  1 roads-01 roads-01        16717 Aug 19 16:20 WAONE.ods
First I tried using the telnet turns its service is not activated then i try to sign, using the PORT 22, it can not handle SSH through the windows. Then I try to go through Port Ftp server and it turned out I could go with

Usser               : roads-01
Password        :******
To check the truth then I try to give the command dir, and ls-l

The result as above we can see how .... Well maybe that's one way to get into linux and linux console that I use Ubuntu Distro, if the others I have not tried .. he ... he, if you've so we can Copying the files contained on the computer linux to windows computers with the help of ASCII code, please try it .... Ok dech good luck .... ya Bro,

Oh yes I forgot an important one, What is the telnet configuration, okay dech it is telling you; way is easy enough Click Start - Control Panel - Admistartion Tool - Find a Service-Telnet Then, after the meet-Properties Right-click the StartUp type (select Automatic) and Select the Start tab to enable the telnet service is.

After the switch and then specify which clients are able to do telnet how:

Create a User continues to advance, after completion and then click start-right-click MyComputer - Properties-remote (given a checklist on the second checkbox) - Select User-And Select Add-Avandce-Find Now, select the user you want if you've lived click Ok, not easy .... He ... he ..