Questions tagged [nmap]

Questions relating to Nmap, a free and open-source utility for network exploration or security auditing.

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:

719 questions
-1
votes
2 answers

Is there any reliable tool to test the open ports of a given global ip address of a given server from the outside where i can test all ports at once?

I need to scan the open ports of my server. I tried nmap by: nmap ***.dyndns.info from within my local network. It gave me: Starting Nmap 5.21 ( http://nmap.org ) at 2011-04-09 16:05 JST Nmap scan report for ***.dyndns.info (***.***.***.39) Host is…
uploada
  • 39
  • 1
  • 2
  • 4
-1
votes
1 answer

What are the ports that -F option in nmap probe?

I searched the nmap book but I couldn't find the list of ports probed with the -F option. Can anyone help me with this information?
Samuel K
  • 13
  • 1
  • 2
  • 7
-1
votes
1 answer

Nmap with and without -p flag, how are the ports chosen?

I am using nmap with the flag: -sS , did some experiments with and without the -p flag , If i enter lets say -p 1- 65000 it scans all ports from 1 - 65000 but if I don`t provide the -p flag it scans 1000 ports, not the first 1000. My question is:…
-1
votes
2 answers

Nmap: Scanning Android Smart Phone But All Ports Always Filtered/Closed?

I am using Nmap and scanning my smart phone on my local network. I'm practicing trying to gain access into my smart phone (LG G5 - Android). However, whenever I scan my cell phone either all ports are closed or filtered, but the "host is up." I've…
Tarrant
  • 349
  • 1
  • 3
  • 9
-1
votes
1 answer

Converting nested JSON array to simple JSON in Python

I have a JSON file with nested JSON objects. I want to index this JSON file into my Elasticsearch via Logstash, but Elasticsearch doesn't support nested JSON (yet). Is there a way in python to convert these nested objects to simple JSON, that is…
Henk Jan
  • 3
  • 2
-1
votes
1 answer

man nmap goes gibberish after nmap upgraded by brew

After executing brew upgrade to upgrade my package on macOS, the nmap is upgraded to the latest version(7.70), there appeared a failed link to ncat, with some possible conflict files related to man listed, then I followed the advice provided by…
Jerry
  • 9
  • 4
-1
votes
2 answers

How to print all the port's status with nmap?

I use nmap in order to test an external embedded device. Nmap gives different output/results when the port range increase. For example: nmap -sT -p 1-10 10.39.123.456 //print all the port's status nmap -sT -p 1-1000 10.39.123456 //nmap show only…
Mattia S.
  • 1
  • 4
-1
votes
1 answer

Locating computer on subnet/network

Here is situation: I have special device that I can communicate via ethernet. It's connected to my computer via ethernet cable and the problem is that these devices are changed from time to time and they have different IP addresses. They always…
davidlt
  • 1,007
  • 2
  • 11
  • 17
-1
votes
1 answer

nmap returning external IP's

I used nmap to look up my Raspis on my local lan and I made a mistake defining the IP-Range. Instead of nmap -sn 192.168.2.0/24 I typed nmap -sn 192.168.2./24 Nmap returned external IP-addresses: Starting Nmap 7.01 ( https://nmap.org ) at…
straik
  • 1
  • 1
-1
votes
1 answer

Python 3.6 with windows and nmap

Is it possible that Nmap doesn't work on windows with python 3.6? Nmap folders are installed but I still get an error message. I tried in console python -m pip install nmap and also python -m pip install python-nmap. I tried this script from an…
Bart1986
  • 31
  • 2
  • 7
-1
votes
1 answer

nmap host discovery and data-length option

I am doing host discovery only (-sn) option, trying to determine active hosts that are up and running. My first command was: nmap -sn -PS21,22,25,53,80,443,3389,8000,8080,42000 -PA80,443,8080,42000 -PU53 xxx.xxx.xxx.xxx/27 I am scanning public…
-1
votes
1 answer

Empty ip address in nmap what it meas?

I'm wondering to check my gateway with nmap. And for nmap --traceroute -sS IPADDR -P0 -p80 I've got no address. What does it mean and how can I got info about the host ? Thanks in advance! UPDATE: Exact output of nmap follows. TRACEROUTE (using…
Juriy
  • 565
  • 1
  • 5
  • 17
-1
votes
1 answer

Parsing this nested json?

I am trying to parse nmap scan results converted from xml to json. Part of the json I am having troubles to extract is below: "ports": { "port": { "@portid": "22", "state": { "@state": "open", }, "service": { …
pauts
  • 119
  • 1
  • 8
-1
votes
1 answer

Nmap wont scan with -oN or -oG

I'm trying to use nmap for port scanning some instances and I would like to have it give me some better looking output. I would like to use the -oG or -oN options, however neither seem to work and using gives me the following…
Alex Cohen
  • 5,596
  • 16
  • 54
  • 104
-1
votes
1 answer

How does Gmail (google) hides its open from NMAP?

For a networking project, I am trying to "hide the open ports of the email server running on linux". In regard to this, whenever I run a NMAP port scan on "Gmail" (mail.google.com) only ports visible are (80 and 443) both HTTP and HTTPS Gmail NMAP…
Fuzed Mass
  • 414
  • 1
  • 3
  • 10