1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-06 13:36:36 +00:00
Commit Graph

582 Commits

Author SHA1 Message Date
bmenrigh
03c139ff89 Fixed (removed) the use of strtok in TargetGroup::parse_expr by using
strchr() per David's suggestion.  strtok uses static (global) state to
track the string it is parsing.  In this case, load_exclude was also
using strtok and calling parse_expr which was wiping out the previous
strtok state.  This introduce two bugs, first, only the first exclude
on a line would be loaded from the exclude file, and second, there was
an invalid access into free()'d memory in load_exclude (found with
Valgrind).  The use of strtok should be highly discouraged because
these types of bugs are so easy to introduce.
2009-03-16 21:31:57 +00:00
fyodor
58531728a3 more trivial CHANGELOG changes 2009-03-15 23:13:35 +00:00
fyodor
2427aba106 Minor CHANGELOG update 2009-03-15 23:08:23 +00:00
david
10962f4fc0 A bug was fixed in route finding on BSD Unix. The libdnet function
addr_stob didn't handle the special case of the sa_len member of
struct sockaddr being equal to 0 and accessed unrelated memory past
the end of the sockaddr. A symptom of this was the fatal error
  nexthost: failed to determine route to ...
which was caused by the default route being assigned a netmask other
than 0.0.0.0.
2009-03-15 22:55:20 +00:00
fyodor
2c99534da8 Some trivial changes to CHANGELOG 2009-03-15 19:23:00 +00:00
fyodor
608d6f3d12 Update CHANGELOG in prep for 4.85BETA4 release 2009-03-15 08:32:59 +00:00
david
fd202518ee [Zenmap] A crash was fixed that would happen when you ran a scan
that didn't produce any host output (like "nmap --iflist") and then
tried to remove it from the inventory. [David]
The crash looked like
  ValueError: list.remove(x): x not in list
2009-03-13 18:08:11 +00:00
david
f3a4f40583 Document some new Ncat features and fixes in CHANGELOG. 2009-03-12 18:09:36 +00:00
david
df7f565cc5 [Ndiff] Added a workaround for a bug in PyXML. The bug would cause a
crash that looked like "KeyError: 0". Fyodor reported the error.
2009-03-10 15:31:27 +00:00
david
2e8c2cf97d [Zenmap] Fixed a crash when something that looked like a format
specifier (like %y) appeared in a profile. The error message was
  ValueError: unsupported format character 'y' (0x79)
2009-03-09 18:10:19 +00:00
ron
8424be764d Updated CHANGELOG with the major changes I've made since my last merge 2009-03-05 02:30:17 +00:00
ron
45744eddc3 Merge in changes from my private branch, primarily smb-brute.nse and smb-pwdump.nse, among other smaller changes. 2009-03-05 02:03:29 +00:00
david
523452a0d0 o Fixed the install-zenmap make target for Solaris portability.
Solaris /bin/sh does not have test(1) -e. [Daniel Roethlisberger]
2009-03-04 18:33:15 +00:00
david
5ed0e17ea0 Treat a service named "unknown" as if it were not named in nmap-services for
purposes of output. What this means is that the port name will not be
"unknown?" or "ssl/unknown?" if version detection failed to find a match, but
simply "unknown" or "ssl/unknown".
2009-03-03 18:56:21 +00:00
david
72d3ffe636 Version detection used to omit the "ssl/" service name prefix if an
SSL-tunneled port didn't respond to any version probes. Now it keeps "ssl/" as
an indication that SSL was discovered, even if the service behind it wasn't
identified. Kristof Boeynaems reported the problem and contributed a patch.
2009-03-03 17:38:28 +00:00
david
52902e43ea Change the Ncat --talk option to --chat. --talk remains an undocumented alias. 2009-03-03 03:20:23 +00:00
david
8827e6778a Document SEQ.CI in CHANGELOG. Add it to nmap-os-db with MatchPoints of 0, not
that it matters because there are no prints that have it yet.
2009-02-25 00:37:21 +00:00
david
f9f928e9ce OS fingerprints now include the SEQ.II test (ICMP IP ID sequence
generation) even if there are no other SEQ test results. Try it with
"nmap -O -d -p 113 scanme.nmap.org". Now you get SEQ(II=I) instead of no
SEQ line at all.
2009-02-24 21:08:38 +00:00
david
0970e3c255 Add to CHANGELOG:
o [NSE] A new function stdnse.sleep allows a script to sleep for a
  given time (and yield control to other scripts). [David]
