1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 07:29:01 +00:00
Commit Graph

2789 Commits

Author SHA1 Message Date
kris
5436c891fc o Fixed an integer overflow which prevented a target specification
of "*.*.*.*" from working.  Support for the CIDR /0 is now also
  available. [Kris]


A sendto() or connect() to IPv4 addresses with a first octet of 0
(excluding 0.0.0.0 on some OS's) returns EINVAL.  These addresses
are reserved for "self-identification" and should never go over the
wire (and at least on Linux a connect() to 0.0.0.0 gets redirected
to 127.0.0.1).  I'm talking with Fyodor on whether or not to skip
*all* of these addresses.
2008-06-03 19:25:16 +00:00
david
91d5eb45a5 Remove an FEFF byte order mark from the beginning of CHANGELOG. 2008-06-03 18:58:39 +00:00
kris
939a38d918 fixing the date/order in the CHANGELOG--new changes go above the last release 2008-06-03 18:35:09 +00:00
michael
9f64691427 On windows, the --iflist option was not reporting correct windevice values and not displaying all ethernet devices if the user had interface aliases set up. Now all Windevice values and interface device ID's will be properly linked together. 2008-06-03 18:05:45 +00:00
michael
c20b232ebc Updating the CHANGELOG for my previous patch. 2008-06-03 16:26:00 +00:00
fyodor
729aa1c6ab remove a remark - I'm not sure what it means 2008-06-03 02:37:21 +00:00
batrick
2cea96ea2b Minor change to Kris' change to make nmap.registry.args always available.
Avoided using strdup() although it's minor.
2008-06-03 02:17:10 +00:00
david
ec3d31ad7a Ignore the directories Debug and Release in mswin32. 2008-06-02 18:53:53 +00:00
fyodor
9d09f722cd sorting 2008-06-02 00:40:41 +00:00
fyodor
4ada795952 slight reorg 2008-06-02 00:40:24 +00:00
kris
32e8249c80 Upgrading shipped mswin32 OpenSSL headers and libraries to newest 0.9.8h (thanks to Jah for noticing the new release) 2008-06-01 15:09:17 +00:00
fyodor
7026766335 more tweaking 2008-06-01 07:04:54 +00:00
fyodor
bcf92751b9 minor improvements to CHANGELOG 2008-06-01 06:59:59 +00:00
fyodor
7df6406b4b slight reformat and fix a typo 2008-06-01 06:56:09 +00:00
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