Questions tagged [nmap]

nmap is a free, open source, scriptable network security scanner. It features port scanning and service/version detection.

Filter by
Sorted by
Tagged with
1
vote
0answers
110 views

Nmap keeping crashing and popping up the “System Program problem detected”, should I worry?

$ sudo nmap -vv -P -T1 192.168.0.1/24 Output: >Warning: The -P option is deprecated. Please use -PE >Starting Nmap 7.80 ( https://nmap.org ) at 2021-01-01 18:29 -03 >Initiating ARP Ping Scan ...
0
votes
0answers
39 views

mysql server not installed on ubuntu 20.4 LTS

Depends: mysql-server-8.0 but it is not going to be installed i got this error every time i trying to install mysql server even when trying install other tools like nmap The following packages have ...
1
vote
1answer
428 views

Zenmap for Ubuntu 20.04.1 LTS [duplicate]

Is zenmap available for Ubuntu 20.04.1 LTS with nmap 7.80? I've already try the instruction at the following link: Has zenmap vanished from 20.04? but packages are not available.
0
votes
0answers
73 views

How do I confirm ufw is working using nmap from the local system?

I have enabled Uncomplicated Firewall on Ubuntu Focal: # ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip And yet, ...
0
votes
0answers
62 views

ss -tln command doesn't show port 22 open on gateway

I try to manage the the outputs of two commands (ss and nmap) regarding open ports. I'm especially interested in port 22. My window to the Internet is my gateway (wi-fi Router). I can easily connect ...
0
votes
1answer
154 views

SNAP leaves behind some references after removal of NMAP package, causing APT version of NMAP not to be found

To test I first installed NMAP on my Ubuntu 20.04 using a snap, but that version gave a dnet error (Failed to open device enp1s0), so I removed the snap package and installed the native version with ...
1
vote
2answers
895 views

How to use Libertine?

I'm trying to run nmap on my Ubuntu Touch phone. I was advised to use Libertine to install deb packages. It is installed now but when I go to terminal to check if I can use it nmap --help it gives me ...
2
votes
1answer
1k views

Nmap port scan shows all 65000 ubuntu (20.04) ports closed

Forgive me if this is a stupid question, I'm currently messing around with nmap / metasploit for educational purposes. I got a bit sick of using metasploitable OS so I thought I'd have a bit of fun ...
0
votes
0answers
244 views

Should port 25 be open on localhost (Ubuntu 18.04)

Port 25 is open on localhost and also on my internal 192.168.1.xxx number. The nmap scan shows: 25/tcp open smtp Postfix smtpd Should this be the case? I am not trying to run an SMTP server. However,...
0
votes
1answer
346 views

How to scan and ip range in nmap

I've been using Angry IP Scanner and with that, I easily could scan an IP range by putting starting IP and ending IP in two text boxes. Now in nmap, I want to know how to scan an IP range with giving ...
0
votes
0answers
1k views

nmap shows port 8080 is filtered even though it's opened. How can I open it?

I am using Ubuntu virtual host to run a tomcat based application that uses the port 8080, 8009, and 8000. The network admin has already opened the ports and when I run nmap on localhost it shows that ...
0
votes
2answers
675 views

How to scan all ports in nmap

I didn't get what ports does Nmap scan. Does Nmap start from zero or one when scan subnet or all the ports? 0/24 is it 0-255 or is it 1-255 -p is it 0-65535 or is it 1-65535
2
votes
2answers
136 views

Different nmap results from different machines?

I am trying to troubleshoot an issue with my home Postfix mail server installed on Ubuntu Server not being able to reach gmail mail servers. I have noticed that when I run nmap to the IP address 173....
0
votes
1answer
666 views

Why connection is droping when I scan the ip with nmap? [closed]

When scanning an IP in LAN its connection drops for seconds and nmap says the host might be down. Why this happens?
1
vote
1answer
2k views

I can see forwarded port on canyouseeme website, but not on NMAP scan?

I have forwarded port 14444 using my routers configuration panel. Here is the screen-cap: Then I ran ncat using: sudo ncat -k -l 192.168.15.42 14444 https://www.canyouseeme.org/ says "Success: ...
0
votes
1answer
618 views

ssh connection refused; netstat LISTEN; nmap closed

My Setup Ubuntu server 18.04 on local hardware A laptop from which I want to ssh into the server over local network My Problem Every once in a while right after boot, I can ssh into the machine ...
0
votes
1answer
147 views

Rename device ID as returned by nmap

I would like to rename a device on my network as I have several devices from the same mfg. For example, an Asus wireless router shows the same mfg name as an Asus motherboard (connected by Ethernet), ...
0
votes
1answer
758 views

How can I find the IP addresses of devices on my local network? [duplicate]

Is there any way I can find out the IP addresses on my network? For example my home router is 192.168.5.1 and it is connected to an airos device the IP of which is 192.168.1.20, and the airos device ...
1
vote
0answers
122 views

How to configure port for external access?

I need to access software from another machine in PORT 3000, but I can not do it for the IP of the machine, only by localhost. erick@erickmordecai:~$ ifconfig enp3s0: flags=4163<UP,BROADCAST,...
2
votes
2answers
649 views

Is there a way to prevent nmap service detection?

While doing a review of my home network security from an external network, I noticed it was possible to discern the service running on port 99 (xrdp). When I got home I ran a nmap -A localhost and ...
1
vote
1answer
446 views

I typed iptables -F by mistake, how to undo? [duplicate]

I typed iptables -F by mistake, how can I undo it? I see now strange activity on my routers IP, scanned it and saw that strange ports are open. How can I block these ports?
0
votes
0answers
353 views

nmap scanning IP Addresses that aren't an A record for the scanned hostname

I'm scanning for transparent proxies/MiTM and I found this while running a scan against cn.pool.ntp.org: joe@APP05:~$ dig cn.pool.ntp.org ; <<>> DiG 9.10.3-P4-Ubuntu <<>> cn....
2
votes
2answers
7k views

18.04 does not resolve hosts on local network

I recently upgraded from 16.04 to 18.04 and now I am not able to resolve hosts on my local network. With 16.04 everything worked fine. I am still able to use IP to reach other computers but using ...
2
votes
2answers
3k views

Why is nmap not working in 18.04?

After fresh installs of Ubuntu 18.04 and nmap (snap install) on two separate machines, both return the same nmap error: dnet: Failed to open device [device-name] QUITTING! when I run the command:...
1
vote
0answers
144 views

Memory leak NMAP on Ubuntu 16 LTS

Using OpenVas for security scans NMAP (7.01-2ubuntu2) for Ubuntu 16 LTS has a huge memory leak. I have 64GB RAM on server and takes a few hours to build up and then server stop responding. 12974 ...
-1
votes
2answers
935 views

How to install a package from source (e.g. nmap 7.60) and first fix unresolved dependencies on Ubuntu 16.04 LTS?

I found myself wanting to install nmap 7.60 bc it has really neat functionality for scanning IPs for information on my local network (USED RESPONSIBLY, of course), but 16.04 does not support v7.60 out ...
0
votes
1answer
1k views

How to know service name and disable it after scanning using nmap?

When I scan my ubuntu using nmap I get this result: Starting Nmap 7.40 ( https://nmap.org ) at 2017-10-20 10:40 EET Nmap scan report for localhost (127.0.0.1) Host is up (0.000097s latency). Not ...
0
votes
0answers
48 views

Website inaccessible from Ubuntu command prompt but is accessible from browser

When I visit a website from the browser it exists, but when I check with the Ubuntu command line it pings but nothing else works. Nmap does nothing. Curl does nothing. The only vaguely interesting ...
0
votes
2answers
3k views

Nmap scanning in Ubuntu 16.04 LTS

I have started to leran nmap in ubuntu. I am ruuning the command $ nmap localhost in ubuntu 16.04 LTS. It is running perfectly and the output is Starting Nmap 5.00 ( http://nmap.org ) at 2017-08-22 ...
0
votes
1answer
464 views

How to make nmap consult arp table

I want to use nmap in a subnet with the following command: nmap -T3 -F 192.168.1.0/24 My net has some interferences that make broadcast packets to be lost, so I add to my arp table the mac and ip to ...
3
votes
2answers
1k views

Running Nmap on Ubuntu

I am running a python script that executes nmap on a given set of parameters. The point is to automate this so i do not have to interact with the cli at all. Every time I run my script, I am prompted ...
0
votes
1answer
598 views

nmap in bash script returns error

I want to find out all my available routers with nmap. Typing this in command line returns the expected output. nmap --script=broadcast-dchp-discover -e eno1 But when I try to run this command in a ...
2
votes
1answer
171 views

nmap search for specific IP range

How can I search with nmap in a specific range of IPs? Like only IPs in 10.{1-99}.{1-99}.1. Thanks.
1
vote
1answer
585 views

Can't open 4444 port in gufw

I've added a SSH rule for adding 4444 port in my distro through gufw but when I run nmap -sV 10.9.0.136 -A it shows : Starting Nmap 7.40 ( https://nmap.org ) at 2017-04-25 11:30 IST Nmap scan ...
1
vote
2answers
4k views

Is it possible to perform port scanning of the local host itself as another host?

In other words I want to see how the server looks outside when I don't have access to another machine to scan it. Let me give an example: Case 1: When I am SSH connected to my VPS, which is Ubuntu ...
0
votes
1answer
1k views

Cant Install NMAP due to unmet dependecies!

I cant install nmap due to following unmet dependencies HP-Pavilion-g6-Notebook-PC:~$ sudo apt-get install nmap [sudo] password for rohan: Reading package lists... Done Building dependency tree ...
0
votes
2answers
2k views

basic understanding of nmap

ok so i heard nmap is illegal in some countries, similar to going around and checking the door handle around the neighborhood to see if intrusion is possible. if i use nmap like nmap -0 -sS 192....
0
votes
1answer
1k views

Set Filtered TCP Ports via iptables For Linux Device

Here is the configuration : iptables -A INPUT -p tcp --dport 8888 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp --sport 8888 -m state --state ESTABLISHED -j ACCEPT iptables -P ...
1
vote
1answer
620 views

Use nmap scan specific ports to see which IP addresses are running any of those

I have a question to write a script using nmap to look at TCP ports across the entire network to identify which IP addresses are running any of those services. Sorry my english is not good.
0
votes
2answers
200 views

nmap command - suspicious behavior

I'm learning Linux on Cisco, and they display a certain message about the nmap command : CAUTION: To avoid suspicion of using the tool to find a way to attack the systems on your network, it is ...
15
votes
1answer
29k views

Difference between ESTABLISHED and LISTENING [duplicate]

I have use Nmap -a to view all open ports on my laptop. However, I noticed that the states are different. Some have ESTABLISHED, some LISTENING and some were stateless. What do they mean?
2
votes
1answer
10k views

Using Nmap to port scan [closed]

I'm trying out Nmap and have encountered a problem. Before anything, I would like to tell you that I am using this on my own laptops at home :) When I use Nmap <target_IPAddress> it shows me ...
7
votes
2answers
6k views

How do I install the latest version of nmap from source on Ubuntu?

I am running Ubuntu 16.04, and I am trying to install the latest nmap. I have a C compiler installed. I ran openssl version and found that this version was installed: OpenSSL 1.0.2g 1 Mar 2016 I ...
3
votes
3answers
9k views

How to change a port from filtered to open?

I set up port forwarding on port 4444. I'm using gufw as firewall; but, when I'm using nmap, the port shows as "filtered" not "open". PORT STATE SERVICE 4444/tcp filtered krb524</code> ...
0
votes
0answers
1k views

Port opened with ufw marked as closed with nmap

I'd like to open port 873 on a PC running Ubuntu 16.04. I ssh to this PC, type sudo ufw allow 873 Status can be checked with sudo ufw status: Status: active To Action ...
0
votes
1answer
716 views

nmap scenning ports when ufw is disabled

Starting Nmap 7.01 at 2016-09-26 18:54 CEST Nmap scan report for mypage.com (IP-ADRESS) I'm a Ubuntu beginner. I've set up a dyndns service to redirect the connection for my domain. I've turned off ...
1
vote
0answers
880 views

How can I view all device names on LAN?

I am trying to scan my local network and return a list of all connected devices with there IP, MAC Address & device name. by device name I mean if it is my iPhone it would say 'Jamies-iPhone' as ...
0
votes
2answers
2k views

nmap not working as root

I have a question regarding to nmap. Whenever I try to run nmap as a root, I get: > Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn Nmap done: 1 IP address (0 ...
1
vote
1answer
315 views

Ubuntu Snaps not showing up

I noticed when I run "snap find" on a fresh install of Ubuntu 16.04 (with all updates) I no longer see Nmap listed. However, if I run "snap find nmap" it shows up. Why is Nmap not showing up when I ...
1
vote
0answers
63 views

Zenmap Showing Filtered for iptables REJECT Rule

I've been recently messing around on my VMWare Ubuntu 15.10, and decided to test out my iptables and see if my Zenmap on my Windows host machine would recognize the ports being blocked. However, when ...