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

1275 Commits

Author SHA1 Message Date
kris
a5bf21e5db o The NSE nmap.registry.args table is now available, albeit empty, when
--script-args isn't used.  Now scripts don't need to check if it's nil
  before attempting to index it. [Kris]
2008-06-01 06:31:50 +00:00
fyodor
fda3297aaa regenerate docs 2008-06-01 05:54:22 +00:00
fyodor
998c0e3ca3 update version number 2008-06-01 05:54:08 +00:00
fyodor
6593a74fc9 Update the CHANGELOG with latest changes in prep for release (tomorrow, hopefully) 2008-06-01 05:46:47 +00:00
fyodor
ed58c3cdf7 Changed to a more international style date format for release dates, also made some misc. minor changes 2008-06-01 03:41:18 +00:00
fyodor
cdcf26d420 Win32 installer improvements:
o Our WinPcap installer now starts the NPF driver running as a
  service immediately upon installation and after restarts. You can
  disable this with new checkboxes. This behavior is important for
  Vista and Windows Server 2008 machines when User Account
  Control (UAC) is enabled. [Rob Nicholls]

o Nmap and Nmap-Winpcap silent installation now works.  Nmap can
  be silently installed with the /S option to the installer.
  If you install Nmap from the zip file, you can install just
  Winpcap silently with the /S option to that
  installer. [Rob Nicholls]

o Our WinPcap installer is now included with the Nmap Win32 zip
  file. [Fyodor]

o Numerous miscellaneous improvements were made to our Win32
  installer, such as using the "Modern" NSIS UI for WinPcap,
  improving the option description labels, and showing a finish
  page in all cases. [Rob Nicholls]
