Skip to main content

Questions tagged [nmap]

Nmap ("Network Mapper") is an open source tool for network exploration and security auditing.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

What is the correct format to ping ip address range with some extra single ip addresses using nmap

I'm struggling with the usage of nmap. I would like to ping IP addresses in the range, say, 192.168.178.110-192.168.178.130 but also the single IP 192.168.178.1. Therefore I execute: nmap -sn 192.168....
Wör Du Schnaffzig's user avatar
0 votes
0 answers
40 views

How to block port 135 on Windows 11 using Windows Firewall?

I was able to create a rule to block port 135 using Windows Firewall. However when looking at nmap output. The port is still open. How can I successfully block this port on Windows 11? Thanks
Dan's user avatar
  • 121
0 votes
1 answer
21 views

Nmap does not show open RTP and RTCP ports

I am running ffmpeg as in: ffmpeg -t 00:05:00 -i rtsp://admin:[email protected]:554 -c:v copy -an output2.mp4 While ffmpeg is running, I run nmap as in: nmap -p1-65535 192.168.1.64 I see the ...
Sunny's user avatar
  • 369
0 votes
1 answer
51 views

Why is NMAP showing more hosts than expected?

I am using VMware Workstation, and I have a few VMs installed. When I turn on Kali VM (192.168.140.13) and Windows 10 VM (192.168.140.15) and run NMAP on Kali. I received the following output: └─# ...
AAAA's user avatar
  • 1
1 vote
1 answer
60 views

Unable to locate IP address and open port discovered by nmap

I used the following nmap command on Ubuntu: sudo nmap -Av 192.168.0.0/16 1,2>/tmp/nmap.out4 Then I grep-ed the output: grep "Discovered" /tmp/nmap.out4 This displayed, among other ...
Sunny's user avatar
  • 369
0 votes
1 answer
138 views

ffmpeg streaming UDP port is closed

I'm trying to use ffmpeg in order to transcode RTSP stream from CCTV to HLS stream so it could be accessed through a web server. ffmpeg used to stream video from CCTV with following command $ ffmpeg -...
BrilliantContract's user avatar
0 votes
0 answers
243 views

What is the “down” service at port 2022?

According to NMAP and IANA port 2022 TCP belongs to the service down: PORT STATE SERVICE 2022/tcp open down But what is down? I cannot find anything about it. Is there any document explaining ...
HeartOfGermany's user avatar
0 votes
0 answers
133 views

How to use nmap (Zenmap) to check if my port is open?

Im developing a Unreal Engine game and Im trying to make a quick test by sending my packaged build to another player, for this I need to forward the port 7777, I think I achieved that in my router, ...
Artemix's user avatar
  • 167
0 votes
0 answers
227 views

open ports on external ip

I scanned my external ip address that was issued by my isp. Some ports are open and I don't understand if they should be open or closed. I thought port 631 ipp is for remote printers. I only use local ...
Tafriqt's user avatar
-1 votes
1 answer
66 views

Why is it written in nmap official doc that -sL does not send any packet, when it actually send them?

Sniffing with wireshark, I see a bunch of ARP, and DNS requests. So why in the official doc it's written this: The list scan is a degenerate form of host discovery that simply lists each host of the ...
Allexj's user avatar
  • 244
0 votes
0 answers
119 views

NMAP Unknown Device Found on Network

I run pfSense, and my network is 192.168.1.1/24. pfSense provides the DNS. I have OpenVPN setup using 10.0.0.0/24. I only have one device that uses OpenVPN, and that device is not connected. Something ...
codenoob's user avatar
  • 129
0 votes
1 answer
825 views

Connecting PC ethernet port to WAN port of router

I would like to perform nmap scanning on the WAN port of my router from my PC by connecting the ethernet port of the PC directly to the WAN port of the router. How can I assign an IP address to the ...
Ajay's user avatar
  • 1
0 votes
1 answer
449 views

ping is working but hping (icmp host unreachable) and nmap (host is down) are not working for all websites

I installed hping and nmap tools for the first time. Both tools can't connect to any website including google.com, but ping command works Ping [heman@Main ~]$ ping google.com PING google.com(bom12s01-...
user avatar
1 vote
0 answers
92 views

Health check proxied DNS

I am attempting to send a ping health check to a proxied Cloudflare DNS record, as expected my ping is just resolving to Cloudflare DNS. This gives me inaccuracies since the server behind the ...
user avatar
0 votes
2 answers
1k views

Direct ethernet connection without knowing the Subnet

I have two linux devices: A: One has static IP (eg. 10.255.253.5 and mask 255.255.255.0). I cannot know or change this IP. B: The second has a direct access (Screen and keyboard) I'd like to connect ...
Manitoba's user avatar
  • 189
1 vote
1 answer
1k views

Mapping network topography with nmap

I would like to create a map of my network. Currently the layout Internet | router pc | | server - switch - wap/switch - router - server ...
JoSSte's user avatar
  • 403
-1 votes
1 answer
177 views

Modifying Windows Firewall to send ICMP unreachable

Can I modify my windows Firewall to send ICMP unreachable rather than drop packets? or this is something that is not available in MS windows.
Batman's user avatar
  • 1
0 votes
1 answer
115 views

lsof -i and nmap output different

To test my PostgreSQL, I had to find its port number. I ran two different commands to see what it is: nmap localhost lsof -i | grep postgres I was confused when the two commands returned different ...
Shawn M.'s user avatar
0 votes
1 answer
141 views

nmap cannot check ipv6 global ip on localhost

If I use nmap like this (the AAA record of the website redirects to this machine) : nmap -6 -sV mywebsite.com nmap seems to access all ports like it was a localhost scan. However if I do : nmap -4 -...
JoelCrypto's user avatar
0 votes
2 answers
3k views

nmap cant find VM host ip

I have a homework exercise where I need to use nmap on my PC and have Windows XP running on a VM (Using VirtualBox). But when scanning my network it doesn't seem to find the VM running. nmap -n -Pn ...
MrPuffer's user avatar
1 vote
0 answers
94 views

why does netcat work(to scan) faster in local host in virtual box but not for remote server?

I am using netcat to scan the ip of metasploitable2 from my kali machine in virtual box.netcat is very much faster to scan an ip of a local machine in virtual box. But when I am trying to scan a ...
Khan Shaheb's user avatar
0 votes
1 answer
416 views

redirect nmap to stdout instead of writing it into file

I'm creating python program running nmap -sn on a remote server. Is there a way to redirect nmap -oX directly into stdout or a different channel instead of writing it into a file?
user1746437's user avatar
3 votes
3 answers
2k views

Finding VPNs using scans

I understand that nmap doesn't know how to recognize some VPN protocols, but I need a way to scan a port and find a result so I know that the port is VPN.
Eladtopaz's user avatar
0 votes
0 answers
1k views

Nmap does not show all open ports

When I run nmap -p- 10.129.175.12 I get Host is up (0.00026s latency). Not shown: 65534 filtered tcp ports (no-response) PORT STATE SERVICE 80/tcp open http But I know that there is a 5985 port ...
lackroy's user avatar
0 votes
0 answers
154 views

Nmap scan does not show any device expect my own computer

When I try to perform a nmap scan while connected to my home wifi, the only device that appears after the scan is my own pc even though I have a lot of phones and wifi connected to it. I followed the ...
Sourav Acharya's user avatar
1 vote
1 answer
5k views

Nmap scan entire local network

I wanted to scan the entirely of my home network using Nmap but was unsure of how I would go about this. My default gateway and subnet mask are 192.168.0.1 and 255.255.255.0 respectively, so I first ...
user avatar
0 votes
1 answer
440 views

Unable to nmap but able to ping

I am using Nmap 7.92 on Windows and try to ping a Linux host on VirtualBox. I can ping the server and receive ICMP replies and vice versa. The VirtualBox host is using a bridged adapater. I have also ...
user avatar
0 votes
1 answer
212 views

Host on VPN, Guest VM on NAT Limitations?

My host computer is using an Azure PPP VPN to connect to my company's network. My guest VM (Kali Linux) can only run Nmap scans on devices connected to my company's network if the Virtual Box Network ...
UbuntuNoob's user avatar
0 votes
0 answers
3k views

Host is up. All 1000 scanned ports on ***.***.**.* are in ignored states. Not shown: 1000 filtered tcp ports (no-response)

I am trying to scan an ip address using nmap using the command: sudo nmap -A ***.***.*.* and I get this as a result Host is up. All 1000 scanned ports on ***.***.**.* are in ignored states. Not shown:...
Amine El were's user avatar
0 votes
1 answer
281 views

Nmap -Pn -Sn together give inaccurate results

When I run these two commands, I get the same conclusive (accurate) results that 44 host are up sudo nmap -Pn 10.2.16.0/24 sudo nmap -sn 10.2.16.0/24 When I run a scan with both of these commands ...
UbuntuNoob's user avatar
1 vote
0 answers
255 views

why might nmap on a computer be reporting port 443 as closed on some but not all computers?

When I run nmap event-bridge.twilio.com on roughly half the computers in my network I get this: PORT STATE SERVICE 443/tcp closed https When I run it on the other half of the computers in my ...
neubert's user avatar
  • 7,142
1 vote
1 answer
41k views

What is the All 1000 scanned ports on X are in ignore states in NMAP mean

We are using the NMAP 7.92 version. When we run: nmap -sT XX.XX.XX It returned: Nmap scan report for XX.XX.XX.XX Host is up (0.31s latency). All 1000 scanned ports on XX.XX.XX.XX are in ignored ...
dcpartners's user avatar
0 votes
0 answers
2k views

What is nmap command to get the device type?

I'm trying to scan two targets which are the printer and router. Is there an option in Nmap to have it print device type as mentioned in the following link? Device Types
Naive's user avatar
  • 51
0 votes
0 answers
631 views

FortiGate Making Ports Appear Open

