Skip to content

Files

Latest commit

42da0e1 Β· Mar 7, 2025

History

History
189 lines (121 loc) Β· 3.15 KB

Network-Enumeration.md

File metadata and controls

189 lines (121 loc) Β· 3.15 KB

Network Enumeration πŸ”

IP Configuration 🌐

The ipconfig command is used to display and manage network configurations on a Windows machine.

  • List all network interfaces:

    ipconfig
  • Display full configuration information:

    ipconfig /all
  • Release the IPv4 address for the specified adapter:

    ipconfig /release
  • Release the IPv6 address for the specified adapter:

    ipconfig /release6
  • Renew the IPv4 address for the specified adapter:

    ipconfig /renew
  • Renew the IPv6 address for the specified adapter:

    ipconfig /renew6
  • Display the contents of the DNS Resolver Cache:

    ipconfig /displaydns
  • Purge the DNS Resolver Cache:

    ipconfig /flushdns
  • Refresh all DHCP leases and register DNS names:

    ipconfig /registerdns

Ping πŸ“‘

The ping command is used to check communication or connectivity between computers.

  • Check communication or connectivity of a computer:

    ping 192.168.1.6
  • Ping indefinitely: ⏳

    ping 192.168.1.6 -t
  • Specify the number of echo requests to send:

    ping -n 1 192.168.1.6
  • Adjust the size of the ping packet:

    ping -n 1 -l 65500 192.168.1.6

Traceroute πŸ›€οΈ

The tracert command traces the path or route to a specified remote host.

  • Trace the route to the specified IP: 🚦

    tracert 192.168.1.6

Pathping 🚦

The pathping command combines the features of ping and tracert, providing information on network latency and packet loss.

  • Trace network latency and packet loss: πŸ“‘

    pathping 8.8.8.8

ARP (Address Resolution Protocol) πŸ“œ

The arp command is used to view and manage the ARP cache.

  • Display the ARP cache: πŸ—‚οΈ

    arp -a

NSLookup 🌍

The nslookup command allows users to look up DNS-related information.

  • Find the hostname associated with an IP address: 🏠

    nslookup 192.168.1.33
  • Find the IP address associated with a domain name: 🌐

    nslookup armour.com

Route Table πŸ—ΊοΈ

The route command is used to manipulate the IP routing table.

  • List the current routing table: πŸ“

    route print

Netstat πŸ“ŠπŸ“‘

The netstat command displays network statistics, connections, and routing tables.

  • Display active connections numerically: πŸ”’

    netstat -n
  • Display all active connections and listening ports numerically:

    netstat -an
  • Display all active connections with process IDs:

    netstat -ano
  • Show TCP connections with process information:

    netstat -anop tcp
  • Show UDP connections with process information:

    netstat -anop udp
  • Display network connections with the associated executable:

    netstat -nob
  • Show all active connections, listening ports, and associated executables:

    netstat -anob