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

3106 Commits

Author SHA1 Message Date
fyodor
ab1fa58da2 o Fixed an assertion failure which could occur on at least SPARC Linux
The error looked like "nsock_core.c:294: handle_connect_result:
  Assertion `0' failed. Aborted". [David Fifield, Fabio Pedretti]
2009-05-15 03:01:01 +00:00
fyodor
516928b07d 2009-05-14 04:40:00 +00:00
fyodor
a420fe3d4f o Improved the Oracle DB version detection signatures. [Tom Sellers] 2009-05-14 04:32:50 +00:00
jah
89dc4fca57 Improved the parsing of host expressions to handle a few cases where supplying invalid targets would cause Nmap to scan unintended hosts.
See http://seclists.org/nmap-dev/2009/q2/0319.html for more detail.
2009-05-13 09:09:55 +00:00
batrick
5855504a35 [NSE] Fixed a bug I just found where NSE would report that a --script
expression did not match files when it did. This happens when an expression
matches a set of scripts that were loaded by other expressions first. A simple
example is the same expression with different capitalization (considered
to be two different expressions):

batrick@waterdeep:~/nmap/svn/nmap$ ./nmap -d2 -v --script default,DEFAULT localhost > /dev/null
NSE: failed to initialize the script engine:
./nse_main.lua:365: 'DEFAULT' did not match a category, filename, or directory
stack traceback:
    [C]: in function 'error'
    ./nse_main.lua:365: in function 'get_chosen_scripts'
    ./nse_main.lua:498: in main chunk
    [C]: ?

QUITTING!
2009-05-13 06:39:50 +00:00
batrick
4c7e2ee53e Removed some locals that are no longer being used in nse_main.lua. 2009-05-13 05:48:57 +00:00
batrick
38c850e8db Fixed a typo. 2009-05-13 05:22:50 +00:00
fyodor
a325732a30 rebuild man page from latest refguide source 2009-05-13 02:22:50 +00:00
fyodor
355f14aff8 sort nmap-os-db 2009-05-13 02:22:38 +00:00
fyodor
5792af0a9c slight rephrase 2009-05-13 02:13:54 +00:00
fyodor
be9c7bf7ad Tentatively done with CHANGELOG updates for 4.85BETA9 release 2009-05-13 02:12:07 +00:00
fyodor
aeed0c814e Ncat could print more in verbose mode about ssl certificates 2009-05-13 02:02:07 +00:00
david
1798450b93 Document Boolean operators for script selection in refguide.xml. (Mostly
copied from scripting.xml.)
2009-05-13 01:47:12 +00:00
fyodor
0c28544135 This path was changed in svn, so I might as well change on my filesystem too 2009-05-13 01:32:34 +00:00
david
4692fdc184 Fix typo in CHANGELOG. 2009-05-13 01:11:29 +00:00
fyodor
5ba8735231 Update version numbers in prep for next release; also made some CHANGELOG edits (not done with those yet though) 2009-05-13 01:03:35 +00:00
david
26361a4642 Remove the claim that XML output is not supported from "ndiff -h". That
was left over from when the output was being redesigned.
2009-05-13 00:41:55 +00:00
david
e5d21d371e Oops, don't print the program name twice when reporting an option
parsing error.
2009-05-13 00:40:38 +00:00
david
67c34404f2 Print the "Try -h for help" message when there's an option error in
addition to the error message getopt prints.
2009-05-13 00:39:40 +00:00
jah
e8f696571e Improved a couple of indents which I messed-up in the last commit. 2009-05-12 23:36:40 +00:00
jah
66fc9a039e Fixed some whitespace anomalies. 2009-05-12 22:59:33 +00:00
david
316c21e2e4 Don't call math.ceil on script runlevels; allow them to be
floating-point.
2009-05-12 21:50:35 +00:00
david
7903fc92bf Assign SEQ.CI a MatchPoints value of 50. 2009-05-12 21:36:05 +00:00
fyodor
677c732cfa TODO changes from meeting w/David 2009-05-12 21:24:37 +00:00
david
4308302f7d Update the error message shown when attempting to scan an interface
address on Solaris. The Solaris error message was
	/dev/lo: No such file or directory
but apparently it can also be
	lo0: No DLPI device found
Also changed the message to say that it can happen when scanning any
interface address, not just localhost. The new error message was lately
reported by Dom De Vitto.

http://seclists.org/nmap-dev/2006/q2/0127.html
http://seclists.org/nmap-dev/2009/q1/0853.html
2009-05-11 22:31:48 +00:00
david
50a29893f2 Fix a couple of erroneous device types in nmap-os-db. 2009-05-10 04:31:59 +00:00
david
ff45745635 Add all 50 OS corrections. 2009-05-10 04:23:10 +00:00
david
f2266da109 The last 350 OS submissions. 2009-05-10 03:45:49 +00:00
david
51fee8e73e Another 400 OS submissions. 2009-05-09 22:22:41 +00:00
david
0bffda7525 Add the results of 400 OS submissions. 2009-05-09 17:21:32 +00:00
fyodor
0732eb4587 add Ncat newline issue noted by Jah 2009-05-09 03:46:13 +00:00
david
c6a739f1b5 Use a thread instead of fork to allow running the HTTP proxy on Windows. 2009-05-09 03:24:52 +00:00
david
801c3628a4 Remove the Zenmap command wizard. The profile editor has always been a
better interface with tabs instead of a linear sequence of pages. The
ability to run a scan from the editor was the one thing the command
wizard could do that the profile editor couldn't, but now it can do that
too.
2009-05-08 15:00:55 +00:00
david
6ad02f6509 Merge from /nmap-exp/david/ncat-ssl. This adds automatic generation of
temporary SSL keys and certificates in Ncat's listen mode.
2009-05-08 06:11:18 +00:00
fyodor
72cf4acd25 Changes from IRC NSE discussion with David, Patrick, Jaoa, and myself 2009-05-08 02:31:09 +00:00
david
5a522c647f Add a spinning progress throbber to Zenmap that animates while a scan is
running.
2009-05-06 20:32:30 +00:00
batrick
b32881993a [NSE] Significantly shortend hextobin function for packet module. 2009-05-06 08:32:59 +00:00
fyodor
b32ff0f98c 2009-05-06 05:44:45 +00:00
fyodor
4f3abca824 TODO changes from discussion with David 2009-05-05 22:04:46 +00:00
david
bee956bf44 Make the NSE "Usage Examples" conform to the style used in the rest of
the section. Rename the subsection "Complete Examples" because there are
already a lot of other partial examples. Add some indexterms.
2009-05-05 18:10:07 +00:00
david
089f3628fa Overhaul the "Usage and Examples" section of scripting.xml for better
exposition. Add lots more examples.
2009-05-05 17:52:11 +00:00
david
d4eafba473 Fix a compiler warning. 2009-05-04 23:25:46 +00:00
david
5c222c6965 Also increment o.numhosts_scanned during ping and list scan. 2009-05-04 23:23:50 +00:00
david
fac82a011b Only increment o.numhosts_scanned when we have truly finished scanning a
host, which means that it is either found down or else all
port/script/traceroute/etc. scanning is finished. In r12798 I made it be
updated as soon as DNS resolution happened, to make the status display
"X undergoing Ping Scan" accurate. However the main loop also uses this
variable to count how many addresses have been generated so it knows
when to stop scanning random addresses. If -iR was used, only the first
hostgroup out of all the random addresses would be fully scanned and
then the scan would end. This change fixes that and also makes the
output more like it was pre-r12798; for example, if you had done name
resolution on 1024 hosts with --max-hostgroup 8, and had found the 8th
up host at the 280th one pinged, the output was
Stats: 0:00:29 elapsed; 1016 hosts completed (8 up), 8 undergoing Connect Scan
and is now
Stats: 0:00:29 elapsed; 272 hosts completed (8 up), 8 undergoing Connect Scan
2009-05-04 22:59:35 +00:00
david
51e7f1f4f9 Make hexify in nse_nsock.cc take an unsigned char * to work around an assertion
in Visual C++ in Debug mode. The isprint, isalpha, etc. functions from ctype.h
have an assertion that the value of the character passed in is <= 255. If you
pass a character whose value is >= 128, it is cast to an unsigned int, making
it a large positive number and failing the assertion. This is the same thing
that was reported in http://seclists.org/nmap-dev/2007/q2/0257.html, in regard
to non-ASCII characters in nmap-mac-prefixes.
2009-05-04 17:57:27 +00:00
daniel
ed77fa1e48 o [Ncat] When using --send-only, Ncat will now close the network
connection and terminate after receiving EOF on standard input.
  [Daniel Roethlisberger]
2009-05-04 07:04:53 +00:00
batrick
061eace2db Fixed the redundant log message during compilation:
echo Compiling Nmap
Compiling Nmap

to

Compiling Nmap

:)
2009-05-04 07:02:18 +00:00
david
4816c7880e Fix misleading indentation in nse_nsock.cc. 2009-05-03 22:09:25 +00:00
jah
d757338fa2 Fix http.table_augment which was preventing user-supplied HTTP headers from
being sent in HTTP requests.
2009-05-03 19:03:53 +00:00
fyodor
e286a8fdfa Some changes made during SoC NSE meeting 2009-05-03 04:34:33 +00:00