1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 06:29:02 +00:00
Commit Graph

2789 Commits

Author SHA1 Message Date
fyodor
fcdf0518cf TODO after talking with David 2009-03-31 00:47:50 +00:00
david
ac21f7fa5b [Zenmap] A bug was fixed that caused a crash when doing a keyword:
or target: search over hosts that had a MAC address. [David] The
crash output was
    File "zenmapCore\SearchResult.pyo", line 86, in match_keyword
    File "zenmapCore\SearchResult.pyo", line 183, in match_target
  TypeError: argument of type 'NoneType' is not iterable
2009-03-30 21:53:52 +00:00
ron
a0d8875867 Fixed a bug where MSRPC would try to sign messages using OpenSSL, even if it wasn't available 2009-03-30 21:32:41 +00:00
kris
97028d6a6f wrap a couple of long doc lines 2009-03-30 20:35:38 +00:00
kris
f6f61ecf83 typos in docs/comments: if->is and alse->false 2009-03-30 20:25:45 +00:00
fyodor
18348ef5ef note -n option 2009-03-30 19:39:47 +00:00
ron
9948b1d7f4 Print Connficker error messages always 2009-03-30 19:16:55 +00:00
fyodor
128ced9517 update version files and man page builds 2009-03-30 18:48:54 +00:00
fyodor
e5e9d869f4 Update in prep for 4.85BETA5 release 2009-03-30 18:40:25 +00:00
ron
67a6886318 Changed spelling of 'Connficker' to 'Conficker' 2009-03-30 15:24:36 +00:00
ron
9060d2fadd Modified smb-check-vulns.nse to check for Connficker infections. Got permission from authors of simple connficker scanner (scs.zip) to post this 2009-03-30 14:46:58 +00:00
fyodor
2d294ff5c7 would be nice for nsedoc to link to script/module source for download or review 2009-03-29 19:51:35 +00:00
batrick
592fa70389 Fixed the LUA_GCCOLLECT define. 2009-03-28 01:08:26 +00:00
batrick
794a0778a8 Similarly to /nmap-exp/patrick/nse-lua-merge:
Changed the garbage collection cycle after all threads in running are run
from a step to a full collection cycle. It can take quite a few steps before
sockets are finally collected so other threads may finish making a connection.
2009-03-28 00:48:49 +00:00
david
e9d7cab6ef The following OS detection tests are no longer included in OS
fingerprints: U1.RUL, U1.TOS, IE.DLI, IE.SI, and IE.TOSI. URL, DLI,
and SI were found not be helpful in distinguishing operating systems
because they didn't vary. TOS and TOSI were disabled in 4.85BETA1
but now they are not included in prints at all.
2009-03-27 23:07:08 +00:00
david
4fc92b216c Tone down the Nsock trace level with --packet-trace, --version-trace,
and --script-trace. It was set at 5, now it's 2. That's enough to see
all the Nsock events and the contents of reads and writes. At 3 you
start to get messages like
	PCAP do_actual_pcap_read READ (IOD #%li) (EID #%li) size=%i
The message "wait_for_events" isn't printed until level 4. Getting rid
of that is the main reason for this change.
2009-03-27 21:37:14 +00:00
fyodor
7fca42a74c Add link to the man page to the usage text. Windows users generally don't have the man command and often don't even know what a man page is. 2009-03-27 19:18:46 +00:00
david
541f8dffd8 Make the Ncat version number follow the Nmap version number. 2009-03-26 22:51:20 +00:00
fyodor
e29e0530af Zenmap throbber 2009-03-26 22:47:45 +00:00
fyodor
7f7a498f8c minor bug: missing some --script arguments in command shown in output files 2009-03-26 22:39:44 +00:00
david
88ad786c73 Remove service fingerprints in anonymize.py because they often contain
identifying information.
2009-03-26 18:45:25 +00:00
david
e178bbbab0 Add to CHANGELOG:
o [Ncat] The --exec and --sh-exec options now work in UDP mode like
  they do in TCP mode: the server handles multiple concurrent clients
  and doesn't have to be restarted after each one. Marius Sturm
  provided the patch.
2009-03-26 15:13:52 +00:00
david
4d73305a5a Add a fix in the calculation of the SEQ.CI test submitted by Guillaume
Prigent. The CI samples could sometimes be written into the TI array.
This would happen if there were any holes in the original CI array.
2009-03-26 14:28:53 +00:00
david
72e9a1fd93 Adjust capitalization of "ndiff" to "Ndiff" in a couple of comments. 2009-03-26 01:57:57 +00:00
david
aba2007634 Expand SEQ.ISR on an nmap-os-db fingerprint for a host I'm currently
scanning.
2009-03-25 19:26:44 +00:00
david
8022051e8c Consolidate two nmap-os-db fingerprints that differed only in the
0-point IE.TOSI and U1.TOS tests.
2009-03-25 17:41:57 +00:00
david
683382bd68 Revert r12572. I remember why I split the element handlers into a helper
function. It was to make it easy to return out of the handler on error and
still have startElement and endElement maintain the element stack.
2009-03-25 16:33:50 +00:00
david
28705df8ac Use substitution to insert the element name in XML parsing error messages. I
had a copy-paste error where a message under "status" referred to the
"extraports" element.
2009-03-25 16:30:26 +00:00
daniel
e011a1bb2e o Nbase has grown routines for calculating Adler32 and CRC32C
checksums. [Daniel Roethlisberger]
2009-03-25 12:49:43 +00:00
david
99ebbe3d13 Fix variables names in the code that generates XML for the host-hostname-remove
and host-hostname add elements to refer to hostnames and not addresses.
2009-03-25 01:35:26 +00:00
fyodor
58dcf94f60 Some TODO changes after chat with David 2009-03-24 23:38:16 +00:00
bmenrigh
1d732258c8 Changed the memory allocation strategy for NmapOutputTable from
estimating the worst-possible-case memory usage (the longest row
length times the number of rows) to a more reasonable dynamic
allocation of memory.  Now the buffer is started at 512 bytes and
approximately doubled each time it fills.  512 bytes is a compromise
that was determined empirically.  Most regular scans use less than 512
bytes.  Scans with -sV and especially -sC tend to use a few k of
memory.

See http://seclists.org/nmap-dev/2009/q1/0782.html for the tests.
2009-03-24 21:18:01 +00:00
david
3af559b852 Only print the "insufficient responses for TCP sequencing" if at least one
response was received, not zero. Because four responses are sufficient, the
message will be printed if one, two, or three reponses were received. The
message started being printed with zero responses in r12285, with an unrelated
change.

The message also now includes the IP address of the relevant host and requires
debugging to be enabled.
2009-03-24 21:04:37 +00:00
david
1b315f7b97 Use the --force option to setup.py when installing Zenmap to prohibit distutils
from retaining old files it doesn't think need to be replaced.
2009-03-24 17:40:50 +00:00
david
5bc82ec633 Make the Scan Output expanders in the Zenmap diff windows work more naturally.
There used to be some complicated logic to resize the whole window when both
the expanders were closed. Just using a better packing strategy is a better
solution.
2009-03-24 16:41:34 +00:00
david
9db5c1fa7e Zenmap no longer shows an error message when running Nmap with options that
cause a zero-length XML file to be produced (like --iflist).
2009-03-23 19:33:31 +00:00
bmenrigh
90b6ee102f Fixed a off-by-one error in printtableSize(). The routine was not
taking into account the fact that each row gets a newline appended and
so was reporting less needed memory that actually necessary in very
special cases.  Patrick found the issue and reported it in
http://seclists.org/nmap-dev/2009/q1/0735.html
2009-03-18 19:09:56 +00:00
david
9c3cc6458b Add new Ndiff version and OS differencing to CHANGELOG. 2009-03-18 02:07:40 +00:00
david
7ecfe34fe5 Add OS difference reporting to Ndiff. It looks like
Remove OS "Linux 2.6.18 - 2.6.25".
        Remove OS "Linux 2.6.8 - 2.6.20".
        Remove OS "OpenWrt (Linux 2.6.19 - 2.6.21)".
        Add OS "Archos 605 WiFi video player".
        Add OS "Linux 2.6.27 (Ubuntu)".
        Add OS "Linux 2.6.22".
        Add OS "Linux 2.6.27".
2009-03-18 01:21:25 +00:00
david
ccd55623c7 Record OS information in Ndiff. 2009-03-18 00:09:14 +00:00
fyodor
90f6d38a15 kill an extra newline 2009-03-17 09:11:16 +00:00
fyodor
088466c70d changes from discussion w/David 2009-03-16 23:35:46 +00:00
david
d87c54bbcf Remove some extra blanks from the dragon ASCII art so its teeth and back line
up better.
2009-03-16 22:51:47 +00:00
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
david
fd41fcd0f7 Include service detection information in Ndiff output. Change the output format
from

	21/tcp is open, was filtered.
	23/tcp is open, was filtered.
	80/tcp is open, was filtered.
	8701/tcp is filtered, was open.

to

	-21/tcp filtered  
	+21/tcp open ftp Netgear broadband router ftpd 1.0
	-23/tcp filtered  
	+23/tcp open telnet Netgear broadband router admin telnetd
	-80/tcp filtered  
	+80/tcp open http Embedded Allegro RomPager webserver 4.07 UPnP/1.0 (ZyXEL ZyWALL 2)
	-8701/tcp open unknown 
	+8701/tcp filtered
2009-03-16 19:53:34 +00:00
fyodor
5e5d997335 Add back the -r option to zip so that it recurses into the directory 2009-03-15 23:29:03 +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