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

Why are TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA and TLS_RSA_WITH_3DES_EDE_CBC_SHA considered to be "weak" but reported as "strong" by nmap and Liberty?

i have to get rid of the ciphers TLS_RSA_WITH_3DES_EDE_CBC_SHA and TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA since they are considered as weak in general and reported as weak by several security scan tools etc. For that i've configured WebSphere Liberty to…
andiveloper
  • 43
  • 1
  • 4
4
votes
2 answers

parsing an nmap result

I'm working on a project with Python 2.6 on linux and I am using nmap from the terminal to get those scan result, I get this inside a string: Starting Nmap 6.47 ( http://nmap.org ) at 2015-06-28 23:15 IDT Nmap scan report for 10.0.0.5 Host is up…
ori
  • 369
  • 2
  • 6
  • 17
4
votes
1 answer

How do I grep this nmap scan?

I'm using nmap to scan for SSH enabled servers. This is what nmap outputs from the scan: SSH disabled server example: Nmap scan report for 70.0.0.109.rev.sfr.net (109.0.0.70) Host is up (0.15s latency). PORT STATE SERVICE 22/tcp closed ssh SSH…
Sedulous
  • 55
  • 1
  • 1
  • 5
3
votes
1 answer

nmap: what does "state = closed" means

I am trying nmap command on two remote hosts public ip address ~ % nmap (remote host1 - public ip) Starting Nmap 7.91 ( https://nmap.org ) at 2021-03-23 20:08 EDT Nmap scan report for openrg (remote host1 - public ip) Host is up (0.0093s…
Santhosh
  • 9,965
  • 20
  • 103
  • 243
3
votes
1 answer

GCP Kubernetes: Ingress and external load balancer with IAP lots of open ports scanning nmap

I have a k8s cluster running a Service behind an Ingress with an external HTTPS load balancer and I have Identity-aware proxy protecting my system. The ingress has a public IP and when I scan it with nmap I see the following open ports: PORT …
3
votes
1 answer

Anisble Nmap inventory plugin

Hey I am trying to make a dynamic Inventory that scans the network looking for hosts to add, At the moment i am kinda stuck And i don't know what i should do to trouble shoot i used this turtorial mainly to set this up…
Marc Hoog
  • 33
  • 3
3
votes
0 answers

Python multiprocessing object throwing 'NoneType' Exception even though it is not None

I'm using a python script to perform asynchronous Nmap scans with the python-nmap v0.6.1 library and Python v3.8.3. When I follow the simple asynchronous example displayed on the page, the scan completes successfully but prints the following…
Adam
  • 43
  • 6
3
votes
1 answer

How can I discover the Phillips Hue Wifi lightbulbs on my network with nmap?

Phillips has these instructions (https://developers.meethue.com/develop/get-started-2/) for connecting to/playing with their Hue lights. Apparently, they each host a small server. I've heard/seen nmap suggested pretty much everywhere for…
Seph Reed
  • 8,797
  • 11
  • 60
  • 125
3
votes
1 answer

Nmap install unproperly

I am trying to install Nmap-7.5 with source installation and the Compiler says : NMAP SUCCESSFULLY INSTALLED but when I use the command: nmap -v ,the system says command not found I find the Nmap has been installed as /usr/local/bin/nmap When I…
AtagoLee
  • 33
  • 5
3
votes
2 answers

Hide postgres version from nmap scan

I'm setting up a server, with postgresql running as a service. I can use nmap to get current postgresql version nmap -p 5432 -sV [IP] It returns: PORT STATE SERVICE VERSION 5432/tcp open postgresql PostgreSQL DB 9.3.1 Is there a way to…
Daniel
  • 840
  • 1
  • 8
  • 9
3
votes
0 answers

C++ xml parser for nmap output

I'm new to nmap. I saw in nmap tutorial (https://nmap.org/book/man-output.html) that -oX option can be used to get nmap output in xml format. I want to know if any xml parser written in c++ is available to parse nmap xml output file.
jerry
  • 31
  • 2
3
votes
1 answer

Nmap Switches -sSU and -sSV

I'm trying to follow along in the nmap book and the author uses a couple of switches -sSU and -sSV, but never explains them. They are in these two search strings: nmap -F -A -sSU ultra nmap -PN -sSV -T4 -F www.amazon.com Does -sSU and -sSV stand…
user3423909
  • 189
  • 3
  • 12
3
votes
1 answer

Bash Script on Datacenter Subnets with three outputs

I've been tasked with finding all Red Hat instances running in our entire datacenter. This covers roughly thousands of VLANs and IPs. I've done NMAP for output and tried parsing it into Excel for easier viewing, but... failed. What I did is…
3
votes
1 answer

OS detection using nmap for a particular IP address

I am trying to determine the OS of a particular IP address using nmap. Here is my code so far: import java.io.*; public class NmapFlags { public static void main(String[] args) throws Exception { try { String[] cmdarray = { "nmap",…
sam
  • 61
  • 1
  • 1
  • 4
3
votes
2 answers

Whats the difference between -sS and -PS in nmap?

I was learning how to use nmap and i have gone through many documentations and tutorials but no where iam getting perfect information about what is the use of -sS and -PS. In general what is the differences between all -s 's and -P 's? Both are for…
Revanth Kumar
  • 809
  • 12
  • 18
1 2
3
47 48