1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 23:19:03 +00:00
Commit Graph

2789 Commits

Author SHA1 Message Date
fyodor
966b9fa0d2 rename SNMPsysdesr.nse to SNMPsysdescr.nse 2008-09-05 06:53:00 +00:00
david
b3eddfe90a Remove the nselib-bin directory. Almost all references to it have been removed
too. The section in scripting.xml about creating C modules is gone. (But maybe
it should be replaced with a tutorial on making static modules?) The only
places where nselib-bin is still referenced are in mswin32/nsis/Nmap.nsi, where
it is still removed on uninstallation; and in mswin32/nmap.vcproj, from where I
don't have the resources now to remove it.
2008-09-05 05:32:06 +00:00
david
12f272d4d6 Don't register the nselib-bin directory any longer in init_setpath in
nse_init.cc. Because that directory isn't created on installation any longer it
was causing an NSE error: "SCRIPT ENGINE: error while initializing Lua State:
'nselib-bin/' not a directory"
2008-09-05 05:12:23 +00:00
fyodor
f49082d2bf Clarify and reorder CHANGELOG entries in prep for next release. More work is still needed 2008-09-05 04:27:36 +00:00
fyodor
27374d6531 Add the new port frequency features to the CHANGELOG 2008-09-05 02:49:51 +00:00
fyodor
415bcdf1a6 complete merge of r9957 from bhdc08: Replace nmap-services with a new one which includes port frequency information generated from large-scale scanning 2008-09-05 02:07:43 +00:00
fyodor
1d85a02324 partial merge r9957 in bhdc08: nmap-services port frequency format has been changed to use percentage ratios in the file rather than fractional format (though the latter is still accepted) 2008-09-05 02:06:29 +00:00
fyodor
2ba3a3878d o Added dns-safe-recursion-port and dns-safe-recursion-txid (non
default NSE scripts) which use the 3rd party dns-oarc.net to test
  the source port and transaction ID randomness of a discovered DNS
  server (assuming it allows recursion at all).  These scripts were
  contributed by Brandon Enright.
2008-09-05 02:04:07 +00:00
fyodor
1db6d9a977 merge r9303 from bhdc08: lightly document the top ports functionality, including --top-ports, and --port-ratio. Doug actually wrote this way back before we had actual top ports data. It could use expansion to describe the default behavior, changes to -F, etc. 2008-09-05 01:59:30 +00:00
fyodor
b1d225e5c8 merge r9301 from bhdc08: make the default behavior when using a frequency-augmented nmap-services be to scan 1000 ports in each protocol rather than all ports with a frequency > 0.01 2008-09-05 01:58:31 +00:00
fyodor
8e534f6570 improve header text 2008-09-05 01:58:11 +00:00
david
854a04b21c Add a guard against getaddrinfo returning no addresses in tcpip.cc. 2008-09-04 14:41:59 +00:00
david
76dd72ba94 Add a guard against getaddrinfo returning an empty list of addresses in
l_nsock_connect. It hasn't been reported to cause problems but will cause a
crash if it ever happens.
2008-09-04 14:36:48 +00:00
david
a9799715e5 CHANGELOG:
o Added some Windows and MinGW compatibility patches submitted by
  Gisle Vanem.
2008-09-04 14:28:26 +00:00
david
24042b3362 Check for the linked list returned by getaddrinfo being NULL as well as a
non-zero return code in TargetGroup.cc. Apparently on Windows XP SP3 at least
getaddrinfo can return success but give you an empty list.
2008-09-04 14:27:55 +00:00
batrick
fa034c1ac9 Changed a struct to use const char *'s to remove a compilation warning. 2008-09-03 22:27:24 +00:00
batrick
cc8f9133ae Made corrections to initialization so that compilation/runtime errors
in scripts no longer cause the script engine to abort.
2008-09-03 22:26:51 +00:00
batrick
1d539a2b1c Removed old unused procedure. 2008-09-03 22:16:59 +00:00
sven
801e537697 Fix a bug in --script-trace hex dump output resulting in bytes with highest bit set to be prefixed by ffffff. 2008-09-03 22:09:15 +00:00
fyodor
f3e1777d95 a couple suggestions from Eric Krosnes 2008-09-03 20:20:29 +00:00
fyodor
9af38870d3 fix some typos found by Eric Krosnes 2008-09-03 20:14:23 +00:00
fyodor
01c39eeb26 fix typo 2008-09-03 19:33:53 +00:00
fyodor
bed9523832 o Updated rpcinfo NSE script to use the new pack/unpack (binlib)
functions, use the new tab library, include better documentation, and
  fix some bugs. [Sven Klemm]
2008-09-03 08:31:05 +00:00
fyodor
f67049b2d3 o Fix a bug in the NSE http library which would cause some scripts to
give the error: SCRIPT ENGINE: C:\Program
  Files\Nmap\nselib/http.lua:77: attempt to call field 'parse' (a nil
  value) [Jah]

