Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ Hostname and IP Address Finder

This project aims to find the hostname and IP address of a device. It can be useful in cybersecurity, networking, or just to identify your machine in a network.

🌍 Available languages | ESPAΓ‘OL πŸ” ENGLISH

✨ Features

  • Get the hostname of the current device.
  • Get the main IP address of the current device.
  • Easy and simple to run and understand.

πŸ“š Requirements

  • Python 3.x
  • No extra packages required. However, it may be necessary to install the socket module using the command:
pip install sockets

πŸ”Ž About socket

socket is a standard Python library. It allows communication between devices over networks.

🎯 Usage

Clone the repository and run the script from the terminal:

python hostname_ip_finder.py

🐍 Go to the code

✍️ Example

image

πŸ“Œ Recommendations

  • This script only gives the primary IP.
  • For all network interfaces consider using psutil or netifaces.
  • Advanced options: Integrate with port scanning or export results to CSV/JSON for auditing.

About

This project aims to find the hostname and IP address of a device πŸ–§

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages