Questions tagged [nmap]
Nmap ("Network Mapper") is an open source tool for network exploration and security auditing.
264
questions
0
votes
2
answers
57
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 ...
1
vote
1
answer
70
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
...
-1
votes
1
answer
60
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.
0
votes
1
answer
51
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 ...
0
votes
1
answer
45
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 -...
0
votes
2
answers
571
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 ...
1
vote
0
answers
18
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 ...
0
votes
1
answer
79
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?
3
votes
3
answers
719
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.
0
votes
0
answers
406
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 ...
0
votes
0
answers
101
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 ...
0
votes
1
answer
867
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 ...
-1
votes
1
answer
193
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 ...
0
votes
1
answer
99
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 ...
0
votes
0
answers
1k
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:...
0
votes
1
answer
80
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 ...
0
votes
0
answers
211
views
Nmap not picking up on a Windows 7 VM when trying to scan it
I'm running nmap on windows 10. When trying to run an intense scan on a windows 7 VM, I get:
Scanning 192.168.1.85 [1 port]
Completed ARP Ping Scan at 22:55, 1.50s elapsed (1 total hosts)
Nmap scan ...
1
vote
0
answers
155
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 ...
0
votes
1
answer
22k
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 ...
0
votes
0
answers
466
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
0
votes
0
answers
328
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, ...
0
votes
1
answer
1k
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, ...
1
vote
2
answers
4k
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
613
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 ...
0
votes
0
answers
144
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 ...
1
vote
2
answers
753
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 ...
1
vote
1
answer
214
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 ...
0
votes
2
answers
219
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 ...
0
votes
0
answers
272
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 ...
1
vote
1
answer
840
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 ...
0
votes
1
answer
322
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 ...
0
votes
0
answers
791
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
343
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 ...
1
vote
0
answers
35
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 ...
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 ...
0
votes
1
answer
100
views
how check all running computes list in more than one vlan
I can get a list of running computes which do not ICMP Echo Reply disabled by using nmap, but there are some computers can not be scanned, because the computers have disabled ICMP Echo Reply or ...
0
votes
0
answers
134
views
SSH Connection Blocked to my NAS but not sure why
I typically connect to a NAS from another PC via SSH, but recently the connection has stopped working and I'm not sure what's causing the issue. Typically, I connect over a dynamic IP hosting site, ...
0
votes
2
answers
154
views
Where is the port number listed in this command result?
I am running simple port scans on my system and I don't know if I am confused or not.
After running lsof -i and my results are:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
firefox-e ...
0
votes
1
answer
686
views
nmap or ping a url with embedded port number?
Is it possible to use nmap to ping like a url with an embedded port number? .
How would I ping this? http://openleadr.org:8911/OpenADR2/Simple/2.0b?
I think nmap -p 8911 openleadr.org would work but ...
2
votes
1
answer
491
views
What is the difference between nmap -D and nmap -S?
I am learning nmap , as per my understanding nmap -S <IP> is used to spoof your scan i.e. use an IP address other than your original IP address to show that the traffic was originated from the ...
0
votes
1
answer
81
views
What type of nmap scan is: -sS -T 5
Is there a name given to this specific type of nmap scan:
sudo nmap -sS -T 5 192.168.1.145
Is there a specific term/name?
1
vote
0
answers
20
views
How do I add modules to PYTHONPATH variable for zenmap in Kali Linux [duplicate]
I installed zenmap in my Kali Linux but when tried to run it, the terminal gave me the following error telling me to add modules to the PYTHONPATH variable.
┌──(root💀kali)-[/home/kali/Downloads]
└─# ...
0
votes
0
answers
134
views
nmap for Ubuntu 20.04.1 LTS
The command sudo nmap -sn 192.168.0.1/24 --disable-arp-ping on an Ubuntu 20.04.1 LTS machine and also a windows machine connected to a TP-Link 4g router sometimes works and sometimes does not find all ...
9
votes
2
answers
25k
views
Couldn't open a raw socket. Error: Permission denied (13)
I am trying to get familiar with hacking and networking by doing HackTheBox challenges. At starting point Oopsie I am supposed to use command nmap -sS -A 10.10.10.28. However, after running it in ...
0
votes
1
answer
91
views
Why this oddity when using nmap?
My home router (Mikrotik RB750Gr2) has an internal IP address of 192.168.1.1 and a routing table which looks like this:
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0....
0
votes
2
answers
5k
views
Nmap does not show all devices connected to my network
I want to use xerosploit but when I scan my network, it just shows two devices
My device
My Router
Then I thought there was some problem in xerosploit, but when I scanned my network through nmap it ...
1
vote
0
answers
144
views
Unable to ping scan my machine (but I can ping)
I need to perform an nmap scan on all of the (responding) IPs in an array of VLANs.
The command is nested in a PowerShell for loop and looks something like this:
nmap.exe -Pn -T4 -A -oG [FILE].txt -oX ...
0
votes
2
answers
2k
views
Why is my PC’s IP address not shown by nmap?
I scanned my home network using nmap 192.168.178.* and 192.168.178.0-255 but it doesn't show the IP of my PC. Then when I scan only my PC using -Pn it finds it. So why is my PC hidden?
And even after ...