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
7
votes
1 answer

Output IP only from an nmap scan on open port

I'm wanting to find computers with ssh open on my subnet but it shows all host that are up in the results and not just the ones that have open ports this is my command nmap -PN -p 22 --open -oG - 192.168.*.* | awk '{print $2}' > sshopen.txt Thanks
user2341069
  • 389
  • 5
  • 8
  • 14
7
votes
1 answer

nmap ignoring --script parameter

I have installed nmap 6.25 on an Ubuntu 12.04 server, and am trying to use the redis-info script. I have downloaded the script and put it in my home directory. When I run: nmap -p 6379 -Pn my.ip.num.ber --script redis-info.nse it just does a…
Bill Sempf
  • 976
  • 2
  • 13
  • 40
6
votes
2 answers

Why is ncat not found on Git Bash?

user_1 (master *) 1_EchoServer $ python -m http.server 8000 Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... 127.0.0.1 - - [30/Sep/2017 18:57:11] "GET / HTTP/1.1" 200 - Set up a simple server. I want to connect to it with ncat to learn…
mrj
  • 849
  • 2
  • 8
  • 18
6
votes
2 answers

How to install and run the Nmap program through Cygwin in Windows?

I'm trying to get Cygwin to show what ports my laptop has open but when I try to run it, it says the command isn't found. This is the command I'm trying: nmap -v -A <>
Adam Dewhurst
  • 91
  • 1
  • 1
  • 7
6
votes
3 answers

Nmap IP range specification

I need to specify specific IP range for Nmap scan, for example: 192.168.1.140 - 192.168.3.255 If I do it like: 192.168.1-3.140-255 IP addresses like 192.168.2.7,192.168.3.7 won't be scanned (only 140-255 in 4th actet).
user2463016
  • 63
  • 1
  • 1
  • 4
6
votes
3 answers

Nmap not retrieving MAC address and Vendor

I've found a strange behaviour in Nmap (I am using version 5.51 if that matters but I have the same issue with version 5.00), on some networks this plugin does not retrieve MAC address and, consequently, Vendor. The strange thing is that it…
raz3r
  • 3,071
  • 8
  • 44
  • 66
5
votes
1 answer

Nmap - RTTVAR has grown to over 2.3 seconds, decreasing to 2.0

I have a script that I'm using to build a config for icinga2. The network is large, multiple /13's large. When I run the script I keep getting the RTTVAR has grown to over 2.3 seconds, decreasing to 2.0 error. I've tried raising my gc_thresh and…
cflinspach
  • 290
  • 1
  • 4
  • 16
5
votes
1 answer

Multiple Reoccurring Processes

I am testing a few domains and their ability to alert me when an abnormal event happens. I am using nmap to scan domains for open ports. The script below opens a new cmd window and runs nmap. I search for the process ID and checks to see if the…
Harry Singh
  • 373
  • 2
  • 3
  • 12
5
votes
2 answers

NMAP continuous ping

I need to implement a code which is able to send ping packets each second toward a certain amount of destinations. The problem is that I'd like to ping as much destinations as possible inside 1 second window. For this reason I was thinking if there…
NotoAnonimo
  • 151
  • 2
  • 7
4
votes
2 answers

What does /24 means in nmap scanning?

I have just started learning about the use of nmap and while doing so, I am unable to find much information on a particular command. This is the command I am using: nmap -sP 192.168.100.0/24 to scan for the list of connected devices on the…
k_plan
  • 121
  • 1
  • 7
4
votes
3 answers

Nmap output with IP and OUI vendor

Want to transform this nmap output: Nmap scan report for 192.168.1.38 Host is up (0.0092s latency). MAC Address: B8:78:2E:XX:XX:XX (Apple) Nmap scan report for 192.168.1.39 Host is up (0.0092s latency). MAC Address: 40:6C:8F:XX:XX:XX (Apple) Nmap…
Carlos
  • 135
  • 1
  • 1
  • 8
4
votes
1 answer

Moving to the first non-blank character of the line in vim

I'm having some trouble moving to the first non-blank character of a line in vim. The usual mapping for this action is ^, but in my keyboard that accent is located with the number 6 key, so I have to press Shift + 6 to get it. As expected, Shift +…
GuilPejon
  • 971
  • 13
  • 19
4
votes
2 answers

Is it possible to use nmap functionalities in C++?

I want to invoke nmap functionalities like OS detection in C++. In python, import nmap allows to use nmap functions. Similarly, is there any way I can do it in C++?
arnav
  • 61
  • 1
  • 2
4
votes
2 answers

Nmap / Homebrew in Mac 10.12.2

I just installed successfully Homebrew in my Mac (Homebrew installs packages to their own directory and then symlinks their files into /usr/local.)n, but I can't run nmap MacBook-Pro-de-nunito:spring-boot-html-mail nunito$ brew help Example usage: …
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301
4
votes
2 answers

different results between crontab and running script manually

I have a bash script that does this: nmap -sn 192.168.0.1-255 | grep -Eo 192.168.0.{1,3\}[0-9] > new.txt date >> network_log echo ---------------------------- >> network_log cat new.txt >> network_log Scans the network, and appends results to file…
carrots
  • 785
  • 1
  • 8
  • 19
1
2
3
47 48