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
2 answers

Python Parse file with Regex

I am hoping someone might be able to get me on the right track here. I need to parse nmap output with Python. I think using regex is going to be the right method for this, but I have never worked with regex. Here is a sample of the text I need to…
Justin
  • 111
  • 1
  • 1
  • 8
-2
votes
1 answer

Raspberry Pi cannot install Nmap, failed dependencies

I'm trying to get nmap for Raspberry Pi, and running into errors. I'm following the instructions here: http://nmap.org/book/inst-linux.html#inst-debian I have alien installed. Next command was rpm -vhU…
Nick
  • 1,864
  • 5
  • 27
  • 49
-2
votes
2 answers

probabely "loop" and "output" doesn't work properly in my bash script

I wrote the following script: #!/bin/bash echo "Reading data - headers - both" if [ $# -ne 3 ]; then echo "Usage: ./nmap " exit 1 fi rm -f /tmp/right.txt 1>/dev/null 2>/dev/null rm -f /tmp/wrong.txt…
MLSC
  • 5,872
  • 8
  • 55
  • 89
-3
votes
1 answer

NMap (client on Mac) port scan on Ubuntu server

I have to scan a Ubuntu server (installed as a virtual machine on my Mac) for open ports. I used the netcat utility and it shows a nice list of all the open ports on my virtual machine. However, when I use NMap, it is giving me some strange…
Neo
  • 1,554
  • 2
  • 15
  • 28
-3
votes
1 answer

I am making a project but this error is coming up and i dont know why

So i created a code to track ips but am getting a error the code is import socket import os import sys import nmap import time from datetime import datetime from urllib import request as urlrequests def tracker(): soc = socket.socket() Sc =…
-3
votes
1 answer

Why netcat -k doesn't work and doesn't keep alive the connection?

The -k parameter doesn't work neither with nc (netcat) nor with ncat nor with nmap.
-3
votes
1 answer

using Nmap with proxychains4

i was trying to scan ports with Nmap trough proxychains4 in order to be anonymous while scanning , but after i used wireshark to capture to traffics , i saw that my private IP didn't change and still the same
bryan
  • 1
  • 1
-3
votes
1 answer

How to get mac addresses of clients connected to a router through an external request

The situation is that I have to scan mac addresses of clients(portable ones) connected to multiple routers. I want to set up a server that can make an external request (or some networking tool to scan) all the routers to fetch the required…
aashu
  • 105
  • 1
  • 14
-3
votes
1 answer

Understanding ports used on clients (NMAP)

I was playing around with nmap and scanned my own linux machine for open ports. Since I was running an apache2 server it displayed that port 80 is open. My question is what are the difference between these kind of ports and all the other ports my…
Benjamin
  • 137
  • 1
  • 6
-3
votes
1 answer

What is the meaning of the command `sudo nmap -sP -n 192.168.0.0-255`?

What is the meaning of the following command and why its not given at help menu of nmap? Sample command: sudo nmap -sP -n 192.168.0.0-255 Sample output: Starting Nmap 7.60 ( https://nmap.org ) at 2017-10-14 16:09 +06 Nmap scan report for…
-3
votes
1 answer

bypass nmap and change OS CPE in ubuntu

how can i change OS CPE in ubuntu. this is my CPE: OS CPE: cpe:/o:linux:linux_kernel:3 when scanning with nmap leakage all my OS properties . but I need to change the original information to fake information. My main goal is that the nmap scanner…
-3
votes
1 answer

How to configure NMAP return also name of device that have SIP port enabled?

What should be command to make NMAP return also name of device connected to the SIP port? I mean to retrieve SNMP device name (sysName.0) system name of the device (router, VoIP, etc) if this device have SNMP enabled. nmap -p 5060 -sU -P0…
user2427839
-3
votes
2 answers

how to develop Nmap?

I want to analyze Nmap source code,for a start, what should I do? Nmap have many files and folders,and I don't know where to start, what should I do? i want know some Nmap work like how nmap detects the os or how nmap detects open ports? Does some…
user499171
  • 5
  • 1
  • 1
1 2 3
47
48