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

3106 Commits

Author SHA1 Message Date
fyodor
b9d845b9ab Change 10 to 10.0 in pow() calls to make it clear that it is a double 2009-03-31 22:29:03 +00:00
fyodor
d46395db25 Nmap 4.85BETA6 autobuilt and version files 2009-03-31 22:19:16 +00:00
fyodor
2bf410a185 CHANGELOG for 4.85BETA6 2009-03-31 22:10:20 +00:00
david
16121b372c Add a round trip time estimate to host status lines. It looks like
Host scanme.nmap.org (64.13.134.52) is up (0.071s latency).
2009-03-31 21:21:36 +00:00
ron
74ffd7b4c7 Raise timeout for SMB scans to 20 seconds -- I got several error reports due to timeouts 2009-03-31 20:30:45 +00:00
david
d1a77bb85e Simplify and combine the write_host_status code for ping scan and port
scans. This is the code that prints
	Host ... appears to be up.
	Host ... appears to be down.
	Host ... appears to be up ... good.
	Host ... appears to be down, skipping it
Except that now these messages are uniform and are
	Host ... is up.
	Host ... is down.
In addition, the host state --reason information is printed for port
scans just as for ping scans, which appears to have been an oversight
before.
2009-03-31 19:57:25 +00:00
david
fbb73481d3 Zenmap] A typo that led to a crash if the ndiff subprocess
terminated with an error was fixed. The message was
  File "zenmapGUI\DiffCompare.pyo", line 331, in check_ndiff_process
UnboundLocalError: local variable 'error_test' referenced before assignment
2009-03-31 19:35:41 +00:00
david
7872aafa5d Update the global o.numhosts_scanning variable within ultra_scan, so
that it is set properly for ping scan. Previously status reports during
ping scan always looked like

Stats: 25:34:33 elapsed; 991232 hosts completed (72530 up), 0 undergoing Ping Scan

Note the "0 undergoing". Now that number will be set to 4096 or whatever
the current ping scan group size happens to be.
2009-03-31 18:29:52 +00:00
david
1e6204ffe0 [Zenmap] A crash was fixed:
File "zenmapGUI\SearchGUI.pyo", line 582, in operator_changed
  KeyError: "Syst\xc3\xa8me d'Exploitation"
The text could be different, because the error was caused by
translating a string that was also being used as an index into an
internal data structure. The string will be untranslated until that
part of the code can be rewritten.
2009-03-31 16:55:24 +00:00
david
8fef386595 Add a new generic match line for SSLv3-only servers to
nmap-service-probes. This replaces an incomplete set of specific match
lines, though a few of those have been retained where they might give
information on the OS or SSL implementation. There is also a new probe
that works against SSLv2-only servers. The patch is from Kristof
Boeynaems.
2009-03-31 16:14:14 +00:00
ron
cf73d9eb03 Fixed a bug where every host showed up as 'infected'.. oops\! 2009-03-31 15:18:03 +00:00
ron
75b44c30ac Fix for forgotten endian-modifier (caused errors on Solaris) -- Stephane Rose pointed it out 2009-03-31 15:08:33 +00:00
ron
70275c69c3 Fixed a small output bug in smb-check-vulns where it would print 'PATCHED' if an error occurred (in addition to the error message) 2009-03-31 15:04:10 +00:00
ron
f4575514af Updated Conficker detection: change some constants, better error checking for MS08-067 patch (tell the user if the system has a jury-rigged patch instead of a cryptic error) 2009-03-31 14:14:24 +00:00
david
a0f101cb5c Don't use strtok to parse the argument to --script. Because strtok
inserts null characters it was effectively truncating the option
argument value after it was done with it. So --script=a,b,c would become
--script=a in log files.
2009-03-31 04:32:38 +00:00
fyodor
eccc235d5a Increase copyright year to 2009, simplify/reword some derivative works text, and remove a confusing clause about selling proprietary front-ends to Nmap 2009-03-31 04:16:12 +00:00
david
c22a3dd23b Remove the defunct U1.RUL, U1.TOS, IE.DLI, IE.SI, and IE.TOSI tests from
nmap-os-db.
2009-03-31 02:08:35 +00:00
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