Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nmap]

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

0
votes
1answer
67 views

Why my device network is stopping when I scan it with nmap? [on hold]

I am a pen tester. I was scanning my network. Only 1 device network connection stopped. It says no internet. Why??
0
votes
0answers
23 views

“knowing how to get rid of ”Socket creation in sendConnectScanProbe: Permission denied (13)“ in Nmap 7.70”

I recently installed Nmap 7.70 on Ubunto and when trying to download google.ca webpage nmap 172.217.10.35 80 I got the following error Socket creation in sendConnectScanProbe: Permission denied (13)...
0
votes
0answers
25 views

how do i view the network graphicaly?

I know about nmap, it works, but at one time I saw a gui that listed network devices (printers etc) with little icons, etc. what are my options for this? Is there anything integrated in the ubuntu ...
0
votes
1answer
58 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
0answers
57 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
29 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
157 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 ...
0
votes
0answers
217 views

Port 139 and 445 open by default on fresh install of ubuntu 18.04

Hi I'm wondering if this is normal default behaviour on my ubuntu machine. When I do nmap quick scan, I get my host machine, my router, and also something running at 192.168.0.254 this is the output ...
1
vote
0answers
45 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,...
0
votes
0answers
26 views

nmap requires root priviliges while running nmap command in virtualenv py script [duplicate]

I am using ubuntu 16 and on there I have created a virtualenv for python2.7 . In my script, I am automating Nmap scans. When I run the script and pass in my args for the nmap scan, I get an error ...
2
votes
2answers
182 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 ...
0
votes
1answer
82 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
161 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....
1
vote
2answers
3k 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 ...
1
vote
0answers
766 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
91 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
vote
0answers
62 views

How to scan my entire network? [duplicate]

My college network have many routers and IP camera connected in same network . The IP range allocated for hostel (which is also same connection as college's) use is from 192.168.30.0 to 192.168.30.225 ...
-1
votes
2answers
583 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
578 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
39 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
2k 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
252 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
556 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
323 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 ...
1
vote
1answer
151 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
366 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
2k 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
430 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
573 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
645 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
286 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
182 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 ...
11
votes
1answer
16k 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
6k 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
4k 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 ...
1
vote
2answers
3k views

How to change port from filtered to open

I had done the port forwarding on port 4444 and im using gufw as firewall but when i'm using nmap the port shows as filtered not open. PORT STATE SERVICE 4444/tcp filtered krb524 If i remove ...
0
votes
0answers
744 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
455 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
613 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
1answer
761 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
209 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
57 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 ...
0
votes
2answers
112 views

Improving bash script

I need to improve this script: nmap -PN -p 9292 -sN 192.68.12.14 | grep "open" I need to check connectivity to ip 192.168.15.24 on port 9292. If the port is open, then print "port 9292 is open" ...
4
votes
1answer
6k views

Is there a GUI version of nmap available?

Is there a GUI version for nmap that can be installed without manually downloading the program? I don't have a problem with doing so, but it would be nice if there is one available in the ...
-1
votes
2answers
2k views

How can we make use of netcat to determine if a machine is running a web, mail, or ssh server?

Without using the nmap program or ping, How can we make use of the netcat program (nc) to determine whether a particular machine is running web, mail or ssh services.
0
votes
3answers
11k views

How to find mac address of devices connected to my modem and block them from my network on ubuntu terminal?

Firstly, I want to thank you as finally I found IP addresses that were connected to my modem. I found out all 5 devices that were connected to my modem using nmap, while it was showing only 2 devices ...
0
votes
1answer
62 views

xterm argument terminal close immediatley

i went to open xterm with argument to execute nmap command and i am try this method $ xterm -e nmap 74.125.130.100 xterm is open and it's is execute Nmap command but xterm immediately close after ...
3
votes
3answers
769 views

how to find other machines which are connected same network

I tried to find all machines which are connected my modem. I tried 192.168.x.0/24 command on gnome-terminal but it couldn't find any. My brother's laptop and my mobile phone are already connected the ...
2
votes
2answers
758 views

Is it possible to search for a keylogger using netstat / nmap?

I read on website (http://www.psychocats.net/ubuntu/security#firewallantivirus) the following phrase: "By default, Ubuntu ships with no open ports on public interfaces." Does that mean that if I got ...
-1
votes
1answer
785 views

Nmap Error when using the “–script” arg

i just installed the nmap network scanner, and when i try to use it whith the "-script" parameter, it doesn't work: example: soufiane@soufiane-cvc:/usr/local$ nmap -p143,993 -Pn –script imap-...