Quick note: this guide shows how to install nmap in termux and scan wifi devices with Termux — no root required.
⚙️ What Is Nmap and Why Use It in Termux?
Nmap (Network Mapper) is a free, open-source tool used for network discovery and security auditing. It can:
- Detect devices on your network 📡
- Identify open ports 🔓
- Recognize running services and versions ⚙️
- Help you understand potential vulnerabilities 🔍
With Nmap + Termux, you turn your Android into a mini cybersecurity scanner 🧠📱💥
🚀 Step 1: How to Install Nmap in Termux (One Command)
Let’s get you set up real quick:
pkg update && pkg upgrade -y
pkg install nmap
✅ Done. You’re now equipped with Nmap 🧢
📡 Step 2: Find Your Local IP Address on Android
To scan your network, you first need your local IP address. Just type:
ifconfig
Look for something like this:
wlan0: flags=...
inet 192.168.1.208 netmask 255.255.255.0 broadcast 192.168.1.255
👆 That inet IP (192.168.x.x) is your phone’s local IP address. You’ll need the subnet too, which is usually /24.
🔍 Step 3: Scan + All Devices on Your Wi-Fi Network
Use this command to scan all devices on your network and check which ports are open:
nmap -sV 192.168.1.0/24
💥 This command will:
- Show all up (online) hosts ✅
- Reveal open ports on each ✅
- Detect service versions ✅
🔍 Example output:
Nmap scan report for 192.168.1.208
Host is up (0.0068s latency).
PORT STATE SERVICE VERSION
8022/tcp open ssh OpenSSH 9.9
🔥 4 devices up? Only one with an open port? Now that’s clarity!
⚠️ Important: Only Scan Networks You Own
Make sure to check the list of “Host is up” 💡 — these are the ONLY devices you can scan deeper!
Ignore ones that say All 1000 scanned ports are closed. Focus on the juicy ones with something open! 🍔
🎯 Step 4: Scan a Specific Device (Deep Scan)
Once you find the IP of a device that’s “up” (maybe your laptop or a smart bulb 💡), you can scan it like this:
nmap -sV 192.168.1.208
This command:
- Targets only one IP 🎯
- Shows detailed info about its open ports 🧠
🧠 Bonus Tip:
You can also do:
nmap -O 192.168.1.208
This tries to detect the OS (Operating System) of the target! 🕵️♂️ Linux? Windows? You’ll find out!
Want more Termux tools? Check these: Basic Termux Commands • Network tools in Termux
❓ FAQs — Nmap + Termux Wi-Fi Scanning
Q: Can I scan Wi-Fi devices using Termux without root?
A: Yes — using Termux + Nmap you can scan your local subnet without root access. Use only on networks you own or have permission to test.
Q: Is Nmap safe to use?
A: Yes, for your own networks. Scanning other people’s networks without permission is illegal and unethical.
Q: How much space or power do I need?
A: Nmap itself is lightweight. Ensure Termux is updated and you have a stable network connection; scans over large subnets may take time and battery.
🔗 Also Read
- 👉 How to Use ChatGPT in Termux (AI on Android!)
- ⚙️ Install & Run Ubuntu in Termux (Full Linux Setup)
- 📡 Find Your Public IP Address using Termux
These guides will help you take your Termux skills to the next level 🔥
🎁 Final Thoughts:
Nmap is like a flashlight in the dark web of your Wi-Fi, You can see all the hidden stuff: devices, open doors (ports), and services. It gives you control over your own network 🔒, Always use it ethically. Only scan networks you own or have permission to test! if you like this post you should install Gemini Cli in termux. So go scan your house, find what’s open, and flex your hacker powers (legally ofc).

0 Comments