Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Prac 3 Ethical Hacking

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

Name Namdeo Arun Kedar

Roll no 4816
PRACTICAL 03

ipconfig:
Netstat:

The netstat command is a command-line utility available in various


operating systems, including Windows, Linux, and macOS. It displays
network-related information and statistics, allowing you to examine active
network connections, listening ports, and various network statistics.

netstat -a
The netstat -a command is used to display all active network connections,
including both listening and established connections. The -a option stands
for "all" and instructs the netstat command to show all connections,
regardless of their state.

netstat -e

netstat -i
netstat -n

Ping:
The purpose is to check the network connectivity and measure the round-
trip time (RTT) it takes for the packets to reach the server and return to
your computer. This command helps to verify if you can reach a specific IP
address on the network.

Ping -a

When you run the ping -a command followed by an IP address, it sends an


ICMP echo request to that IP address, just like a regular ping command.
However, with the -a option, it additionally attempts to resolve the IP
address to a hostname.

ping <gateway IP address>


The command ping <gateway IP address> is used to ping your default
gateway. The default gateway is the IP address of the router or network
device that connects your computer to other networks, such as the internet.
Pinging the default gateway helps to check if your computer can
communicate with the local network and reach other devices on the same
network.

Tracert www.google.com

The tracert (short for "trace route") command is a network diagnostic tool
available in various operating systems, including Windows. When you run
the tracert command followed by a website address or IP address, such as
tracert www.google.com, it traces the route that packets take from your
computer to the destination server.

Tracert -j www.youtube.com

The correct option to specify intermediate hops in the tracert command is -


h (for "hops"). With the -h option, you can specify the maximum number of
hops (or routers) that tracert will trace before stopping

Tracert -R www.youtube.com

Tracert -w 5 www.gmail.com
Arp
arp -a

The arp -a command is used to view the ARP (Address Resolution


Protocol) cache on a device. ARP is a protocol used in computer networks
to map an IP address to a corresponding MAC (Media Access Control)
address.

arp -s
The arp -s command is used to manually add a static ARP entry in the ARP
cache of a device. ARP (Address Resolution Protocol) is responsible for
mapping IP addresses to MAC (Media Access Control) addresses on a
local network.
arp -g

In general, the arp command is used for various ARP-related operations,


such as displaying or modifying the ARP cache, adding static ARP entries,
or deleting entries. However, the specific options and functionality of the
arp command can vary depending on the operating system and version you
are using.
arp -v

The arp -v command is used to display additional details or verbose output


when viewing the ARP (Address Resolution Protocol) cache on a device.
The -v option stands for "verbose" and provides more information than the
standard output of the arp command.

Tasklist
The tasklist command is a command-line utility available in Windows
operating systems that provides a list of running processes and their
details. When you run the tasklist command, it retrieves information about
the currently active processes on your system and displays it in the
command prompt.

systeminfo
The systeminfo command is a built-in command-line utility in Windows that
provides detailed information about the system's hardware, software, and
configuration. When you run the systeminfo command, it retrieves and
displays a comprehensive summary of the system's properties and
settings.

You might also like