https://github.com/oeo/nmap-my-lan
python + nmap = find homelab services easily
https://github.com/oeo/nmap-my-lan
Last synced: 20 days ago
JSON representation
python + nmap = find homelab services easily
- Host: GitHub
- URL: https://github.com/oeo/nmap-my-lan
- Owner: oeo
- Created: 2025-04-27T21:45:55.000Z (24 days ago)
- Default Branch: master
- Last Pushed: 2025-04-27T21:46:58.000Z (24 days ago)
- Last Synced: 2025-04-27T22:27:14.892Z (24 days ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nmap My LAN
This script scans the local network (`192.168.1.0/24` by default) for devices with specific common ports open. For each open port found, it attempts to connect via HTTP and HTTPS to fetch the HTML `` tag, providing insight into potential web services running on the LAN.
## Requirements
* Python 3
* `nmap` command-line tool installed and available in your system's PATH.## Usage
Run the script directly from your terminal:
```bash
./nmap-my-lan.py
```Or using python:
```bash
python3 nmap-my-lan.py
```## Output Format
```
192.168.1.77:3000 http Open WebUI
192.168.1.103:5000 http No Title
192.168.1.149:111 http Connection Error
192.168.1.149:22 http Error: SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u5
192.168.1.1:80 http 301 Moved Permanently
```