Include service information in -oX and -oM even without -sV.

This is by Daniel Miller.
http://seclists.org/nmap-dev/2012/q1/731

git-svn-id: https://svn.nmap.org/nmap@28389 e0a8ed71-7df4-0310-8962-fdc924857419
give the vendor name in an entry description

git-svn-id: https://svn.nmap.org/nmap@28390 e0a8ed71-7df4-0310-8962-fdc924857419
Add an idea about qualifying more of our Windows-related CPE entries with the service pack number

git-svn-id: https://svn.nmap.org/nmap@28392 e0a8ed71-7df4-0310-8962-fdc924857419
cpeify-os note.

git-svn-id: https://svn.nmap.org/nmap@28393 e0a8ed71-7df4-0310-8962-fdc924857419
Add a long comment about Solaris 11 BPF.

I was surprised when I found that Solaris 11 scanning works now. I
thought that it would require a change in the defines around
pcap_selectable_fd_valid, because it's valid for Solaris 10 and earlier
but not for Solaris 11. Why it started working was the
pcap_selectable_fd_one_to_one test added in r28319. As a side effect of
that function overrides pcap_selectable_fd_valid for all Solaris
releases, it makes changes in pcap_selectable_fd_valid unnecessary.
However it is indirect in the way it does it, so I'm adding a comment
explaining the situation and a hope that there is an easy change to make
pcap_selectable_fd_valid correct on its own.

git-svn-id: https://svn.nmap.org/nmap@28394 e0a8ed71-7df4-0310-8962-fdc924857419
add check for /phpinfo.php. Example: http://ws1.surf-town.net/phpinfo.php

git-svn-id: https://svn.nmap.org/nmap@28396 e0a8ed71-7df4-0310-8962-fdc924857419
there is no stdnse.log_error function


git-svn-id: https://svn.nmap.org/nmap@28397 e0a8ed71-7df4-0310-8962-fdc924857419
Fix an error check in check_target.

There was a missing level of deference on the pointers, so a condition
was never true in normal use. The effect was that check_target could
return without haveing put something in *addr, the previous contents of
which would later be passed to getaddrinfo, causing a "Name or service
not known" error.

git-svn-id: https://svn.nmap.org/nmap@28406 e0a8ed71-7df4-0310-8962-fdc924857419
o [NSE] Added an error message indicating script failure, when Nmap is being
  run in non verbose/debug mode. [Patrik Karlsson]


git-svn-id: https://svn.nmap.org/nmap@28407 e0a8ed71-7df4-0310-8962-fdc924857419
Danaea -> Dionaea in nmap-service-probes.

This seems to have been a typo in a service submission. At least I don't
get any relevant web search results for "danaea honeypot".

git-svn-id: https://svn.nmap.org/nmap@28408 e0a8ed71-7df4-0310-8962-fdc924857419
Add an assert that I am currently able to make fail.

git-svn-id: https://svn.nmap.org/nmap@28411 e0a8ed71-7df4-0310-8962-fdc924857419
Don't try to do FD_ISSET on a nonselectable pcap descriptor.

The Nsock select engine stores readiness information in a mask instead
of doing an FD_ISSET against the descriptor every time. This is a good
idea, but it removed a special case in the pre-engines code: in case
PCAP_CAN_DO_SELECT is not defined, we can't do FD_ISSET on the
descriptor because it is -1. Here we check for that occurrence and set
EV_READ in the mask so that a non-blocking pcap read can happen every
iteration.

git-svn-id: https://svn.nmap.org/nmap@28412 e0a8ed71-7df4-0310-8962-fdc924857419