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
-2
votes
1 answer

Why The results of nmap "- ST" and "- SS" are different

when i use sudo nmap -sS "IP" Only a 10 ports are open But when I use sudo nmap -sT "IP" All ports are open. I don't know why. Can someone help me? Thank you!
yukari
  • 1
-2
votes
1 answer

Virtual machine changes default gateway? Nmap scan

I know that default gateway should be my router, and when I check it's address with ipconfig command on windows host pc, it shows that default gateway is 192.168.1.1. But when I check on Linux(virtual machine) it gives me completely different…
Bane2000
  • 187
  • 1
  • 9
-2
votes
1 answer

Nmap giving an error message "You are running a deprecated option"

I am currently making a golang program which is supposed to be able to run but for some reason even though I enter the same options which work (eg. -oN test.txt) in the cmd, it doesn't run and gives me this error message This is odd because in the…
MrEeow
  • 15
  • 2
-2
votes
1 answer

How to link connected devices to a SQL database?

Our project is about viewing LAN communications status information. Do you have any idea how I can send mac addresses of connected devices to a SQL database?
-2
votes
1 answer

Output not showing properly

While running the Python3 with nmap argument, output only showing as -1 try: import os, sys, time except: sys.exit("[!] Install 'os, sys, time' modules: pip3 install os -|- check whether 'Nmap' is installed: https://nmap.org/") class…
-2
votes
2 answers

simple python port scanner

Can somebody give python 3 based port scanner for a particular ip. For example program will ask ip to be scanned and scan the particular range of open ports in that ip.
man7
  • 23
  • 5
-2
votes
1 answer

Traceroute number of hops changes depending on the tcp port used

I use Nmap to traceroute some websites as follows nmap -Pn --traceroute 108.177.127.103 I notice that the result varies depending on the used TCP port. So, when I use port 25 instead of port 80, it gives different results. The weird thing is that…
-2
votes
1 answer

Error running nmap on root privilege - Linux

I just started linux, and now i'm trying to mess with nmap. I can run other apps on root without a problem except for nmap. user@localhost:/etc$ sudo nmap -O scanme.nmap.org Starting Nmap 7.40 ( https://nmap.org ) at 2018-08-15 11:29 UTC nmap:…
Neil Axinto
  • 79
  • 1
  • 8
-2
votes
1 answer

Nmap scan to get 2 random addresses with open port 80 in an IP prefix

How can I use nmap to get 2 random addresses with open port 80 in an IP prefix. Nmap takes time for port scanning. Is there way to speed up the scanning?
tarun14110
  • 940
  • 5
  • 26
  • 57
-2
votes
2 answers

Can nmap cause a dos attack?

Can using this command nmap www.google.com Cause dos attack. It gave me some output but I do not understand it. I have never used nmap before.
Deeven
  • 413
  • 1
  • 5
  • 14
-2
votes
1 answer

Down hosts are shown up when scanned all 256 hosts in aggregate

When I used nmap -sP IP/24 -v, nmap scanned for around 5 minutes. Then it reported that all 256 hosts are up. But when I used nmap -sP * .* .*.253 -v it said the host wasn't up. What's going on here?
Tony Marshle
  • 129
  • 1
  • 2
  • 10
-2
votes
1 answer

awk? for output of nmap scan

I am working on a script to parse nmap output to grab vulnerable systems and the IP address of it. nmap content looks like this: Nmap scan report for 10.x.x.x Host is up (-0.031s latency). PORT STATE SERVICE 445/tcp open …
73fL0n
  • 25
  • 3
-2
votes
1 answer

Scan of ubuntu with Teamviewer: Nmap no open ports

I'm just trying some things and figure out that a scan with map of a ubuntu system which runs Teamviewer returns no open ports. So the target machine has running teamviewer and I scanned all ports where teamviewer could be listening, but always nmap…
Kinimod
  • 166
  • 1
  • 15
-2
votes
2 answers

Nested if statement inside a for loop in bash script

I'm writing a bash script that goes through a for loop which is a list of each hostname, then will test each one if it's responding on port 22, if it is then execute an ssh session, however both the first and second if statements are only executed…
-2
votes
1 answer

Using arp table to run an nmap scan

I'm trying to do a network scan however scanning the entire network for any possible host consumes to many resources, then I found that you could use arp to find all ip address on your network. arp -n > exampleOutput.txt Now my issues is that the…
adjoth
  • 1
  • 2
1 2 3
47
48