a free and open-source port scanner, operating system fingerprinter, and service fingerprinter

learn more… | top users | synonyms

8
votes
3answers
4k views

How to “close” open ports?

A few days ago I started to care a lot about my data security, I end up nmaping myself with: nmap 127.0.0.1 Surprise, surprise, I have lots of active services listen to localhost: $ nmap 127.0.0.1 ...
4
votes
1answer
297 views

How to remotely detect another machine's utorrent version with nmap?

How can I use nmap to find out the utorrent version installed on a PC by scanning it from another PC on the same subnet?
4
votes
1answer
150 views

Why Nmap fragmented scan on Linux is only working from virtual environment?

OLD QUESTION AND TITLE (Look further down for the updated question): Why Nmap fragmented scan is only working on Backtrack? I spent quite a few hours today trying to capture and study some ...
3
votes
3answers
128 views

Nmap -sn: scan or no scan?

The nmap man page has this to say about the -sn parameter: -sn (No port scan) . This option tells Nmap not to do a port scan after host discovery, and only print out the available hosts that ...
3
votes
1answer
1k views

Run nmap via Tor

Is it possible to runnmap via Tor? When I googled around, I got the impression that Tor uses Polipo / Privoxy, which are socks5 proxies. So any TCP / UDP aware applications should be able to use them ...
3
votes
3answers
271 views

Questions about nmap

I have several questions about nmap. First, nmap can detect servers via: link-layer network-layer transport-layer What are the differences (not in the layer, but in the way that nmap does it) and ...
3
votes
1answer
146 views

Doing nmap on a network

I used nmap to scan all the ports in the hosts in a network by using the command: $ nmap 172.31.100.0/24 What I found is that it showed the following in the result: Nmap scan report for ...
2
votes
3answers
1k views

Grepping several lines from Nmap output

I apologize in advance as this is a simple question. So I'm attempting to scan a Class C to identify all mail servers by IP. The vast majority of IPs aren't mail servers. I'm trying to filter out the ...
2
votes
2answers
605 views

nmap isn't showing sshd?

I want to open a ssh terminal but it gives me a connection refused on port 22. My nmap doesn't list a port 22? How can I connect to my server? PORT STATE SERVICE 21/tcp open ftp ...
2
votes
1answer
279 views

Running a local port scan and found open ports but, don't know what they're used for?

I wrote a very basic python script to port scan my system. I'm running linux-mint lisa: open_ports = [] for port in xrange(65536): conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
1
vote
2answers
103 views

What does the following script do? [closed]

This was a question on my study guide, and I believe that the script is pinging the ip addresses, so the 2nd choice. Can somebody confirm this for me? The 5th column of NMAP output below is the IP ...
1
vote
5answers
166 views

Use awk to find all Ports for each IP that have https open

I'd like to print all ips (IP space Port) which have open https ports given a gnmap file. An example output for a line that has only https running on port 443: 123.123.123.123 443 A more ...
1
vote
2answers
3k views

Fastest way to port scan. NMAP?

I am looking for a quick way to scan for commonly open ports on proxies. I am doing this through php and I have been using nmap and came up with this command: <?php system("nmap -PN -p ...
1
vote
0answers
526 views

Using nmap's sql-injection script to scan a specific web folder

I'm fairly new to linux and nmap. I'm using debian squeeze. I tried installing an SQL-injection script for nmap. I was able to successfully run a test scan agains my web server running Windows. ...
0
votes
1answer
174 views

How to skip (omit) a sepcific port in nmap

With nmap, I want to skip the scan on port 80. I'm sure this is in the man somewhere, but I haven't found it so far. My command is simple: nmap 24.0.0.1\24 So this will scan ports in the 24.0.0.x ...
0
votes
2answers
1k views

nmap script needed to output text into csv format

ultimately I am looking to insert some info into a database. So I'm trying to output a file from something (probably nmap) that is formatted like this: 10.1.150.1,Up,1/3/2012,host.domain.lan ...
0
votes
4answers
470 views

NMAP probing VirtualBox Client

Cannot seem to probe virtual guests from the virtual host. These guests can be probed from other devices on the same LAN/Network, but not the host. I can understand why it might be struggling, but I ...
-1
votes
2answers
1k views

How to generate random IP addresses

$ nmap -n -iR 0 -sL > RANDOM-IPS-TMP.txt $ grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" RANDOM-IPS-TMP.txt | egrep -v "10.*|172.[16-32].*|192.168.*|[224-255].*" > RANDOM-IPS.txt egrep: Invalid ...
-1
votes
2answers
707 views

How to get info about given webserver FAST?

$ time nmap -q -sV -P0 -p80 google.com | fgrep '80/tcp open' 80/tcp open http Google httpd 2.0 (GFE) real 0m6.563s user 0m0.280s sys 0m0.016s $ Are there any faster methods to get info ...