2009-02-24 00:28:35 +00:00
david
486ff13e3a Add the --stats-every option. See http://seclists.org/nmap-dev/2009/q1/0404.html. 2009-02-24 00:23:54 +00:00
david
5d2393d115 Add to CHANGELOG:
o [Ncat] The syntax accepted by the --allow, --deny, --allowfile, and
  --denyfile options is now the same as Nmap's target specifications.
  Additionally any errors in the allow or deny specifications are
  reported when the program starts, not deferred until a connection is
  received. [David]
2009-02-22 02:58:09 +00:00
fyodor
3d6a57c585 Khottabych movie 2009-02-18 03:33:50 +00:00
fyodor
874318bb34 note LQ award 2009-02-17 05:28:41 +00:00
david
df25884daa Add to CHANGELOG:
o [Ncat] The --send-only and --recv-only options now work in listen
  mode as well as connect mode. [David]
2009-02-13 21:21:22 +00:00
david
f2bbe854c8 Use unsigned chars when writing an Ncat hex dump file. On platforms with signed
chars, bytes with value above 0x7F were being sign-extended within a three-byte
buffer to become FFF. This made output like

[0000]   16 03 00 00 53 01 00 00   4F 03 00 3F 47 FFFFFFFFF  ....S... O..?G...
[0010]   2C FFFFFFFFF60 7E FFF00   FFFFFF7B FFFFFFFFFFFF77   ,...`~.. ..{....w
[0020]   FFFFFFFFFFFF3C 3D FFF6F   FFF10 6E 00 00 28 00 16   ....<=.o ..n..(..

Fixed, it looks like

[0000]   16 03 00 00 53 01 00 00   4F 03 00 3F 47 D7 F7 BA   ....S... O..?G...
[0010]   2C EE EA B2 60 7E F3 00   FD 82 7B B9 D5 96 C8 77   ,...`~.. ..{....w
[0020]   9B E6 C4 DB 3C 3D DB 6F   EF 10 6E 00 00 28 00 16   ....<=.o ..n..(..
2009-02-12 17:30:07 +00:00
david
1d1ca5346c Add a Croatian translation of Zenmap by Vlatko Kosturjak. 2009-02-08 20:52:16 +00:00
david
1252aa00fa Add CHANGELOG credits for the users who sent in reports for the
dns-zone-transfer.nse parsing bug.
2009-02-07 07:28:54 +00:00
david
e6d6e8d83e Fixed a DNS decoding bug in dns-zone-transfer.nse that created
garbage output and could crash Zenmap by including 0x0C bytes in XML
files. The Zenmap crash looked like
  SAXParseException: .../zenmap-XXXXXX.xml:39:290: not well-formed (invalid token)
2009-02-06 19:25:11 +00:00
david
00b65b7768 Remove script args that are inherited from modules from sript documentation.
Such args are now included automatically in the generated documentation.
2009-02-05 23:45:12 +00:00
david
b369fd3c5b Add a patch from Henri Doreau that fixes an integer overflow in
ScanProgressMeter.
2009-02-04 23:24:49 +00:00
david
c5cf99a014 Canonicalize the formatting of some CHANGELOG credits. 2009-02-04 22:50:53 +00:00
david
7f3effda4a o [Ndiff] Ndiff is now included in the Windows zip distribution. For
space reasons, it is not an executable compiled with py2exe as in
  the executable installer, rather it is the Ndiff source code
  (ndiff.py) and a batch file wrapper (ndiff.bat). Because it's not
  precompiled, it's necessary to have a Python interpreter
  installed. [David]
2009-02-04 22:48:21 +00:00
david
a041909485 Call locale.getdefaultlocale to get the system locale setting instead of
relying on gettext.install to do it. locale.getdefaultlocale checks the LANG
environment variable like gettext.install does, but it additionally does
platform-specific checks that remove the need to set LANG on Windows.
2009-02-03 23:54:58 +00:00
david
8aa4ab72a8 Add to CHANGELOG:
o [Zenmap] Removed some unnecessary GTK+ files from the files
  installed by the Windows executable installer [David].
2009-02-03 21:52:35 +00:00
david
71a2cd30f2 Tweaked the file format of the topology icons (firewall.png, padlock.png, etc.)
in an attempt to improve compatibility with some versions of GTK+. This may fix
a crash like
  File "radialnet/gui/Image.py", line 53, in get_pixbuf
    self.__cache[icon + image_type] = gtk.gdk.pixbuf_new_from_file(file)
  GError: Couldn't recognize the image file format for file 'radialnet/padlock.png'
All I did was open the files in the GIMP and resave them.
2009-02-03 20:44:18 +00:00
fyodor
24327d201d final changelog entries in prep for 4.85BETA3 2009-02-03 02:34:11 +00:00
fyodor
c23d98cae5 o Revert the temporary GTK DLL workaround (r11899) which added
duplicate DLL files to the distribution.  David found that using a
  different GTK download fixed the problem (see
  docs/win32-installer-zenmap-buildguide.txt) and Fyodor was able to
  reproduce and implement.
2009-02-03 02:03:48 +00:00
kris
006b5b863b Upgrading shipped OpenSSL for Windows to 0.9.8j 2009-02-02 18:41:34 +00:00
david
339d72883e Fix a Zenmap crash that happened when running a scan from the command wizard. 2009-02-02 18:28:51 +00:00
kris
3348faca3a update ip_is_reserved(): 109/8 and 178/8 allocated 2009-02-02 18:02:41 +00:00
fyodor
a8ff6858b4 o The conditions for printing OS fingerprints to XML output are now
the same as are used to decide whether to print them in the other
  formats. So they will be printed if submission is desirable,
  otherwise they are only printed if debuging is enabled or verbosity
  is 2 or higher. [Tom Sellers]
2009-02-01 21:08:39 +00:00
fyodor
520081e34e Fix Ncat compilation with the MingW windows compiler. [Gisle Vanem] 2009-01-31 09:51:48 +00:00
fyodor
b290ec93af prep for 4.85BETA2 release 2009-01-30 05:29:46 +00:00
fyodor
298d17268e o Made a few improvements to nmap.xsl (details:
http://seclists.org/nmap-dev/2009/q1/0210.html) [Tom Sellers]
2009-01-28 00:57:57 +00:00
david
a5b73cf906 Rename the xampp-default-auth script to ftp-brute. Incorporate some code
improvements in the script from Vlatko Kosturjak. Remove the nobody/e0e0e0e0
test credentials because I can't find a web source to substantiate them.
2009-01-26 06:02:45 +00:00
fyodor
a52108c995 CHANGELOG spell-checking patch by Armin Mueller 2009-01-25 19:57:25 +00:00
david
0a18abd154 Add a new French Zenmap translation by Gutek. 2009-01-24 17:00:56 +00:00
kris
26ffc470ab typo 2009-01-24 04:04:32 +00:00
david
6f5c4b5070 In Makefile.in, have ncat_build depend on nbase_build and nsock_build to
avoid a race condition. "make all" would make nsock and ncat, and ncat
would in turn make nsock. If the timing was right, the two simultaneous
builds would trample each other.

It may seem inefficient to have all these recursive makes calling down
the dependency tree all the time, but GNU Make at least remembers which
targets were already completed so for example only one descent into
nbase_build will be done per "make all".
2009-01-23 23:05:37 +00:00
david
98f31853e6 Fix a typo in CHANGELOG, and fix a reproduction recipe. To get a half-complete
XML file, do "nmap 0 -oX -", not "nmap nonexistent -oX -". The first is an
invalid host specification, the second is just a name resolution error. The
original recipe was wrong in the log of the commit that fixed the problem.
2009-01-23 22:30:31 +00:00