Question:
windows hacking please help......understanding ping command?
rahul
2011-01-24 01:49:24 UTC
i ran a ping command in www.kulhaari.net with MS DOS

and i got the following result

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Rahul>ping kulhari.net

Pinging kulhari.net [69.93.227.34] with 32 bytes of data:

Reply from 69.93.227.34: bytes=32 time=658ms TTL=49
Reply from 69.93.227.34: bytes=32 time=2442ms TTL=50
Reply from 69.93.227.34: bytes=32 time=656ms TTL=49
Reply from 69.93.227.34: bytes=32 time=533ms TTL=50

Ping statistics for 69.93.227.34:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 533ms, Maximum = 2442ms, Average = 1072ms

C:\Documents and Settings\Rahul>


i dont understand the line
"with 32 bytes of data" which data is it talking about?
and whats TTL?
transistor transistor logic?
hehehe!!!

and whta about the 4 packets yaar i did not send anything ........but does the ping command did send?
can anyone tell me above these ??
Three answers:
Project eXa
2011-01-24 12:19:23 UTC
A ping command sends a Packet.



A packet is a small bundle of information of various sizes...For instance, if you were to download a 1 megabyte file, instead of sending 1024kb all at once, it will break down the information into smaller *Packets* and then send them, the recieving computer re-assembles the packets in the correct order, and the file is complete.



When you ping someone, you're sending a small packet to the address, and its basically just to see if you can create a response from the receiving computer...You're sending a small amount of data (32b) just to figure out if there is a connection.



TTL is time to live, how long before that packet dissapears into nothing



Pinging someone with more bytes of data results in more resources used by the recieving computer to accept the data, which is common in the old "Ping of Death" where you would send a packet so large that the recieving computer would exaust all resources trying to recieve it
Shadow Wolf
2011-01-24 10:19:59 UTC
First thing to understand, this isn't hacking. It is a tool or utility program. Virtually the same tool is also available in Linux and other operating systems.



Next, most Microsoft command line utilities will give you a help screen by simply puting a /? after it. If you had done so, you would have found out that TTL = time to live. You can also modify the behavior of the ping program using various switches.



Ping is just a program that sends a minimal packet out to a server and keeps track of the time it takes for it to make the trip. In your case, it apparently encountered a bit of lag. This may or may not be a problem or bottleneck between you and the other server. There is really nothing much you can do about it so really it is just a bit of information that might help explain some problems you are having. One of the problems with pings is they are not treated the same as regular packets so the information from them may not be very accurate compared to another connection to the same server. At a minimum, you'll know that you are getting to a specific computer and any connection problems may be with a configuration or something else.



You can also run tracert to see the times between the various servers that you are going though.



Ping is abused often enough that some servers don't even run a daemon for it so all ping requests get ignored. Don't be surprised if you find a server with no ping replies. In other words, all your pings will time out and you'll get no response. In some cases ping gets abused so much that it effectively causes a DDoS attack and makes problems worse by overloading the server with ping requests.



Shadow Wolf
Shubham
2011-01-24 12:48:51 UTC
First of all, TTL is Time to live. Its the time for which IP software at your P.C waits for a response from the remote host. If there is no response within that time limit, It marks the destination host as unreachable.

Next, "with 32 bytes of data"--- It(IP software) actually creates ICMP packets on its own to test the connection to the remote host. You can however set the size of the ICMP packet yourself by using

ping -t

Max size is : 65535

finally, 4 packets...huh..?? Its the default setting. You can specify and tell any no. of packets to send.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...