Questions tagged [nmap]

nmap is a free, open source, scriptable network security scanner. It features port scanning and service/version detection.

Nmap is a free and open-source port scanner, operating system fingerprinter, and service fingerprinter, fully extensible via the Lua-based Nmap Scripting Engine (NSE).

Here are some resources for answering Nmap questions:

Source: Stack Overflow's and Unix.SE's nmap tag wikis (text by bonsaiviking)

101 questions
30
votes
2 answers

How to scan an entire network using Nmap?

Is there a way to scan an entire network using nmap? What I want to do is scan my network for all the devices that are currently connected to it.
Fofaster
  • 403
20
votes
1 answer

Difference between ESTABLISHED and LISTENING

I have use Nmap -a to view all open ports on my laptop. However, I noticed that the states are different. Some have ESTABLISHED, some LISTENING and some were stateless. What do they mean?
11
votes
2 answers

nmap in ubuntu 13.10

idk wheather to post such a silly question in this forum.just out of interest i want to know few things. can i use nmap in ubuntu 13.10 is backtrack another distro like ubuntu i have heard that backtrack is based on ubuntu` if backtrack comes with…
black
  • 556
  • 4
  • 15
  • 28
10
votes
2 answers

Why is nmap not working in 18.04?

After fresh installs of Ubuntu 18.04 and nmap (snap install) on two separate machines, both return the same nmap error: dnet: Failed to open device [device-name] QUITTING! when I run the command: sudo nmap -sn 192.168.1.0/24 Is there a new…
Les
  • 121
9
votes
5 answers

Vulnerability Scanner, nmap vs Nessus

I need a good vulnerability auditing tool for Ubuntu so I decided to try nmap I also recalled that there was a product that can do this kind of work called Nessus it is no longer available in the repository and the packages for Ubuntu at its site…
Sabacon
  • 41,474
8
votes
2 answers

How do I install the latest version of nmap from source on Ubuntu?

I am running Ubuntu 16.04, and I am trying to install the latest nmap. I have a C compiler installed. I ran openssl version and found that this version was installed: OpenSSL 1.0.2g 1 Mar 2016 I downloaded nmap 7.31 as a .bz2 file. I…
Kiran
  • 81
6
votes
1 answer

Is there a GUI version of nmap available?

Is there a GUI version for nmap that can be installed without manually downloading the program? I don't have a problem with doing so, but it would be nice if there is one available in the repositories, or by adding a repo.
TellMeWhy
  • 17,964
  • 41
  • 100
  • 142
4
votes
2 answers

Pipe Viewer with Nmap (progress bar)

I would like to know if there is a way to use "pipe viewer" with "Nmap" together. Example: pv | Nmap -sP 192.168.1.0/24 But I couldn't get the progress bar working properly. I mean it should be telling me the percentage of Nmap. Starts from 0%,…
ggalaxy
  • 102
4
votes
1 answer

Nmap service detection Segmentation fault (core dumped)

The Problem When I use nmap with the service detection flag(-sV) I get a Segmentation fault at the end of the scan. It doesn't matter which IP Address or domain, as long as it can scan it. I am using Ubuntu 22.04 with nmap Version…
Mandi
  • 2,116
3
votes
2 answers

Running Nmap on Ubuntu

I am running a python script that executes nmap on a given set of parameters. The point is to automate this so i do not have to interact with the cli at all. Every time I run my script, I am prompted with the error message: 'You requested a scan…
John Wick
  • 131
3
votes
2 answers

Launcher for Zenmap (or nmapfe) as SUDO

I've installed nmap, and also nmapFE. By default these are NOT set up to run as root; however, the tasks I need to run require it. I am able to run sudo nmapfe from terminal; however, if I create a launcher for this, it doesn't run. What am I doing…
Kendor
  • 4,928
3
votes
3 answers

How to change a port from filtered to open?

I set up port forwarding on port 4444. I'm using gufw as firewall; but, when I'm using nmap, the port shows as "filtered" not "open". PORT STATE SERVICE 4444/tcp filtered krb524 If I remove the firewall, the port gets closed even the…
3
votes
3 answers

how to find other machines which are connected same network

I tried to find all machines which are connected my modem. I tried 192.168.x.0/24 command on gnome-terminal but it couldn't find any. My brother's laptop and my mobile phone are already connected the modem but this command couldn't find them. Here…
3
votes
3 answers

NMAP tool results

I performed an nmap scan first via nmap 127.0.0.1(loopback address). It returned 999 ports closed, port 631 is open(correct since netstat -tlpn also shows port 631 is listening). Then I did a port scan via nmap my ip address. It then returned the…
3
votes
1 answer

How can I get the MAC addresses of machines using python-nmap?

How can I get the MAC addresses of machines using python-nmap? I'm using python-nmap to scan my local network, I can get the ip of several systems but not their MAC addresses. How can I get the MAC addresses in the scan results? nm =…
kaio
  • 677
1
2 3 4 5 6 7