Made nsock messages more consistent.
  - Always format function name without parens at the beginning of a message.
  - Added a nsi_new notification message.
  - Only trace the first call to nsi_delete() of a given IOD (i.e. don't log the
    calls issued from the resulting callbacks).


git-svn-id: https://svn.nmap.org/nmap@29133 e0a8ed71-7df4-0310-8962-fdc924857419
[NSOCK] Fixed an epoll-engine-specific bug. The engine didn't recognized FDs
that were internally closed and replaced by other ones. This happened during
reconnect attempts.

--

When reconnecting with SSL_OP_NO_SSLv2 (nsock_core.c:472), the libary closes the
fd of the current IOD, and replaces it by a new one.

The man page for epoll_ctl states that a close() on a fd makes it removed from
any epoll set it was in. Therefore, if epoll_ctl(EPOLL_CTL_MOD, ...) returns
ENOENT, we retry with EPOLL_CTL_ADD.


git-svn-id: https://svn.nmap.org/nmap@29134 e0a8ed71-7df4-0310-8962-fdc924857419
Adds http-phpself-xss : NSE to detect PHP files vulnerable to reflected cross site scripting via $_SERVER["PHP_SELF"]

git-svn-id: https://svn.nmap.org/nmap@29135 e0a8ed71-7df4-0310-8962-fdc924857419
Fix error in http-vhosts when domain is nil

./scripts/http-vhosts.nse:502: attempt to concatenate local 'domain' (a
nil value)
stack traceback:
        ./scripts/http-vhosts.nse:502: in function 'makeTargetName'
        ./scripts/http-vhosts.nse:542: in function
<./scripts/http-vhosts.nse:532>
        (...tail calls...)

git-svn-id: https://svn.nmap.org/nmap@29139 e0a8ed71-7df4-0310-8962-fdc924857419
Convert ssl-known-key to use sslcert.lua library
Add Henri to the commiters.txt list (he already was a committer)

git-svn-id: https://svn.nmap.org/nmap@29142 e0a8ed71-7df4-0310-8962-fdc924857419
Added tls-nextprotoneg, a script that enumerates a TLS server's supported protocols by using the next protocol negotiation extension.

git-svn-id: https://svn.nmap.org/nmap@29144 e0a8ed71-7df4-0310-8962-fdc924857419
Avoid using http cache for http-form-fuzzer

git-svn-id: https://svn.nmap.org/nmap@29145 e0a8ed71-7df4-0310-8962-fdc924857419
Add ssl-known-key to default category
Merge branch 'ssl-known-key-sslcert'

git-svn-id: https://svn.nmap.org/nmap@29146 e0a8ed71-7df4-0310-8962-fdc924857419
Merged metasploit-info from my dev branch

git-svn-id: https://svn.nmap.org/nmap@29147 e0a8ed71-7df4-0310-8962-fdc924857419
Modified multiple scripts that operated against HTTP based services so as to remove false positives that were generated when the target service answers with a 200 response to all requests.

Some scripts that had been previously modified were updated so that the debug output was consistent.

A few scripts were calling identify_404 with host.ip as opposed to the proper host object.  This has been adjusted as well.

git-svn-id: https://svn.nmap.org/nmap@29148 e0a8ed71-7df4-0310-8962-fdc924857419
Added http1.1 to the list of known protocols. (Checked by Chromium)

git-svn-id: https://svn.nmap.org/nmap@29150 e0a8ed71-7df4-0310-8962-fdc924857419
Reversed commit to lltd-discovery that went with one to tls-nextprotoneg.

git-svn-id: https://svn.nmap.org/nmap@29151 e0a8ed71-7df4-0310-8962-fdc924857419
A change to matchline for Atmail IMAP4 server to make it more flexible when dealing with different capabilities configurations.

git-svn-id: https://svn.nmap.org/nmap@29160 e0a8ed71-7df4-0310-8962-fdc924857419
Added sip-call-spoof script which spoofs a call to a SIP phone and detects the action taken by the target.

git-svn-id: https://svn.nmap.org/nmap@29161 e0a8ed71-7df4-0310-8962-fdc924857419
Added sip-methods script which enumerates a SIP server's allowed methods.

git-svn-id: https://svn.nmap.org/nmap@29162 e0a8ed71-7df4-0310-8962-fdc924857419
Functions from http library that make requests now always return a table.

git-svn-id: https://svn.nmap.org/nmap@29163 e0a8ed71-7df4-0310-8962-fdc924857419
Added irc-sasl-brute script which performs brute force password auditing against IRC servers supporting SASL authentication.

git-svn-id: https://svn.nmap.org/nmap@29164 e0a8ed71-7df4-0310-8962-fdc924857419
Added an unrequired library and fixed a typo.

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