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

4571 Commits

Author SHA1 Message Date
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
batrick
8a44c9432d Updated NSE's bit library to no longer be a shared library.
See this thread: http://seclists.org/nmap-dev/2008/q3/0404.html
2008-08-27 22:23:50 +00:00
david
37402de4e1 Mention that you have to set nmap_command_path in zenmap.conf if you're using
the nmap from Fink or MacPorts.
2008-08-27 13:57:21 +00:00
fyodor
a028bf83b4 add Cyrus Murder mupdate signatures and service listing from Matt Selsky 2008-08-26 18:45:24 +00:00
david
0a64626a4c Change the output label "Uptime" to "Uptime guess" and print it only in verbose
mode.
2008-08-26 17:40:19 +00:00
fyodor
dc74809a68 Applied patch from Jah:
Attached corrects answerFetcher[types.TXT]() in dns.lua which inserts
v.data into answers only if v.domain is present - I believe the test
should be for v.data.  This was preventing TXT answers from being
returned from dns.query() with the retAll option.
2008-08-26 01:01:27 +00:00
fyodor
64a016a817 o Improve the nebtios-smb-os-discovery NSE script to improve target
port selection and to also decode the system's timestamp from an SMB
  response. [Ron at SkullSecurity]
2008-08-26 00:52:07 +00:00
david
a37d7cf903 Fix a filename in scripting.xml (nselib-bin vs. nselib). 2008-08-25 23:58:19 +00:00
david
46a08eef1f Add CHANGELOG entry.
o Zenmap no longer leaves any temporary files lying around. [David]
2008-08-22 03:25:54 +00:00
david
b7985aef90 Add some changelog entries.
o Nmap sometimes sent packets with incorrect IP checksums,
  particularly when sending the UDP probes in OS detection. This has
  been fixed. Thanks to Gisle Vanem for reporting and investigating the
  bug. [David]

o In the interest of forward compatibility, the xmloutputversion
  attribute in Nmap XML output is no longer constrained to be a
  certain string ("1.02"). The xmloutputversion should be taken as
  merely advisory by authors of parsers.
2008-08-21 17:54:16 +00:00
david
177e2cd4a2 constify the pointer passed to magic_tcpudp_cksum. 2008-08-21 17:43:23 +00:00
pgpickering
9e6a88ad67 changed option in dns.lua 2008-08-21 10:00:25 +00:00
pgpickering
d8bb0e8c73 added NSE DNS library 2008-08-21 09:38:28 +00:00
pgpickering
0e7549c485 added nmap.get_dns_servers() to the NSE 2008-08-21 09:25:28 +00:00
pgpickering
a5b421e67c added get_dns_servers() to nmap_dns.cc/.h 2008-08-21 09:24:35 +00:00
pgpickering
3c9833b57c added nsedoc documentation for the binlib 2008-08-21 09:12:19 +00:00
pgpickering
c007b41389 modified binlib to use type definitions from nbase.h to achieve portability
(especially between 32 and 64 bit platforms)
2008-08-21 08:24:02 +00:00
pgpickering
442288feb2 documented new binlib data types 2008-08-21 08:06:59 +00:00
david
87b54dc9f2 Fix magic_tcpudp_cksum not to write into memory outside the buffer it's passed.
The partial checksum for the TCP/UDP pseudo-header is calculated and then it is
added to the checksum for the rest of the packet. I started to write the
functions for such incremental checksum calculation but then I saw they are
already implemented in libdnet.
2008-08-20 19:52:46 +00:00