1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-18 12:19:02 +00:00
Commit Graph

6266 Commits

Author SHA1 Message Date
david
c31c0d520f Update for new third-party licenses layout. 2010-10-30 02:45:27 +00:00
david
dba1d73570 Rearrange third-party license files. 2010-10-30 02:15:00 +00:00
patrik
d0eecf5392 Fixed the following error reported by Ron:
NSE: test threw an error!
[string "local connect, socket_lock = ...;..."]:4: bad argument #2 to 'connect' (string expected, got boolean)
stack traceback:
       [C]: in function 'connect'
       [string "local connect, socket_lock = ...;..."]:4: in function 'connect'
       ./nselib/dns.lua:53: in function 'sendPackets'
       ./nselib/dns.lua:252: in function <./nselib/dns.lua:215>
       (tail call): ?
       (tail call): ?
       (tail call): ?
       (tail call): ?
       ././test.nse:41: in function <././test.nse:15>
       (tail call): ?

[Patrik]
2010-10-29 17:19:06 +00:00
david
2646189afe In sample-script.nse, wrap long lines to 80 columns, edit formatting a
bit.
2010-10-29 16:11:05 +00:00
kris
b69d93e2ab o [NSE] Added the ssh2-enum-algos script which reports the number of
algorithms the target SSH2 server supports, by type. If verbosity
  is set, then the offered algorithms are listed. Output is reduced
  for identical "client to server" and "server to client" lists by
  using a single combined list. [Kris]
2010-10-29 14:30:00 +00:00
ron
af72edc2a5 Fixed a bug (misspelled variable) in dns.lua 2010-10-29 13:01:37 +00:00
ron
fe91dce037 Added a sample script template 2010-10-29 12:56:00 +00:00
patrik
2c7045aa10 Fixed variable 'host' is not declared in dns.lua, reported by Ron and
introduced by me when adding multicast support. [Patrik]
2010-10-29 05:03:39 +00:00
ron
13bb98b8b8 Bring in changes from my experimental brange, nmap-http 2010-10-27 03:08:08 +00:00
fyodor
a4428dc760 note that David fixed a small NSEDoc bug 2010-10-26 21:32:21 +00:00
djalal
63f25dcc97 Add more NSEDoc and remove obsolete functions: ToAclMode() replaced by FmodeToOctalString() and ToAclText() replaced by FpermToString(). 2010-10-20 17:33:06 +00:00
luis
d0a4d0ad50 Moved function max_sd() to libnetutil. Also, two new helper functions have been added. 2010-10-20 15:57:50 +00:00
djalal
00e4f1637d Update CHANGELOG file. 2010-10-20 15:55:47 +00:00
david
274d5ccca3 Remove an unused parameter to pkey_type_to_string and fix its documentation. Patch by Matt Selsky. 2010-10-20 15:48:14 +00:00
djalal
7b9b094ea5 Make the script able to add new discovered DNS records onto Nmap scanning queue. 2010-10-20 15:47:54 +00:00
djalal
05d8430ecf NSEDoc cleaning and whitespace formatting. 2010-10-20 14:12:11 +00:00
kris
8a62c6be41 Fix pkey_type_to_string() in r20679 which was returning "rsa" for EVP_PKEY_DSA
(and remove breaks after returns)
2010-10-20 05:55:35 +00:00
david
877cbab16f o [NSE] Added reporting of the type and bit size of certificate public
keys to ssl-cert.nse. [Matt Selsky]
2010-10-20 05:49:17 +00:00
fyodor
180066a4aa note a couple done items 2010-10-19 23:23:47 +00:00
kris
5e9277cc3a updating ip_is_reserved(): 36/8 and 42/8 allocated 2010-10-19 19:55:03 +00:00
david
894d5143bf Fix typo. 2010-10-19 02:37:00 +00:00
ron
38ef99bde4 Add back the old fingerprint files. 2010-10-18 21:28:20 +00:00
ron
5460e9c0bf Add back the old fingerprint files. 2010-10-18 21:27:31 +00:00
ron
2608bae6ca Rollback the changes to the HTTP library I accidentally commited in the last revision 2010-10-18 21:23:24 +00:00
ron
b8e712ceeb Added a couple shares to the list of common ones (requested on IRC by kraigus) 2010-10-18 21:16:48 +00:00
fyodor
89144949b5 Update the copyright notice date from 2009 to 2010. Maybe it would have been easier to just wait 2.5 months and use 2011 :) 2010-10-18 07:59:19 +00:00
fyodor
203d423d50 Added upnp-info to the discovery category 2010-10-16 21:45:08 +00:00
fyodor
73495762ca regen man pages 2010-10-16 19:40:21 +00:00
fyodor
7607cfb750 regen the chines man page nroff 2010-10-16 19:39:16 +00:00
fyodor
bb4501d4e8 resort 2010-10-16 19:38:14 +00:00
david
f8c32e0971 Fix a typo found by Gutek. 2010-10-16 17:47:36 +00:00
david
703e00d65d Add to CHANGELOG:
o [NSE] Added the db2-discover script. This can find DB2 servers by
  sending a UDP broadcast. [Patrik]
