Madhnw0rm Short Bytes: Ping is a computer network administration utility used to test the host on an internet protocol network and to measure the round trip time for messages sent from the host to a designation computer.

A Professional Penetration tester,you will need to check for the reachability of a computer/lap in a network.ping is one of the utilities that will allow you to gather important like ip address maximum packet frame size etc,. the network computer to aid in successful penetration test.

Ping Command shows how to gather information using the ping command


  • Use Ping
  • Emulate the tracert command the ping
  • Find maximum frame siz for the network
  • Identify ICMP type and code for echo request and echo reply packets


Requirements For Demonstration:

  • Administrative Privileges to run tools
  • TCP/IP settings coreectly configured and an accessible DNS server
  • Well we can work with Windows 7 & Windows 8


What Is Mean Ping ?

The Ping commands sends INTERNET CONTROL MESSAGE PROTOCOL (ICMP) echo request packets to the target host and waits for an ICMP response.

TUTORIAL FOR FOOTPRINTING A TARGET NETWORK USING THE PING UTILITY

Find the IP address for http://www.madhnw0rm.com
To launch start menu, move u mouse cursor in the lower left corner of the desktop

windows 10 desktop view




Now Open Command Prompt app to open the command prompt window

Type ping www.madhnw0rm.com in the command prompt,and press enter to find out its IP address

See the below Screenshot For the Displayed response 

The ping Command to extract the IP address fow www.madhnw0rm.com


You recieved the IP address of www.madhnw0rm.com that is [74.125.200.121]

You also get information on Ping Statistics,such as packets sent,packets recieved,packets lost and approximate round-trip time

The ping Command for www.madhnw0rm.com

Hence,now find out the maximum frame size on the network in the command prompt,type ping www.madhnw0rm.com -f -l 1500

The ping Command for www.madhnw0rm.com

The display packet needs to be fragmented but DF set means that the frame is too large to be on the network and needs to be fragmented.

Type ping www.madhnw0rm.com -f -l 1300



You can see the maximum packet size is less than 1300 bytes and more than 1500 bytes

Now try diffrent values until you find the maximum frame size,just ping www.madhnw0rm.com -f -l 1473



Now,find out what happens when TTL expires. frame on the network has TTL defined.This mechanism prevents the loss of packets 

In the command prompt ,type ping www.madhnw0rm.com -i 3, It will response diffrent IP address

The ping Command for www.madhnw0rm.com

Reply from 61.95.227.93: TTL expired in transit 

The emulator tracert command,using pin-manually,found the route from your pc to www.madhnw0rm.com

In this command prompt,type ping www.madhnw0rm.com -i 1 -n 1 ,It will display some response 




Repeat the above step until you reach the IP address for www.madhnw0rm.com


The ping Command for www.madhnw0rm.com

Here the successful ping to reach www.madhnw0rm.com is 10. the output will be similiar to the trace route results.

Now make a note of all IP address from which you receive the reply the ping to emulate tracert.

For Video Tutorials :- 

Post a Comment

Thank you for visiting Afridi's Technoworld

 
Top