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
2
votes
0 answers

nmap program was not found in path

i am trying to use the 'nmap' module in python.i am using windows, pycharm, python 3.6.i installed the python-nmap module(installing 'nmap' module was showing the error: nmap has no attribute called 'PortScanner') directly from inside the pycharm.…
Tan-007
  • 378
  • 3
  • 16
2
votes
2 answers

Unidentified Protocol murray on port 1123

I conducted a basic nmap scan of a box I have set up below is the output. $ nmap xxx.xx.org Starting Nmap 7.40SVN ( https://nmap.org ) at 2017-05-17 13:25 GMT Nmap scan report for xxx.xx.xx (xx.xx.5.180) Host is up (0.00069s latency). rDNS record…
Ismail Yushaw
  • 131
  • 1
  • 4
2
votes
1 answer

How do I perform a massive amount of concurrent pings?

I'm needing to ping about 2500 servers at one time, in intervals of about 15-30 minutes. This is to show semi-real time server status information. This could potentially scale to tens of thousands of sites eventually, so I need to keep that in mind…
Chuck Callebs
  • 16,293
  • 8
  • 56
  • 71
2
votes
4 answers

How to find out how many clients are on a certain address range?

I tried googling for this but i didnt find anything... I am building a port scanner and i would like to make it so, that i can scan a network range e.g 192.168.2.* and find out how many computers are on that range that are online. Alot like Nmap. I…
Andesay
  • 229
  • 2
  • 4
  • 9
2
votes
1 answer

difference wnen running nmap as sudo

I'm experimenting with nmap and i am trying to find my android phone on my local network from my laptop. I know the phones local IP is 192.168.2.2, and when i run nmap -sn 192.168.2.2 it finds it Nmap done: 1 IP address (1 host up)... but when i…
someoneb100
  • 141
  • 1
  • 13
2
votes
1 answer

Python, Output of Nmap NSE scripts (libnmap module)

I'm trying to get the output of a Nmap NSE script to output properly to my terminal. I'm using the libnmap module, and have read a few examples as well as the documentation, so I'm not sure where I'm going wrong. from libnmap.parser import…
M. Wolf
  • 67
  • 7
2
votes
2 answers

printing hostnames of PCs on the network using nmap (Python)

I am using python2.7 and trying to scan my network and print the host names of PCs on my n/w , i looked up on official docs of nmap , i tried but its not working i don't know why . Kindly guide me through the process or tell me where i am going…
vivkv
  • 931
  • 2
  • 14
  • 29
2
votes
1 answer

Reading information from nmap poodle vulnerability result. Bash script

I need to make a bash script that will give me a list of true or false depending on the address it scanned. Right now I have this simple script #!/bin/bash input="/root/file1" input2="/root/file2" paste -d, file{1,2}.txt | while IFS=, read x y; do…
Luis Potes
  • 35
  • 3
2
votes
1 answer

nmap does not display, is that normal

I am trying to understand how Nmap NSE script work. I use a few scripts scan a host but all of them just does not show anything, does not even say no result find. is that normal what Nmap do? example as below, I run 3 different script but they all…
Linsong Guo
  • 37
  • 1
  • 1
  • 6
2
votes
1 answer

Search for a specific word when reading a --traceroute command in java code using bufferreader

I am trying to search the word "hop" from the traceroute output, but somehow its not displaying that line on console. Please let me know where I am going wrong. Here is my code: import java.io.*; public class TestExec { public static void…
sam
  • 61
  • 1
  • 1
  • 4
2
votes
1 answer

nmap shows random open ports on localhost for a fraction of a second

When I scan myself I will often see random open ports: nmap -sT -T normal -p 1-65535 localhost E.g. 43194/tcp open unknown 58167/tcp open unknown Sometimes nothing, sometimes a couple like that. I see however that this has been a false positive…
2
votes
1 answer

What is a 'disallowed entry' when nmap scans through the Robots.txt file?

I have been using nmap to scan an IP address, and one part of the output is: | http-robots.txt: 1 disallowed entry What does this mean? | http-robots.txt: 1 disallowed entry
KimberleyK
  • 125
  • 1
  • 3
2
votes
2 answers

Installing python-nmap package on Mac OS

I am trying to install nmap package on my mac. After I had completed the installation process described on the developer's site I tried to run the following code: import nmap def nmapScan(tgtHost, tgtPort): nmScan = nmap.PortScanner() So I got…
Petr Stepanov
  • 71
  • 2
  • 9
2
votes
1 answer

How to enable "no ping" when using nmap from python

How to enable the equivalent of -PN (or -P0) command line option for nmap when using the python-nmap? >>> import nmap >>> nm = nmap.PortScanner() >>> nm.scan('127.0.0.1', '22-443') >>> nm.command_line() 'nmap -oX - -p 22-443 -sV 127.0.0.1' The…
Zabuzzman
  • 194
  • 1
  • 9
2
votes
2 answers

Get IP From Mac Address With Nmap Command on Linux?

Given the following Nmap output, how can I extract the IP address which matches a particular MAC address? Nmap scan report for 10.0.0.2 Host is up (0.0011s latency). MAC Address: 00:02:CF:E2:52:4E (ZyGate Communications) Nmap scan report for…
Ugur Bilgen
  • 33
  • 1
  • 1
  • 4