2010-10-16 17:30:09 +00:00
david
696d1946c2 Fix typo. 2010-10-16 17:27:28 +00:00
david
dd7a40b288 Add hostmap.nse from Ange Gutek. 2010-10-16 03:01:08 +00:00
david
f9c55c71b6 Fix an error I added in formatScriptOutput. It caused a segmentation
fault when a script produced an empty string as a result.
2010-10-16 02:21:44 +00:00
david
d096dd7626 Update script.db. 2010-10-16 01:59:08 +00:00
david
18157ed081 Merge from /nmap-exp/david/nmap-unconnected. This adds unconnected
socket support to NSE, with updates in scripts and libraries.

o [NSE] Added the ability to send and receive on unconnected sockets.
  This can be used, for example, to receive UDP broadcasts without
  using pcap. A number of scripts have been changed so that they can
  work as prerule scripts to discover services by UDP broadcasting,
  optionally add the discovered targets to the scanning queue:
    - ms-sql-info
    - upnp-info
    - dns-service-discovery
  The nmap.new_socket function can now optionally take a default
  protocol and address family, which will be used if the socket is not
  connected. There is a new nmap.sendto function to be used with
  unconnected UDP sockets. [David, Patrik]
2010-10-16 00:48:44 +00:00
david
20cbbfb014 Add notice of extra binary libraries included in the binary packages. 2010-10-16 00:04:26 +00:00
patrik
1aed246b69 fixed bug in authentication encryption function as reported by Sergey
http://seclists.org/nmap-dev/2010/q4/83

changed the way the library reports "Must change password at next logon"
fixed bug in ms-sql-hasdbaccess that would occur if no rows were returned
[Patrik]
2010-10-15 19:47:54 +00:00
david
ce075558de Include third-part license notices in Windows packages. 2010-10-14 05:22:42 +00:00
david
9720b7b500 Add the license of libgailutil, which is in the Windows package. 2010-10-14 05:10:03 +00:00
david
e3164f757f Add licenses for all the libraries I found in the Frameworks directory of the Mac OS X package. 2010-10-14 04:10:23 +00:00
fyodor
57ce7340a8 add small note about resolveall.nse 2010-10-14 00:39:03 +00:00
kris
e297c8de73 update script name in @output 2010-10-13 03:52:34 +00:00
kris
40a4644055 o [NSE] Improved ssh2's kex_init() parameters: all of the algorithm
and language lists can be set using new keys in the "options" table
  argument. These all default to the same value used before. Also, the
  required "cookie" argument is now replaced by an optional "cookie"
  key in the "options" table, defaulting to random bytes as the RFC
  says the value should be. [Kris]

Only ssh2's fetch_host_key() uses this function, but I'm working on
a script and noticed the design flaw regarding the cookie arg (scripts
shouldn't be required to always pass this when it's specified that its
value should be random).  The rest was added because the default is
just a subset of algorithms offered across implementations.
2010-10-13 03:34:00 +00:00
fyodor
37d3bf21c0 note a done task 2010-10-13 00:08:23 +00:00
kris
8d7d95ba57 update script.db 2010-10-13 00:06:39 +00:00
david
fce6f3e185 Include a directory of licenses in the installer. 2010-10-12 22:55:45 +00:00
david
6232cb13ac Define OPENSSL_FIPS=1. This is required to have EVP_sha256 (used by Nping) when
linking against the 10.4u SDK.
2010-10-12 22:52:56 +00:00
david
ef46d67790 Add a couple more hyperlinks. 2010-10-12 05:06:02 +00:00