2008-06-01 03:18:35 +00:00
batrick
93492da5cb Fix to Windows define for nse_fs 2008-05-31 08:22:39 +00:00
fyodor
31ed85eca8 remove makefile.dep as part of make clean 2008-05-31 03:24:50 +00:00
fyodor
76f7cced70 change http User-Agent header value to: Mozilla/5.0 (compatible; Nmap Scripting Engine; http://nmap.org/book/nse.html) 2008-05-31 03:24:25 +00:00
fyodor
746e2872b8 expand acceptable SEQ.ISR for fingerprint which matches scanme.nmap.org 2008-05-31 03:00:27 +00:00
batrick
d0bc640db8 Large recode of nse_init.cc
Now does most of it's work through Lua:

From Nmap-dev: "Many of the changes consist of changing how Nmap interfaces
with Lua that were sometimes awkward or inflexible. Most of the functions 
have been made to be callable directly by Lua which offers many technical
advantages: stack management is alleviated, errors are handled cleanly and
are more descriptive, and there is increased reusability."

Additionally:
   -- Moved all lua_State * symbols from "l" to "L". This is to maintain
      consistency with other Lua libraries (convention) and to make our macros portable.
   -- Moved file system manipulation over to nse_fs.cc (from nse_init.cc)
2008-05-31 02:39:27 +00:00
batrick
742ff67100 Removed nse_auxiliar. Updated Script Argument parsing. Fixed typos in
documentation. Improved MySQLinfo.nse. Nsock/dnet metatabels are now
protected.
2008-05-31 02:19:24 +00:00
batrick
21a2e7aea6 Updated to Lua 5.1.3 (Bug fix release)
Updated stdnse to include tobinary, toocal, and tohex functions.
Minor optimizations to listop.lua
2008-05-31 01:43:43 +00:00
michael
6692822a34 The information pretaining to the U1.RID probe for OS scans wasnt being properly converted to/from network byte order. This has resulted in several erronious entries in nmap-os-db and the failure of OS scan to perfectly detect some hosts (most of them are printers). 2008-05-31 01:41:13 +00:00
fyodor
f90bdc0a9b o Updated to include the latest MAC Address prefixes from the IEEE in
nmap-mac-prefixes [Fyodor]
2008-05-30 21:47:20 +00:00
david
0a1eb5edbf Use the new Umit web page www.umitproject.org in the Zenmap man page. 2008-05-30 05:34:20 +00:00
fyodor
058125d006 apply some fixes by Eric Krosnes 2008-05-30 02:21:32 +00:00
fyodor
d59dcfa180 some corrections from Eric Krosnes 2008-05-29 22:05:56 +00:00
david
d3263f0f1a Fix grepable output "Ignored State" reporting. Only one ignored state (the one
with the highest numbers of ports) is output.
2008-05-29 20:05:02 +00:00
david
6992d545e1 Remove unused pingtype parameter from massping. ultra_scan gets the ping type
from o.pingtype.
2008-05-29 18:20:33 +00:00
david
ee77b71fd3 Remove some debugging code that was added in the merge from
nmap-massping-migration.
2008-05-29 14:47:05 +00:00
michael
9f1c28ad9c This patch reorganizes the way ping probes are handled internally.
Previously the ping probe data structures were stored in NmapOps,
now they will be stored in the scan_lists struct. All other changes
auxiliary to this reorganization.
2008-05-29 07:49:37 +00:00
doug
29d2b20c98 Added error message for improperly formatted port/protocol string.
Thanks to David for finding this problem.
2008-05-28 22:25:05 +00:00
michael
bbc2196eea Fixed one of the memory leaks in getpts_simple which occures when no ports are to be added to 'list'. 'porttbl' is now free'd regardless of how the function returns. 2008-05-28 20:14:44 +00:00
david
d6b1222295 Use else blocks, rather than separate if blocks, when checking for arguments to
the -P? options to better communicate the intent of the code. Also remove
braces from around some one-line calls to fatal.
2008-05-28 15:45:46 +00:00
david
a90ec1ef8a Use DEFAULT_PING_TYPES for the -PB option rather than reconstructing the
definition.
2008-05-28 15:35:23 +00:00
david
d5653dad26 Guard against providing duplicate ping options like
nmap -PA80 -PA443 target
Previously this would use 443 only, and leak a little bit of memory as the
pointer to the array containing 80 was lost. Now it gives an error

Only one -PB, -PA, or -PT option is allowed. Combine port ranges with commas.
QUITTING!
2008-05-28 15:33:05 +00:00
kris
c7eb8011d9 NSE now has a "default" category for scripts. This category holds the set
of scripts chosen from when using -sC (but it's still just another category
and so can be chosen with --script like any other).

On top of updating the docs with information about this new category, I've
also updated sections to emphasize that the "default" category, -sC and -A
are considered intrusive and should not be run against target networks
without permission.

The new list is very similar to the previous "safe,intrusive" list:

Added: finger, ircServerInfo, RealVNC_auth_bypass
Removed: HTTPpasswd

Here are the 21 scripts in this new category:

anonFTP
dns-test-open-recursion
finger
ftpbounce
HTTPAuth
HTTP_open_proxy
ircServerInfo
MSSQLm
MySQLinfo
nbstat
RealVNC_auth_bypass
robots
rpcinfo
showHTMLTitle
showOwner
SMTPcommands
SNMPsysdesr
SSHv1-support
SSLv2-support
UPnP-info
zoneTrans
2008-05-28 07:16:32 +00:00
david
94212e4df4 Change macosx/README to remove the testing changelog and be more official. 2008-05-27 23:47:47 +00:00
kris
ca5848efdb Updating ip_is_reserved(): 112/8 and 113/8 were allocated to APNIC 2008-05-27 18:31:26 +00:00
david
51c92104fd In the Mac installer, change the README resource from type "readme" to type
"welcome" so it appears in the "Introduction" section of the installer (the
"Readme" page doesn't appear anymore). Previously the Introduction page was
just a useless extra page that said "You will be guided through the steps
necessary to install this software."
2008-05-27 18:30:49 +00:00
david
69cfb4a4d9 In configure.ac, move the line
LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
out of a case statement so that it becomes the default for all systems but Mac
OS X. Previously it was in the '*' branch of the case statement, so it ran only
for systems that weren't otherwise handled. This may have caused the error
reported at http://seclists.org/nmap-dev/2008/q2/0464.html.
2008-05-27 15:59:43 +00:00
fyodor
4742ed7845 update SMTPcommands with new code from Jason which works better against Postfix and some other systems. Also, I made it less verbose and changed the ID to SMTPcommands to match the filename. 2008-05-27 07:36:05 +00:00
fyodor
fa943e8f09 citetitle tag for nmap-dev and nmap-hackers list names 2008-05-27 06:01:21 +00:00
kris
f28d91edd1 Adding a matchline for the Metasploit Framework msfd daemon. I've tested it
on the following versions (the last one is from SVN):

55554/tcp open  metasploit Metasploit Framework msfd 3.0-beta-dev
55554/tcp open  metasploit Metasploit Framework msfd 3.0
55554/tcp open  metasploit Metasploit Framework msfd 3.1-release
55554/tcp open  metasploit Metasploit Framework msfd 3.2-release
2008-05-26 17:49:16 +00:00
kris
ee876ada98 o Replaced kibuvDetection.nse with version detection match lines which
work better than the script. [Kris, Brandon]
2008-05-25 23:30:21 +00:00
fyodor
71a29d4e2d o Fixed a bug in the showOwner NSE script which caused it to try UDP
ports instead of just TCP ports.  This made it very slow in the
  common case where there are many UDP ports in the open|filtered
  state.  Thanks to Jason DePriest for reporting the problem and Jah
  for tracking it down and fixing it.
2008-05-25 01:38:48 +00:00
david
be46ec3054 Add to CHANGELOG:
o A bug was fixed that could cause Zenmap to crash when loading a
  results file that had multibyte characters in it. The error looked 
  like
    Gtk-ERROR **: file gtktextsegment.c: line 196 (_gtk_char_segment_new): assertion failed: (gtk_text_byte_begins_utf8_char (text))
2008-05-23 04:41:22 +00:00
david
e0c37613b5 Some nmap-os-db cleanup and canonicalization. 2008-05-23 04:37:56 +00:00
fyodor
779b96a197 trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db 2008-05-22 20:45:32 +00:00
fyodor
3c809730b3 update some links to new locations 2008-05-22 18:36:53 +00:00
david
48fd27a00d Announce the Mac OS X binary packages in CHANGELOG and give credit to the two
most active testers.
2008-05-22 15:05:06 +00:00
david
710003dbab Canonicalize some prints in nmap-os-db. 2008-05-22 15:03:25 +00:00
fyodor
e06491f9f7 adjusted ISC Bind named signatures to match scanme.nmap.org, which is currently running 9.3.4 2008-05-22 08:34:07 +00:00
bmenrigh
8939e86580 Added \r\n to Apache service match to try to cut down on this (very
common) warning:

Warning: Servicescan failed to fill info_template (subjectlen: 3793). 
Too long? Match string was line 3320: v/Apache httpd/$1/$2
2008-05-21 21:04:04 +00:00
david
996a8d57f3 Update macosx/README for nmap-4.62-test9. 2008-05-21 16:33:08 +00:00
kris
2b825faa17 Nmap now ships and links with OpenSSL (currently the newest 0.9.8g) on Windows.
The necessary libraries (lib and dll) and headers required for compilation and
linking are in mswin32/OpenSSL.  A detailed upgrade guide is available in
mswin32/OpenSSL/upgrade-guide.txt.

Thanks to Thomas Buchanan for doing the initial work and writing up the initial
build guide.

My openssl-testing branch has been posted on nmap-dev for 12 days and has been
tested by (at least) Thomas, Jah and I, with no reports of failure.

http://seclists.org/nmap-dev/2008/q2/0249.html
2008-05-20 20:22:50 +00:00
david
35fdfe5e01 Update macosx/README for nmap-4.62-test8. 2008-05-20 15:44:47 +00:00
david
2c38a157fa In macosx/Makefile, export CC, CPPFLAGS, CFLAGS, CXXFLAGS, and LDFLAGS to
make-bundle.sh so it can use them to build the binary authorization wrapper.
2008-05-20 15:43:58 +00:00
david
8663003c36 The NSE HTTP library now uses the host name specified on the command
line when making requests, which improves script scanning against web
servers with virtual hosts. Thanks to Sven Klemm for the patch.
2008-05-20 06:13:26 +00:00