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

Jenkins cli connection timed out

I am trying to access Jenkins from another server than the one it's installed one. When I try to run java -jar jenkins-cli.jar -s http://remote:port/jenkins help I have, after a few dozens of seconds, a java.io.IOException: Failed to connect to…
-1
votes
1 answer

nmap if port open then run something

Is there any way to run command after then nmap is scanned port and got positive result if port is open, for every ip address, like - nmap found ip with particular open port (when scanning eg. 192.168.1.0/24 port 554) and run something immediately,…
Jusis
  • 5
  • 1
  • 4
-1
votes
1 answer

Need to get specific data block from a scan report

I completed a nmap scan on a large-ish network and now I am trying to organize the data. The report I have is the result of : nmap -A -p 0-65535 -iL [filename] -oX [filename] So what I am trying to do now is to extract the findings for each IP…
nomi
  • 1
  • 1
-1
votes
1 answer

Nmap shows that port 5222 is closed but pidgin which uses xmpp(5222) is running. How is this possible?

I am learning to use Nmap. I set up pidgin which uses port 5222(xmpp) for chatting. But when I scan my ports, port 5222 is shown as closed. But chat is working. How is this possible?
Raghuram Vadapalli
  • 1,190
  • 2
  • 13
  • 27
-1
votes
1 answer

Scanning using nmap

folks.Is there away to use nmap to scan for open resolvers in ones network.I have this command from the nmap page but it seems itsnot working nmap -sU -p 53 --script=dns-recursion
user2689877
  • 63
  • 11
-1
votes
1 answer

Which nmap command for ip addresses

Is there a way to tell nmap to generate IP addresses with -sL command, but only output addresses ending in ".255"? I have done some Googling but I have gotten nothing; or is there another program that can do that?
user2689877
  • 63
  • 11
-1
votes
1 answer

nmap: Which version did OS scan and MAC address start needing root permissions?

I would like to run the OS identification abilities of nmap and be able to get the MAC address of a device with out sudo privilege. In which versions did this change?
Nick
  • 1,743
  • 6
  • 23
  • 38
-1
votes
2 answers

Nmap port scanning array

I am doing a nmap bash script, and I am just wondering if there is any possibility to use array list for my port commands. For example: port=[23,45,75,65] for i in 21 do nmap -p x,y 192.168.1.$i done e.g. At the x,y place I want to use the…
rsl
  • 11
  • 1
  • 4
-1
votes
2 answers

ndiff - PYTHONPATH environment variable

I have a problem with Ndiff, I can't execute it. (Nmap works perfect) So I try to use ndiff and get this error message: Could not import the ndiff module: 'No module named ndiff'. I checked in these…
Loretta
  • 154
  • 15
-1
votes
2 answers

Inputting range of ports with nmap & optparser

This is the script import nmap import optparse def nmapScan(tgtHost,tgtPort): nmScan = nmap.PortScanner() nmScan.scan(tgtHost,tgtPort) state=nmScan[tgtHost]['tcp'][int(tgtPort)]['state'] print "[*] " + tgtHost + " tcp/"+tgtPort +"…
Shane
  • 115
  • 1
  • 3
  • 17
-1
votes
1 answer

How can I run batch script from linux on windows servers using nmap?

I'm trying to run batch scripts from linux on a windows machine I heard the nmap has a solution but I can't get an example Is it possible? How? Noam
user1109846
  • 37
  • 10
-1
votes
1 answer

Internet Provider with "Private WAN" to the clients?

This is strange. How this actually works. So far I know it is "impossible" to have a network like this. I'm going to explain in details how my network works. I have a LAN. 192.168.1.0/24 and router is on 192.168.1.1, This router has a public…
int3
  • 658
  • 1
  • 5
  • 21
-1
votes
1 answer

How to guess the most likely OS and interpret it when using nmap

I am using nmap -O and have the result…
user2804038
  • 1,093
  • 3
  • 15
  • 17
-1
votes
1 answer

Scanning to finds active working webservers (nmap?)

I need an nmap command or other utility that finds open sites so I can do a survey on them. The problem is that when I use nmap it finds IPs of sites that are not working: nmap -iR 200 -p 80 > scan.txt I'd like it to show in the result sites like…
AscaL
  • 183
  • 3
  • 3
  • 11
-2
votes
1 answer

Hey I need to grep services from nmap output

So i have a project where i need to get the services so i can check them on serchsploit (yes i know about the -oX and the --nmap options but it dosent show the exect stuff that i need) # Nmap 7.93 scan initiated Fri May 19 12:53:56 2023 as: nmap…