Also added Win2K dependencies section to nmap-install (I should have
done a separate checkin for that)
2008-09-03 06:22:13 +00:00
fyodor
e30ba96035 o The NSE datafiles library now has generic file parsing routines, and
the parsing of the standard nmap data files (e.g. nmap-services,
  nmap-protocols, etc.) now uses those generic routines.  NSE scripts
  and libraries may find them useful for dealing with their own data
  files, such as password lists. [Jah]
2008-09-03 02:42:02 +00:00
fyodor
a5de49445c improve an openssh hpv match line - patch by Matt Selsky 2008-09-03 01:18:07 +00:00
fyodor
be9e8bf7b1 o Fixed a Makefile problem (race condition) which could lead to build
failures when launching make in parallel mode (e.g. -j4). [Michal
  Januszewski]
2008-08-30 22:01:45 +00:00
david
b9c3cc90d4 Uncommit some files accidentally committed in r9869. 2008-08-30 21:09:01 +00:00
david
20f38fcf15 Add CHANGELOG entry for higwidgets move. Rewrap another entry to 70 columns. 2008-08-30 21:07:38 +00:00
fyodor
c5a6e3844f o Added new addrow() function to NSE tab library. It allows
developers to add a whole row at once rather than doing a separate
  add() call for each column in a row. [Sven Klemm]
2008-08-30 19:38:51 +00:00
david
8bc4a2ced3 Document something in NMAP_MODIFICATIONS I forgot to document before. It's from
when I adapted some libdnet 1.11 code to convert a dnet name to a pcap name by
matching hardware addresses. I removed an earlier comment that this one
supersedes.
2008-08-30 04:39:30 +00:00
david
dacdf9409a Expand the sorting text to include all the letters of the index entry text when
using sortas in an index entry. Previously I had things like

<indexterm><primary sortas="nmap"><filename>.nmap</filename> filename extension</primary></indexterm>
<indexterm><primary sortas="nmap"><filename>.nmap</filename> directory</primary></indexterm>

which, because they have the same sort key, would result in one index entires
under either ".nmap filename extension" or ".nmap directory", with the page
numbers for both. Now I just spell out the full text: sortas="nmap filename
extension".
2008-08-30 00:15:09 +00:00
david
4cd828f92b Eliminate a spurious blank in scripting.xml caused by a line break inside an
emphasis element.
2008-08-29 22:15:25 +00:00
david
66a11a5b99 Remove source files of old dynamic NSE bitlib. 2008-08-29 21:14:46 +00:00
david
876ce5ee7c Remove bit from nselib-bin/Makefile.in. I thought it had been done already.
This makes the rule to generate a module general so all you should have to do
in the common case is add <module>.so as a dependency of the "all" target.
2008-08-29 21:05:45 +00:00
david
0c4deb5b95 Use nbase's s8, u8, s16, etc. types for specific-size integers rather than the
nonstandard u_int8_t and so on.
2008-08-29 20:57:36 +00:00
david
986b7f8978 Uncomment the nselib_dist_clean Makefile target. 2008-08-29 20:37:47 +00:00
david
ba27a7308c Copy libdnet-stripped/include/dnet/os.h from libdnet 1.12. This avoids a
duplicate typedef of ssize_t.
2008-08-29 20:23:56 +00:00
david
8d98a1d9c5 Don't link explicitly with liblua in nselib-bin. This was never really correct
and it doesn't work on x86_64.
2008-08-29 14:54:34 +00:00
david
a8976a39a4 Don't look for /usr/libexec/nmap in nmap.spec.in because there are no dynamic
modules to install any more.
2008-08-29 14:37:25 +00:00
fyodor
8b29c19a76 o The NSE http library now supports chunked encoding. [Sven Klemm] 2008-08-29 09:24:24 +00:00
fyodor
5c12162dd6 latest rebuild 2008-08-29 09:24:15 +00:00
fyodor
f6cfe82658 o Fix a number of NSE scripts which used print_debug()
incorrectly. See
  http://seclists.org/nmap-dev/2008/q3/0470.html. [Sven Klemm].
2008-08-29 09:16:22 +00:00
fyodor
a6b976cc89 add xcopy command to post-build event to copy nselib/data directory in Windows builds. Patch from Jah. 2008-08-29 08:58:53 +00:00
fyodor
8eecdfba82 documentation updates from Thomas Buchanan 2008-08-29 08:49:21 +00:00
fyodor
5f89113ea3 trivial typo fix 2008-08-29 08:17:39 +00:00
fyodor
d2aa222e25 Applied some version detection signature updates from Marco Balduzzi 2008-08-29 07:45:38 +00:00
david
4ab33440fc Uncomment the nselib_clean target so "make clean" works. 2008-08-28 21:28:36 +00:00
david
5a38316995 Uncomment the nsestdlib target. Even though it's a no-op another part of the
makefile was looking for it.
2008-08-28 01:35:34 +00:00
batrick
684857c11c Fixed a syntax error in the VCPROJ file. 2008-08-27 22:24:59 +00:00