Recently we were doing some port scanning on some machines located in AWS to see what came up. This is in preparation for a launch of our new product in a couple of months. While doing this we got, ...
TGutmann87's user avatar
0 votes
1 answer
2k views

nmap shows excessive number of open ports

I was just running an nmap scan of a website, which turns out it has an excessive number of open ports. I honestly have never seen anything like it. Of all 65,000+ ports, almost all of them are open, ...
Robin Sage's user avatar
3 votes
2 answers
9k views

How do I find an intermediate switch's IP address on my LAN?

I use a D-Link DGS-1005A (you can see the manual here) switch that sits between my main router provided by the ISP and my machine and I am trying to find its IP Address so that I can play with the ...
alexandrosangeli's user avatar
0 votes
1 answer
2k views

VM closed ports when scanned from host

I have installed Metasploitable on my Virtualbox, setting up Bridged Adapter. I try to scan it with Nmap from my host machine, but I got the report: Host is up (0.00029s latency). All 1000 scanned ...
boston482's user avatar
0 votes
1 answer
2k views

Why is Nmap failing to bind my source IP?

I was trying to perform a Nmap scan using this IP spoofing command: nmap -e eth0 -S 1.2.3.4 192.168.200.130 where 1.2.3.4 is the source IP that I want to use and 192.168.200.130 is the IP address of ...
nim123's user avatar
  • 1
0 votes
0 answers
211 views

nmap -sT 192.168.8.0/24 is being very slow

I started learning nmap but I ran into a big problem. I was following some youtube tutorials and the command nmap -sT 192.168.8.0/24 took over 27 minutes while I saw that for many it took around 2 ...
comand100vip's user avatar
1 vote
2 answers
1k views

Alexa device not found via nmap in WSL2

I'm running Windows 11 Home (21H2, build 22000.434) with WSL2 Ubuntu 20.04. On my Windows local machine (and local LAN), I run sudo nmap -sn 192.168.1.0/24 The output of that command is: Starting ...
nate's user avatar
  • 113
1 vote
1 answer
334 views

I see rlm-admin and tor-socks port opened on my machine should I close them?

I ran the following command to see what ports are opened on my machine i.e Ubuntu 21.10 x86_64 nmap localhost and got the following result Starting Nmap 7.80 ( https://nmap.org ) at 2022-01-15 16:25 ...
Khushal's user avatar
  • 11
0 votes
2 answers
445 views

Run nmap as if on another host

On my main host, I have services running that I only need locally, e.g. MySQL and Apache HTTP Server. I want to make sure they are not accessible from other hosts. When I run nmap localhost on my main ...
Marco Eckstein's user avatar
0 votes
0 answers
469 views

How to scan ports from 1 virtual machine to another?

I have a MacBook apple m1. I have a Kali installed on VMware fusion. I also have a Metasploitable installed on UTM. I try to use NMAP to scan ports nmap -Pn 10.0.2.15, but I get such a message: Host ...
alex son's user avatar
1 vote
1 answer
1k views

How to get all IP addresses from connected devices with specific device name?

I'm making Bash script for automation and would like to get all IP addresses from connected devices with specific device name? For example I have 10 devices connected to Wi-Fi. All with same device ...
Sasha Milic's user avatar
1 vote
1 answer
952 views

Using NMAP to scan local device/own computer

Can't seem to find google-fu info on how to scan your own computer. Alot of guides suggest using your local IP address but i've accidentally just port scanned a foreign internet server. Is there an ...
N S's user avatar
  • 9
0 votes
0 answers
2k views

How do i close ports that i dont need in Windows 10?

I have "tested" a little with the nmap command. Now my question is: Do i have ports that i could close? Why should i have ports open who run services that i dont need/use?! =) This ports is ...
Wizard777's user avatar
0 votes
1 answer
3k views

How to read mDNS response so I can parse it?

I know nmap has mDNS service discovery script but it wasn't helpful in my case as it doesn't include the correct service names. So I want to parse the following response as caught in wireshark, any ...
ALGO's user avatar
  • 1
0 votes
0 answers
1k views

What do these ports mean? Why are they open?

running nmap on localhost, i get: https://i.stack.imgur.com/ysIuq.png C:\Users\user>nmap localhost Starting Nmap 7.80 ( https://nmap.org ) at 2021-10-24 07:26 India Standard Time Nmap scan report ...
hidden_machine's user avatar
1 vote
0 answers
50 views

What does it mean that a target IP is active in nmap

The following is from the map pages of nmap - -Pn (No ping) under this is written Proper host discovery is skipped as with the list scan, but instead of stopping and printing the target list, Nmap ...
rohit's user avatar
  • 11
0 votes
1 answer
3k views

Nmap Spoofing NSOCK ERROR

I've recently tried out the following nmap command on my Kali Linux virtual machine with Nmap 7.91, nmap -sS -e eth0 -S 12.12.12.12 192.168.0.102 I was trying to perform a SYN scan with a spoofed IP ...
Damion Dron's user avatar

1
2 3 4 5 6